aig
一个简单的 Python 示例包,用于演示 Python 项目打包。
安装
pip install aig
使用方法
from aig.example import add_one, multiply_by_two
# 给数字加一
result = add_one(5) # 返回 6
# 给数字乘以二
result = multiply_by_two(4) # 返回 8
功能
add_one(number): 给指定数字加一multiply_by_two(number): 给指定数字乘以二
开发
本项目使用标准的 Python 包管理工具进行构建和分发。
构建包
python -m build
安装开发版本
pip install -e .
许可证
MIT License
Metadata
Release files for aig 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aig-0.1.tar.gz | 2.2 kB | Without provenance | Details for aig-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aig-0.1-py3-none-any.whl | Python 3 | none | any | Details for aig-0.1-py3-none-any.whl |
Total release size: 4.8 kB
Release files / aig-0.1.tar.gz
| Download URL | aig-0.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
341ea56fd070dd6cd8e6b7fa3446c426bfbbe246db5ce71ab29ab0c8a158b4e1
|
|
BLAKE2b-256 checksum How to use checksums |
122e096e0ce4f989302f810ab6ad3ac9b131b38ad7fa629699a20cba567c1b76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / aig-0.1-py3-none-any.whl
| Download URL | aig-0.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb778d63a4541190f95275d19aa1005044b3277468539978165edd22fba7c627
|
|
BLAKE2b-256 checksum How to use checksums |
51e784263c43cd7bd3ee96001c6d09a090489e6c993985f8a6559f5e653e5c84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for aig 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.