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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for monupco-virtualenv-python-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a023de086443acb7225ade3c1d48f7937ca816e3f2d81b5f1b83b1bf132508fb
MD5 f5db0f07d66b98c44f0d5a7ac15e51f1
BLAKE2b-256 dc3a110108237665141d24f662d3db28691f42ceea77e9409fa092058c509f84

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