twine - utility for interacting with PyPI

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe i386
Package name twine
Package version 1.5.0
Package release 1
Package architecture all
Package type deb
Installed size 150 B
Download size 21.01 KB
Official Mirror
Twine is a tool for uploading distributions (in the Python meaning) to PyPi.
Why should twine be used over the traditional approach?
The biggest reason to use twine is that python upload uploads files
over plaintext. This means anytime you use it you expose your username and
password to a MITM attack. Twine uses only verified TLS to upload to PyPI
protecting your credentials from theft.
Secondly it allows you to precreate your distribution files. python
upload only allows you to upload something that you’ve created in the same
command invocation. This means that you cannot test the exact file you’re
going to upload to PyPI to ensure that it works before uploading it.
Finally it allows you to pre-sign your files and pass the .asc files into the
command line invocation (twine upload twine-1.0.1.tar.gz
twine-1.0.1.tar.gz.asc). This enables you to be assured that you’re typing
your gpg passphrase into gpg itself and not anything else since you will be
the one directly executing gpg --detach-sign -a <filename>.
- Verified HTTPS Connections
- Uploading doesn’t require executing
- Uploading files that have already been created, allowing testing of
distributions before release
- Supports uploading any packaging format (including wheels).


Package Version Architecture Repository
twine_1.5.0-1_all.deb 1.5.0 all Ubuntu Universe
twine - - -


Name Value
python3 -
python3-pkg-resources -
python3-pkginfo -
python3-requests -
python3:any >= 3.3.2-2~


Type URL
Binary Package twine_1.5.0-1_all.deb
Source Package twine

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install twine deb package:
    # sudo apt-get install twine




2015-07-21 - Zygmunt Krynicki <>
twine (1.5.0-1) unstable; urgency=medium
* New upstream release
* debian/watch: use the new pypi redirector
* debian/copyright: update with new authors
* debian/manpages: remove the automatically-generated manual page until
upstream has some documentation. This is also tracked upstream as 
* debian/lintian-overrides: add an override for the lower-case 'python' used
in the long description as a code example.
2014-04-20 - Zygmunt Krynicki <>
twine (1.3.1-1) unstable; urgency=medium
* Initial release. (Closes: #745342)

See Also

Package Description
twinkle_1.9.0+dfsg-3_i386.deb Voice over Internet Protocol (VoIP) SIP Phone
twitter-recess_1.1.9-1_all.deb code quality tool for CSS built on top of LESS
twittering-mode_3.0.0-1_all.deb Twitter client for Emacs
twm_1.0.9-1ubuntu1_i386.deb Tab window manager
twms_0.05t-2_all.deb tiny web map service
twoftpd-run_1.42-1_all.deb a simple secure efficient FTP server
twoftpd_1.42-1_i386.deb a simple secure efficient FTP server (programs)
twolame_0.3.13-1.2_i386.deb MPEG Audio Layer 2 encoder (command line frontend)
tworld-data_1.3.2-2_all.deb Chip's Challenge Game Engine Emulation - level data files
tworld_1.3.2-2_i386.deb Chip's Challenge Game Engine Emulation
twpsk_4.1-1_i386.deb Soundcard-based X program for operating PSK31
txt2html_2.51-1_all.deb Text to HTML converter
txt2man_1.5.6-3_all.deb convert flat ASCII text to manpage format
txt2pdbdoc_1.4.4-6_i386.deb convert plain text files to Palm DOC (for PalmOS) and back
txt2regex_0.8-4_all.deb A Regular Expression "wizard", all written with bash2 builtins