abc-library 0.1.0__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.
@@ -0,0 +1,6 @@
1
+ """Public package interface for abc_library."""
2
+
3
+ from .module1 import add
4
+ from .module2 import subtract
5
+
6
+ __all__ = ["add", "subtract"]
abc_library/module1.py ADDED
@@ -0,0 +1,9 @@
1
+ """Basic arithmetic helpers."""
2
+
3
+
4
+ def add(a, b):
5
+ """Return the sum of two numbers."""
6
+ return a + b
7
+
8
+
9
+ __all__ = ["add"]
abc_library/module2.py ADDED
@@ -0,0 +1,9 @@
1
+ """Additional arithmetic helpers."""
2
+
3
+
4
+ def subtract(a, b):
5
+ """Return the difference between two numbers."""
6
+ return a - b
7
+
8
+
9
+ __all__ = ["subtract"]
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.4
2
+ Name: abc-library
3
+ Version: 0.1.0
4
+ Summary: A simple Python library
5
+ Home-page: https://github.com/wsc33332f/abc
6
+ Author: Hikauiro
7
+ Author-email: Hikauiro <email@example.com>
8
+ Requires-Python: >=3.6
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Dynamic: author
12
+ Dynamic: home-page
13
+ Dynamic: license-file
14
+ Dynamic: requires-python
15
+
16
+ # abc
17
+
18
+ A small Python library for basic arithmetic helpers.
19
+
20
+ ## Installation
21
+
22
+ ```bash
23
+ python -m pip install -e .
24
+ ```
25
+
26
+ ## Usage
27
+
28
+ ```python
29
+ from abc_library import add, subtract
30
+
31
+ print(add(2, 3)) # 5
32
+ print(subtract(5, 2)) # 3
33
+ ```
34
+
35
+ ## Validation
36
+
37
+ ```bash
38
+ python -m pytest -q
39
+ ```
@@ -0,0 +1,8 @@
1
+ abc_library/__init__.py,sha256=UVastM8GrNBIWqo_vBqpuEttwrptlc1rz3senaGAlpM,134
2
+ abc_library/module1.py,sha256=XZjpaHvWl4d8Pe0CPudb-_4oKcPtbPnQcQcQ81yg_H4,126
3
+ abc_library/module2.py,sha256=qEL-4dKCag4AfcgGUhDIefu_xaUuXnM4Q6t8PYQjCdk,153
4
+ abc_library-0.1.0.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ abc_library-0.1.0.dist-info/METADATA,sha256=NINFr27Nnv9o2rDCbY5opROUCVwyve5cMJU_KxwSZt0,643
6
+ abc_library-0.1.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
7
+ abc_library-0.1.0.dist-info/top_level.txt,sha256=Tw_Jclm0Tu9qN5hsgxSiMO4xN5_Et1CBSYfCX8R8Mn4,12
8
+ abc_library-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
File without changes
@@ -0,0 +1 @@
1
+ abc_library