Skip to main content

monupco.com registration agent for stand-alone Python virtualenv applications

Project description

monupco.com registration agent for stand-alone Python virtualenv applications.

It compiles a list of locally installed Python packages and sends it to monupco.com.

Installing inside your virtualenv

Create an account at <http://monupco.com>

Activate your virtualenv

workon myapp

Install this package

pip install monupco-virtualenv-python

Configure $VIRTUAL_ENV/bin/postactivate hook to contain your Monupco userID (https://monupco-otb.rhcloud.com/profiles/mine/), unique identifier for this application and a call to the registration script.

echo "export MONUPCO_USER_ID=YourUserID"          >> $VIRTUAL_ENV/bin/postactivate
echo "export MONUPCO_UUID=`uuidgen`"              >> $VIRTUAL_ENV/bin/postactivate
echo "\$VIRTUAL_ENV/bin/monupco-virtualenv-python" >> $VIRTUAL_ENV/bin/postactivate

Activate your virtualenv again so that changes take place.

workon myapp

If everything goes well you should see something like:

Monupco: Success, registered/updated application with id 49

That’s it, you can now check your application statistics at <http://monupco.com>

Notes

  • Monupco will try to user your virtualenv name as the application name;

  • Application type is “python” followed by the interpreter version;

  • Application URL is the system hostname prepended with http:// which could be incorrect.

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

monupco-virtualenv-python-0.2.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file monupco-virtualenv-python-0.2.tar.gz.

File metadata

File hashes

Hashes for monupco-virtualenv-python-0.2.tar.gz
Algorithm Hash digest
SHA256 f01f0b6d461c0a378a01f8df11835a3cc8fb41b740d100cb277d73cabf1443e4
MD5 e6530a424a923573389e2a48da5bd2ac
BLAKE2b-256 cd45a375e78baf282942f31b85fa84dba26dee83b245f8ef90efabd9b570b758

See more details on using hashes here.

Provenance

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