Skip to main content

A simple example package

Project description

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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aig-0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aig-0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file aig-0.1.tar.gz.

File metadata

  • Download URL: aig-0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for aig-0.1.tar.gz
Algorithm Hash digest
SHA256 341ea56fd070dd6cd8e6b7fa3446c426bfbbe246db5ce71ab29ab0c8a158b4e1
MD5 9c2c1301986df0fd9a051bb249ca86e0
BLAKE2b-256 122e096e0ce4f989302f810ab6ad3ac9b131b38ad7fa629699a20cba567c1b76

See more details on using hashes here.

File details

Details for the file aig-0.1-py3-none-any.whl.

File metadata

  • Download URL: aig-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for aig-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb778d63a4541190f95275d19aa1005044b3277468539978165edd22fba7c627
MD5 f5f1123fa7fe23b8ca63fa0766990672
BLAKE2b-256 51e784263c43cd7bd3ee96001c6d09a090489e6c993985f8a6559f5e653e5c84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page