A tiny example Python library with a CLI
Project description
thangdemo
A tiny example Python library for demonstration. Provides a couple of utility functions and a CLI.
Installation
pip install thangdemo
Usage
from thangdemo import add, mean
print(add(2, 3)) # 5
print(mean([1, 2])) # 1.5
CLI
thangdemo-cli 7
# prints: 49
Development
- Run tests:
pytest -q - Build:
python -m build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thangdemo-0.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file thangdemo-0.1.0.tar.gz.
File metadata
- Download URL: thangdemo-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69018a487684ff9ecbd8a7221a411103a2e946b6e5f0014c6d639a84cc842d28
|
|
| MD5 |
fb1356274dbfd23757f9aed248073ba6
|
|
| BLAKE2b-256 |
26b3f4072df316a55a73b72dd9ab4c744f6f759745daa27b474c3a39ebf438d7
|
File details
Details for the file thangdemo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: thangdemo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aebb499179d66e629ee9abdb5ee8d786ebb13bb7f175d053bb7c2b11cc05df3
|
|
| MD5 |
263856e15d6341624054bf0ac3d6e678
|
|
| BLAKE2b-256 |
d193cce5bf4031ec64f4c7f26b65f59c5c87993d698e6eaab24b2e5f3b669059
|