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 hashes)

Uploaded Source

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