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 use 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.2.tar.gz (3.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for monupco-virtualenv-python-0.2.2.tar.gz
Algorithm Hash digest
SHA256 03f8a4b791ba75cb4906eac3b66635ca2ef569636761898763283dbcf45aed13
MD5 0d72f4b6b61a94ebd0b849c7de92fe99
BLAKE2b-256 4216b22b6759e2a53aa8f632bdd4b422350718e24be873c4a7b2191e11e97461

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