This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


Ballsy is a GitHub release tarball signing tool. It tries to promote signing of the automatically generated release tarballs on GitHub with developer’s OpenPGP keys. Usually that would involve:

  • pushing a tag
  • navigating to the GitHub web page and creating a release
  • downloading their tarball
  • signing the tarball
  • uploading the detached ASCII signature to the release page as an asset

(And then redo this for the ZIP file…) The Debian wiki has a good set of instructions for this.

Most of us probably wouldn’t bother doing this. This software automates this job by taking care of the necessary steps as outlined above.

Additional features:

  • Automatic conversion from tags to releases
  • Selective signing of ZIPs/tarballs
  • Automatic target repo selection based on current directory


$ pip install ballsy


You’ll need to log in to GitHub once:

$ ballsy login

which will ask for your user credentials, and then obtain a token for future logins (stored in ~/.ballsyrc). 2FA by phone is supported.

After logging in, signing is as easy as:

$ ballsy sign v2.0

to sign the release v2.0 in the GitHub repo pointed to by the origin remote in the current directory (which is the default). Other targets can easily be specified:

$ ballsy sign --remote home v2.0
$ ballsy sign --repo foobar/otherrepo v2.0

By default, the key specified in Git’s user.signingkey property is used, but this can be overridden using the --keyid option.

If you don’t usually use releases on GitHub, just tags, it is possible to automatically prepare a release given a tag (--include-tags). This also works when specifying multiple tags:

$ ballsy sign --include-tags v1.0 v1.2 v2.0

Please see ballsy --help and ballsy sign --help for more options.


At the moment you have to trust GitHub not to alter the contents of the tarballs when preparing a release. Future versions of ballsy will verify the contents of the downloaded tarballs against the local content corresponding to given tags.


2-clause BSD, see LICENSE.txt

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ballsy-0.1.0.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Jul 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting