A simple example package using src layout (brainTest)
Project description
brain-test
一个使用 src 布局的示例包,包名为 brain_test,用于演示打包与发布到 PyPI 的最小结构。
安装
pip install brain-test
使用
from brain_test import greet
print(greet("World"))
或使用示例模块:
from brain_test.example import add
print(add(2, 3)) # 5
开发
- Python: 3.8+
- 构建工具: Hatchling
构建命令:
python -m build
发布命令:
python -m twine upload dist/*
许可证
本项目采用 MIT 协议,详见 LICENSE。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
charlietest-0.1.1.tar.gz
(3.3 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 charlietest-0.1.1.tar.gz.
File metadata
- Download URL: charlietest-0.1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
928c8f3e8a190fa11b6f8d3d50a159da42304ea11cffd4111fdd8f5fe5d0a658
|
|
| MD5 |
cbc281001d54702ea6e710f1eb5b96dc
|
|
| BLAKE2b-256 |
31e9512e7937235e0030bb274b9277e5d83123bb2da07c5702357e7fe543d4c3
|
File details
Details for the file charlietest-0.1.1-py3-none-any.whl.
File metadata
- Download URL: charlietest-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
607c79cecf34fe4bf53d2b1304d264c855747e4ec82303be345862af46783bbb
|
|
| MD5 |
286ca3d9ee2cbf312d723a881deb096b
|
|
| BLAKE2b-256 |
b378ebb4404973c9f22abe91b8a8561394401d88f6abc32af3632f581a656c01
|