Skip to main content

Difio registration agent for Heroku / Python applications

Project description

Difio registration agent for Heroku / Python applications.

It compiles a list of locally installed Python packages and sends it to <http://www.dif.io>.

Installing on your Heroku application

Create an account at <http://www.dif.io>

Create a Python application on Heroku

Add a dependency in your requirements.txt file

echo 'difio-heroku-python' >> requirements.txt

Set the following environment variables on Heroku

heroku config:set DIFIO_USER_ID=YourUserID
heroku config:set DIFIO_APP_NAME=MyApplication
heroku config:set DIFIO_APP_URL=http://myapp.herokuapp.com

Then commit and push your application to Heroku

git commit -a -m "added dependency on Difio"
git push heroku master

Execute the registration script to submit the information to Difio

heroku run /app/.heroku/venv/bin/difio-heroku-python
Running `/app/.heroku/venv/bin/difio-heroku-python` attached to terminal... up, run.1
Success, registered/updated application 8370e3be-6e54-462d-9ca9-224301c29a1d

That’s it, you can now check your application statistics at <http://www.dif.io>

Updating your requirements.txt

Whenever you change your requirements.txt file to include new dependencies or upgrade/downgrade package versions you should re-submit the information to Difio.

heroku run /app/.heroku/venv/bin/difio-heroku-python

Project details


Download files

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

Source Distribution

difio-heroku-python-1.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file difio-heroku-python-1.1.tar.gz.

File metadata

File hashes

Hashes for difio-heroku-python-1.1.tar.gz
Algorithm Hash digest
SHA256 fcefcce110dcb4c76ed94631e1404ebff26e37f1e3aea7734c5cffd77ff5f1c7
MD5 52fe6de4b15bf6b749cae373e1703317
BLAKE2b-256 d0e29a1abc948bb6baf4f5f7416cddccf380ea6b3679bf45dc4716793e199711

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page