{ "info": { "author": "Alexander Todorov", "author_email": "atodorov@nospam.dif.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: System", "Topic :: System :: Monitoring", "Topic :: System :: Systems Administration" ], "description": "Difio registration agent for stand-alone Python virtualenv\napplications.\n\nIt compiles a list of locally installed Python packages and sends it to\nhttp://www.dif.io.\n\n\nInstalling inside your virtualenv\n---------------------------------\n\n* Create an account at http://www.dif.io\n\n* Activate your virtualenv\n\n * if you're using ``virtualenvwrapper`` then simply::\n\n workon myapp\n\n * if you're not using ``virtualenvwrapper`` then something like this will work::\n\n cd ~/.virtualenvs/myapp/\n source bin/activate\n\n* Install this package\n\n::\n\n pip install difio-virtualenv-python\n\n* Create a script which will contain your configuration values and register the application with Difio when executed. It should look something like this:\n\n::\n\n #!/bin/bash\n export DIFIO_USER_ID=YourUserID\n export DIFIO_UUID=APP-UUID\n $VIRTUAL_ENV/bin/difio-virtualenv-python\n\n**NOTE**:\n * You can find your Difio userID at https://difio-otb.rhcloud.com/profiles/mine/.\n * Replace ``APP-UUID`` with a unique value, for example generated by the ``uuidgen`` program!\n\n* Make this script executable\n\n::\n\n chmod a+x $VIRTUAL_ENV/path/to/registration_script\n\n* If you wish, you can configure ``$VIRTUAL_ENV/bin/postactivate`` hook to call the registration script every time when the virtualenv is activated\n\n::\n\n echo \"\\$VIRTUAL_ENV/path/to/registration_script\" >> $VIRTUAL_ENV/bin/postactivate\n chmod a+x $VIRTUAL_ENV/bin/postactivate\n\n\n* Execute the registration script to register the application. \n\n::\n\n $VIRTUAL_ENV/path/to/registration_script\n\n**NOTE**: You will have to do this every time when you install/remove or upgrade packages in the virtualenv.\nOptionally you can configure a cron job to do this automatically.\n\n* If everything goes well you should see something like:\n\n::\n\n Difio: Success, registered/updated application with uuid 7a99f652-977a-477a-b35c-1d8e60478425\n\nThat's it, you can now check your application statistics at\nhttp://www.dif.io\n\n\nNotes\n-----\n\n* Difio will use the basepath of your virtualenv as the application name. To override use environment variable ``DIFIO_APP_NAME``;\n* Package ``virtualenv`` will also be added to the list of installed packages if you have created your virtualenv with ``--system-site-packages`` option. Otherwise use environment variable ``DIFIO_VIRTUALENV_VERSION`` to override;\n* Application type is \"python\" followed by the interpreter version;\n* Application URL is the system hostname prepended with http://. To override use environment variable ``DIFIO_APP_URL`` including the protocol string.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/difio/difio-virtualenv-python", "keywords": "virtualenv,difio,updates", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "difio-virtualenv-python", "package_url": "https://pypi.org/project/difio-virtualenv-python/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/difio-virtualenv-python/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/difio/difio-virtualenv-python" }, "release_url": "https://pypi.org/project/difio-virtualenv-python/3.1.1/", "requires_dist": null, "requires_python": null, "summary": "Difio registration agent for stand-alone Python virtualenv applications", "version": "3.1.1" }, "last_serial": 1172861, "releases": { "2.0": [ { "comment_text": "", "digests": { "md5": "a95c037f0dd61067eafb4a47c265ddaa", "sha256": "27ff75ec7646cf25eff133a63c3b99822c1a313134c327b243cc834a04639ba2" }, "downloads": -1, "filename": "difio-virtualenv-python-2.0.tar.gz", "has_sig": false, "md5_digest": "a95c037f0dd61067eafb4a47c265ddaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3767, "upload_time": "2012-07-10T15:31:10", "url": "https://files.pythonhosted.org/packages/aa/97/cde8dc923044a4b9d6962741dce91580b7ca9b2e737b25911c188c269d39/difio-virtualenv-python-2.0.tar.gz" } ], "3.1": [ { "comment_text": "", "digests": { "md5": "3deeb2a54d8db3e5cd143439a6777cc6", "sha256": "59e11f00d19f3345c6339fae2d9391ea05bf21db0444725694558872e160db78" }, "downloads": -1, "filename": "difio-virtualenv-python-3.1.tar.gz", "has_sig": false, "md5_digest": "3deeb2a54d8db3e5cd143439a6777cc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3917, "upload_time": "2014-07-29T10:33:20", "url": "https://files.pythonhosted.org/packages/2d/f2/591a8899ec0d1627671ec3d18e27612760d006e200496dc251a3d8a5f628/difio-virtualenv-python-3.1.tar.gz" } ], "3.1.1": [ { "comment_text": "", "digests": { "md5": "408a0f0e40d91ff97496fbdb9cca807f", "sha256": "f92750906d2fa73df14674e464bf1f9d595f1a2796719fe48979dd1d36251cbe" }, "downloads": -1, "filename": "difio-virtualenv-python-3.1.1.tar.gz", "has_sig": false, "md5_digest": "408a0f0e40d91ff97496fbdb9cca807f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3903, "upload_time": "2014-07-29T10:34:18", "url": "https://files.pythonhosted.org/packages/03/44/34bf83b5b9e1788d19f7313d11152433a3e551f1bda3fc475c76bdf68e8b/difio-virtualenv-python-3.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "408a0f0e40d91ff97496fbdb9cca807f", "sha256": "f92750906d2fa73df14674e464bf1f9d595f1a2796719fe48979dd1d36251cbe" }, "downloads": -1, "filename": "difio-virtualenv-python-3.1.1.tar.gz", "has_sig": false, "md5_digest": "408a0f0e40d91ff97496fbdb9cca807f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3903, "upload_time": "2014-07-29T10:34:18", "url": "https://files.pythonhosted.org/packages/03/44/34bf83b5b9e1788d19f7313d11152433a3e551f1bda3fc475c76bdf68e8b/difio-virtualenv-python-3.1.1.tar.gz" } ] }