Skip to main content

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)

Source distribution for aig 0.1
File Size Uploaded
aig-0.1.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aig 0.1
File Interpreter ABI Platform
aig-0.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page