Skip to main content

clarmy02

clarmy02

download

如何开发一个开源的 Python 扩展包

基本步骤

  1. 本地功能调通
  2. 添加测试用例
$ pytest ./tests/
  1. 测试本地安装成功
$ python setup.py install && python -c "import clarmy02"
  1. 构建、上传到 pypi.org
$ rm -rf ./dist
$ python setup.py sdist
$ twine upload dist/*
  1. 测试用 pip 从 pypi.org 安装自己的包
$ pip install -i https://pypi.org/simple/ clarmy02==0.0.1
  1. 构建、上传到 anaconda.org 编写 meta.yaml,定义元信息。
$ conda build .
$ anaconda upload <path>

Metadata

Release files for clarmy02 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clarmy02 0.0.6
File Size Uploaded
clarmy02-0.0.6.tar.gz 2.8 kB Details

Release files / clarmy02-0.0.6.tar.gz

Download URL clarmy02-0.0.6.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c8e5b25764c9da006052c9862a9dd19d14460cee0b83c800e5908ddabb3eba42
BLAKE2b-256 checksum
How to use checksums
b826dd5a4f5ee1bbfdaf1f4fa8f0c645ee6c9c40db95792b32c9cdc99d37ea8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.15

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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