Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Polls the API until a package filename is found.

Project Description



packagecloud-poll repeatedly polls the API, looking for a specific package filename to appear. It is intended to be used in continuous integration/continuous deployment pipelines, where we want to block something until we are sure a package has been uploaded and is available before continuing onwards.


pip install packagecloud-poll


You must set a PACKAGECLOUD_TOKEN environment variable before you can run packagecloud-poll. See the packagecloud API documentation for instructions on how to generate a token.

export PACKAGECLOUD_TOKEN=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef


Sample invocation:

packagecloud-poll --user my_user --repo my_repo_name --type deb --distro ubuntu --distro_version precise --arch amd64 --pkg_name myorg-stuff --filename myorg-stuff_v5.3_precise_amd64.deb

Run packagecloud-poll --help for detailed help.

Developing creates the packagecloud-poll command. When running from source, execute instead.

./ --help

Release History


  • Add new param --page_interval. Controls how long to sleep between requests when paginating through packagecloud API results.


  • Initial release

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.7 kB) Copy SHA256 Hash SHA256
Source None Mar 8, 2016

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting