dkh 0.1.3__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.
dkh/__init__.py ADDED
@@ -0,0 +1,12 @@
1
+ """
2
+ BSO SDK - A placeholder Python package.
3
+ """
4
+
5
+ from dkh.example import hello_world, add
6
+
7
+ __version__ = "0.1.3"
8
+ __author__ = "BSO Team"
9
+ __email__ = "team@bso.example.com"
10
+
11
+ __all__ = ["hello_world", "add"]
12
+
dkh/example.py ADDED
@@ -0,0 +1,28 @@
1
+ """
2
+ Example module for the BSO SDK placeholder package.
3
+ """
4
+
5
+
6
+ def hello_world() -> str:
7
+ """
8
+ Returns a greeting message.
9
+
10
+ Returns:
11
+ str: A greeting message
12
+ """
13
+ return "Hello from BSO SDK!"
14
+
15
+
16
+ def add(a: int, b: int) -> int:
17
+ """
18
+ Adds two numbers together.
19
+
20
+ Args:
21
+ a: First number
22
+ b: Second number
23
+
24
+ Returns:
25
+ int: Sum of a and b
26
+ """
27
+ return a + b
28
+
@@ -0,0 +1,105 @@
1
+ Metadata-Version: 2.4
2
+ Name: dkh
3
+ Version: 0.1.3
4
+ Summary: A placeholder Python SDK package for BSO
5
+ Author-email: BSO Team <team@bso.example.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/yourorg/bso
8
+ Project-URL: Documentation, https://github.com/yourorg/bso#readme
9
+ Project-URL: Repository, https://github.com/yourorg/bso
10
+ Project-URL: Issues, https://github.com/yourorg/bso/issues
11
+ Keywords: sdk,bso,placeholder
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Requires-Python: >=3.8
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Provides-Extra: dev
25
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
26
+ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
27
+ Requires-Dist: black>=23.0.0; extra == "dev"
28
+ Requires-Dist: mypy>=1.0.0; extra == "dev"
29
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
30
+ Dynamic: license-file
31
+
32
+ # BSO SDK
33
+
34
+ A placeholder Python SDK package for BSO.
35
+
36
+ ## Installation
37
+
38
+ ```bash
39
+ pip install bso
40
+ ```
41
+
42
+ ## Usage
43
+
44
+ ```python
45
+ from bso import hello_world, add
46
+
47
+ # Say hello
48
+ print(hello_world())
49
+
50
+ # Add numbers
51
+ result = add(2, 3)
52
+ print(result) # Output: 5
53
+ ```
54
+
55
+ ## Development
56
+
57
+ To set up a development environment:
58
+
59
+ ```bash
60
+ # Clone the repository
61
+ git clone https://github.com/yourorg/bso.git
62
+ cd bso
63
+
64
+ # Install in development mode with dev dependencies
65
+ pip install -e ".[dev]"
66
+
67
+ # Run tests
68
+ pytest
69
+
70
+ # Format code
71
+ black .
72
+
73
+ # Type check
74
+ mypy bso
75
+ ```
76
+
77
+ ## Building and Publishing
78
+
79
+ To build the package:
80
+
81
+ ```bash
82
+ python -m build
83
+ ```
84
+
85
+ To publish to PyPI:
86
+
87
+ ```bash
88
+ # First, install build tools
89
+ pip install build twine
90
+
91
+ # Build the package
92
+ python -m build
93
+
94
+ # Upload to PyPI (test first with testpypi)
95
+ twine upload dist/*
96
+ ```
97
+
98
+ ## License
99
+
100
+ MIT License - see LICENSE file for details.
101
+
102
+ ## Contributing
103
+
104
+ Contributions are welcome! Please feel free to submit a Pull Request.
105
+
@@ -0,0 +1,7 @@
1
+ dkh/__init__.py,sha256=ZYUqxwCIsImWpkgRdMPCBUgNMnGCm_745sqibqgA06o,207
2
+ dkh/example.py,sha256=FDLZDn2fl2v4KgNl27Az4_na_jHXM_Ls2ZZGkfJ3p_U,432
3
+ dkh-0.1.3.dist-info/licenses/LICENSE,sha256=lGqYPRu3lleJvt_BTHICb4whSbxbeVCu-5rzCi0ZbUo,1066
4
+ dkh-0.1.3.dist-info/METADATA,sha256=18k8RVTGhUV-7cPc8lp14ZmTbafi3oaqgkyxykk4sxM,2166
5
+ dkh-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ dkh-0.1.3.dist-info/top_level.txt,sha256=m-WZM44ciLXTsNiw1bnJXOZ_7zsX-pEn8ww5iqVa3z8,4
7
+ dkh-0.1.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 BSO Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
@@ -0,0 +1 @@
1
+ dkh