bakefile 0.0.2__py3-none-any.whl

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/__init__.py ADDED
File without changes
bakefile/hello.py ADDED
@@ -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
+ )
bakefile/py.typed ADDED
File without changes
@@ -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
@@ -0,0 +1,6 @@
1
+ bakefile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ bakefile/hello.py,sha256=5LswkAzN4mokkp5iuETANV6B8xm660TvuD2_tTuqznw,803
3
+ bakefile/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ bakefile-0.0.2.dist-info/WHEEL,sha256=ZyFSCYkV2BrxH6-HRVRg3R9Fo7MALzer9KiPYqNxSbo,79
5
+ bakefile-0.0.2.dist-info/METADATA,sha256=9uQCi38zO0jf_Q0QrGI9-arvwLb8VHTHNMvGo1bjSpM,288
6
+ bakefile-0.0.2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.9.18
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any