Skip to main content

一个极简的 PyPI 教程包

Project description

hello-pypi-demo

一个极简的 PyPI 教程包,用于学习 Python 包的构建与发布流程。

安装

uv add hello-pypi-demo

使用

from hello_pypi import hello

print(hello())          # Hello, World!
print(hello("Python"))  # Hello, Python!

开发

# 构建
uv build

# 发布到 PyPI(需要 API Token)
uv publish --token <your-api-token>

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

xiaoming_hello_pypi-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

xiaoming_hello_pypi-0.1.0-py3-none-any.whl (1.4 kB view details)

Uploaded Python 3

File details

Details for the file xiaoming_hello_pypi-0.1.0.tar.gz.

File metadata

  • Download URL: xiaoming_hello_pypi-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for xiaoming_hello_pypi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e70ca27c676da319e216a256afa78a3dacead8aba02002a804356505b20b9c7b
MD5 ff1866b4d792a7bc29a79c10041ab408
BLAKE2b-256 c614c909acd9cf813d447a5b4249866a3628e55b8c75bd723a64673e339ad8f2

See more details on using hashes here.

File details

Details for the file xiaoming_hello_pypi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xiaoming_hello_pypi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for xiaoming_hello_pypi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aee60a63e6ad1bc71b2826115da2b41abe078b08c04773c3ff31d5adeeddd48b
MD5 244ffcc113c96f17cb11866edf999e35
BLAKE2b-256 435ba6167f70d38417f2ba277cdc6503ac18aa5cab799e240e1a3f33d1fee55b

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