From 9cd982d8356ef2986cbfa678d3e7880171762b4a Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Thu, 12 Sep 2024 12:49:09 +0300 Subject: [PATCH] Initial commit --- .gitignore | 10 ++++++++++ .python-version | 1 + README.md | 3 +++ pyproject.toml | 22 ++++++++++++++++++++++ src/bunyan_formatter/__init__.py | 2 ++ 5 files changed, 38 insertions(+) create mode 100644 .gitignore create mode 100644 .python-version create mode 100644 README.md create mode 100644 pyproject.toml create mode 100644 src/bunyan_formatter/__init__.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae8554d --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# python generated files +__pycache__/ +*.py[oc] +build/ +dist/ +wheels/ +*.egg-info + +# venv +.venv diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..d9506ce --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12.5 diff --git a/README.md b/README.md new file mode 100644 index 0000000..184060e --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# bunyan-formatter + +Describe your project here. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d16f17f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[project] +name = "bunyan-formatter" +version = "0.1.0" +description = "Bunyan Formatter for Python" +dependencies = [] +readme = "README.md" +requires-python = ">= 3.8" +authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.rye] +managed = true +dev-dependencies = [] + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["src/bunyan_formatter"] diff --git a/src/bunyan_formatter/__init__.py b/src/bunyan_formatter/__init__.py new file mode 100644 index 0000000..e58bafb --- /dev/null +++ b/src/bunyan_formatter/__init__.py @@ -0,0 +1,2 @@ +def hello() -> str: + return "Hello from bunyan-formatter!"