Skip to main content

A small example package

Project description

介绍

这是一个简单的python包的教程,用于展示如何创建一个python包。

packaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── src/
│   └── example_package_YOUR_USERNAME_HERE/
│       ├── __init__.py
│       └── example.py
└── tests/

步骤

1. 打包

python3 -m build

将会生成dist文件夹,包括:xxx.version.tar.gzxxx-py2-none-any.whl

2. 上传

twine upload dist/example_package_sundebin-0.0.1-py3-none-any.whl

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

example_package_sundebin-0.0.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file example_package_sundebin-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for example_package_sundebin-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 926e1f724a06eaeaa1de75963e9d78df4d34c7f82e2d992a897e5081d249991f
MD5 1ef673069877ef4901a0182a240e6f35
BLAKE2b-256 258fb8bace022d83c312d8fc5f22ca74f7307c96e2ea0ba01b7da8eb6e79e4db

See more details on using hashes here.

Supported by

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