bakefile 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
bakefile-0.0.2/PKG-INFO
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: bakefile
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Add your description here
|
|
5
|
+
Author: Wisaroot Lertthaweedech
|
|
6
|
+
Author-email: Wisaroot Lertthaweedech <l.wisaroot@gmail.com>
|
|
7
|
+
Requires-Dist: pydantic>=2.12.5
|
|
8
|
+
Requires-Python: >=3.11
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# bakefile
|
bakefile-0.0.2/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# bakefile
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "bakefile"
|
|
3
|
+
version = "0.0.2"
|
|
4
|
+
description = "Add your description here"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [
|
|
7
|
+
{name = "Wisaroot Lertthaweedech", email = "l.wisaroot@gmail.com"}
|
|
8
|
+
]
|
|
9
|
+
requires-python = ">=3.11"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"pydantic>=2.12.5"
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[dependency-groups]
|
|
15
|
+
dev = [
|
|
16
|
+
"pre-commit>=4.5.1",
|
|
17
|
+
"pytest-cov>=7.0.0",
|
|
18
|
+
"pytest>=9.0.2",
|
|
19
|
+
"ruff>=0.14.10",
|
|
20
|
+
"toml-sort>=0.24.3",
|
|
21
|
+
"ty>=0.0.5"
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[build-system]
|
|
25
|
+
requires = ["uv_build>=0.9.18,<0.10.0"]
|
|
26
|
+
build-backend = "uv_build"
|
|
27
|
+
|
|
28
|
+
[tool.ruff.lint]
|
|
29
|
+
select = [
|
|
30
|
+
"ARG",
|
|
31
|
+
"B", # bugbear
|
|
32
|
+
"B9",
|
|
33
|
+
"C4", # flake8-comprehensions
|
|
34
|
+
"E", # pycodestyle (error)
|
|
35
|
+
"F", # pyflakes
|
|
36
|
+
"I", # isort
|
|
37
|
+
"PGH", # pygrep-hooks
|
|
38
|
+
"PIE", # flake8-pie
|
|
39
|
+
"PYI", # flake8-pyi
|
|
40
|
+
"RUF",
|
|
41
|
+
"SIM", # flake8-simplify
|
|
42
|
+
"UP" # pyupgrade
|
|
43
|
+
]
|
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
from datetime import datetime
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class GreetingMessage(pydantic.BaseModel):
|
|
9
|
+
message: str
|
|
10
|
+
timestamp: datetime
|
|
11
|
+
python_version: str
|
|
12
|
+
directory: str
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def hello(test_test: None = None) -> str:
|
|
16
|
+
_ = test_test
|
|
17
|
+
current_time = datetime.now()
|
|
18
|
+
current_dir = str(Path.cwd())
|
|
19
|
+
python_version = f"{sys.version_info.major}.{sys.version_info.minor}"
|
|
20
|
+
|
|
21
|
+
greeting = GreetingMessage(
|
|
22
|
+
message="Hello from bakefile!",
|
|
23
|
+
timestamp=current_time,
|
|
24
|
+
python_version=python_version,
|
|
25
|
+
directory=current_dir,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
f"{greeting.message}\n"
|
|
30
|
+
f"Current time: {greeting.timestamp}\n"
|
|
31
|
+
f"Current directory: {greeting.directory}\n"
|
|
32
|
+
f"Python version: {greeting.python_version}"
|
|
33
|
+
)
|
|
File without changes
|