Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tool for publishing a Python package to PyPI from a GitHub Release

License

NotificationsYou must be signed in to change notification settings

ietf-tools/pypi-publish

PYPI PUBLISH

ReleaseLicensenpmnode-current

Tool for publishing a Python package to PyPI from a GitHub Release

This tool is a CLI which provides the following automation:

  • Fetch the list of available repositories and releases
  • Download the latest build of a Python package
  • Install Twine(if not already installed)
  • Sign and publish the package to PyPI (or TestPyPI)

Requirements

This tool assumes that you have the signing key used to sign Python packages already configured on your system. It will be used when publishing the package to PyPI.

Usage

Install the@ietf-tools/pypi-publish NPM package globally using:

npm install -g @ietf-tools/pypi-publish

Then run(from any location):

pypi-publish

Enter the necessary info as prompted.

CLI Arguments(optional)

These arguments can also be passed to the CLI to automate values and bypass the questions. All arguments are optional.

ShortLongDescription
-t TARGET--target=TARGETTarget PyPI repository [pypi,testpypi]
-a TOKEN--token=TOKENPyPI API Token
-i IDENTITY--identity=IDENTITYGPG identity to use for package signing
-p PROJECT--project=PROJECTGitHub project (repository) to publish from
-r RELEASE--release=RELEASEGitHub release to publish
--python-path=PATHPath to Python executable
-h--helpDisplay usage + help message and exit
-v--versionDisplay CLI version and exit

License

BSD-3-Clause

About

Tool for publishing a Python package to PyPI from a GitHub Release

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp