{ "info": { "author": "David Thenon", "author_email": "dthenon@emencia.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. _buildout: http://www.buildout.org/\n.. _pip: http://www.pip-installer.org/\n.. _virtualenv: http://www.virtualenv.org/\n.. _Gestus: https://github.com/sveetch/Gestus\n.. _nap: https://github.com/kimmobrunfeldt/nap\n\n**Gestus-client** is the REST client to retrieve and push data on a `Gestus`_ app. It is currently only working with eggs installation like in a `buildout`_ project.\n\nInstall\n=======\n\nRequire\n*******\n\n* `nap`_ >= 1.0.0;\n* pkginfo >= 1.2b1;\n* argparse == 1.2.1;\n* argcomplete == 0.8.0;\n* argh == 0.24.1;\n\nAlso this client rely on ``pkg_resources`` that comes from Distribute, but Distribute is not registered in required packages in the ``setup.py`` because it is embedded within PIP that is ofent allready installed on your system. So if the script complain about to import ``pkg_resources``, you will have to install PIP or Distribute.\n\nPIP version\n-----------\n\n`nap`_ requires ``PIP >= 1.4``. You will have to update it if you have an exception like this during installation : ::\n\n AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex'\n An error occurred when trying to install nap 1.0.1. Look above this message for any errors that were output by easy_install.\n While:\n Installing eggedpy.\n Getting distribution for 'nap>=1.0.0'.\n Error: Couldn't install: nap 1.0.1\n\nThe simpliest method to resolve this is to simply update `pip`_ in your virtual environment to the last version : ::\n\n pip install --upgrade pip\n\nUsage\n=====\n\nThe client can register a new website environment or update an allready existing environment.\n\nDuring the register or update action, if the eggs directory is given it will be scanned to search for installed eggs, a list of finded eggs will be sended to the service.\n\nWebsite environment's datas can be setted either from the command line arguments or from a config file. If a config file is used it will be used to fill the default datas to send and you can overrides them with the command line arguments. \n\nSo if in the Config file you setted the ``user`` option to ``ping`` and set this option to ``pong`` in the command line args, the used value will be ``pong``.\n\n\nConfig\n******\n\nThe client can be used directly, but you should create a ``gestus.cfg`` file in your project to avoid to put arguments on the command line.\n\nThe file format is like ``*.INI`` file, here is a full example : ::\n\n [Gestus]\n user = your username\n password = your password\n host = service url\n name = website name\n url = environment url\n env = environment name\n eggs = eggs directory\n server = website hostname\n\nAvailable options are :\n\n* **user**: the username to connect to the service;\n* **password**: the password to connect to the service;\n* **host**: the service's url (http/https);\n* **name**: the website project name;\n* **url**: the environment url where the project is attempted to be published;\n* **env**: the environment kind name (``integration`` or ``production``);\n* **eggs**: the path to eggs directory to scan;\n* **server**: the website hostname;\n\nThere are all optionnal to register a new environment. But to update an allready existing environment you will need at least two additional options :\n\n* website_id = the website's ID as it has been registered on the Gestus service;\n* environment_id = the environment's ID as it has been registered on the Gestus service;\n\nYou don't really have to take care about these optionnal options because they will be automatically retrieved and stored on the first register.\n\nConfig saving\n-------------\n\nNote that a Config file is automatically saved at the end of a register or update action, you can disable this using the ``passive`` argument : ::\n\n gestus --passive\n\nElse the default behavior is to save a ``gestus.cfg`` file in the current directory, you can set another filename and path with ``config`` argument : ::\n\n gestus --config /home/foo/bar/my-gestus-config.cfg\n\nSo if you have multiple site to support in a single project, allways use a specific config file for each site.\n\nRegister a new website environment\n==================================\n\nThis will only register a new environment, you can't update an allready existing website environment datas from this command.\n\n gestus register\n\nIf the website environment allready exists, the register command will get its datas and saving in a config file, then it will send again the egg list, this is the only thing that can be updated from this command.\n\nIf it does not exist, it will create it, then send the egg list and save returned datas in the config file.\n\nWarning : You have to maintain a clean install for your eggs, the Gestus client will ensure to allways use the last egg version of a same package, so if you installed a last version for some tests and got back to a previous one for any reason, the client will even though register the last one because it don't know about the one you effectively use. So take care to this and clean your installed eggs when you have made some package testing in your environment.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/Gestus-client", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "Gestus-client", "package_url": "https://pypi.org/project/Gestus-client/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Gestus-client/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/Gestus-client" }, "release_url": "https://pypi.org/project/Gestus-client/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "REST client to retrieve and push data on a Gestus service", "version": "0.3.1" }, "last_serial": 1170442, "releases": { "0.0.5": [ { "comment_text": "", "digests": { "md5": "342588ca792c8c162a1c6deed6aad146", "sha256": "fc5c0b998cbab9bb89186a1e36bbd775e316a5d1169110b78c905fca731aaf11" }, "downloads": -1, "filename": "Gestus-client-0.0.5.tar.gz", "has_sig": false, "md5_digest": "342588ca792c8c162a1c6deed6aad146", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11935, "upload_time": "2014-04-28T01:48:41", "url": "https://files.pythonhosted.org/packages/8d/0a/0a64553772506a148c5a55d8ba2c1bd0d2948b367341cd9b26abc0635dc0/Gestus-client-0.0.5.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "6c2d5d3c78faf1885efd9bec62805f31", "sha256": "d7ba66f878b5b8993686e2dd97232027e1c04c5b8bdf90b0d38a4c53e8db96b4" }, "downloads": -1, "filename": "Gestus-client-0.1.tar.gz", "has_sig": false, "md5_digest": "6c2d5d3c78faf1885efd9bec62805f31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12184, "upload_time": "2014-06-14T15:30:55", "url": "https://files.pythonhosted.org/packages/d8/47/2271133b97944529fbfb6eb6c827c47c4bcf805a4895910b194d7020dad1/Gestus-client-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b7908bd614dcaab15b36e50757273356", "sha256": "6cecf2db4591df3cc33a46c7d76230f7e5fc63d72d26ea024f165ed55761ea14" }, "downloads": -1, "filename": "Gestus-client-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b7908bd614dcaab15b36e50757273356", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12099, "upload_time": "2014-06-14T23:20:06", "url": "https://files.pythonhosted.org/packages/10/7b/516100ccfae81c4d9fb3d4bf26624f3994db1f2c741c24a0036bb0e16985/Gestus-client-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d0497fab79fca07b9833940e5450d8f7", "sha256": "05462ec3f255a314bd5ceb90fd60c7f05d2f956921004aae22cbc2b53f5ad1e4" }, "downloads": -1, "filename": "Gestus-client-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d0497fab79fca07b9833940e5450d8f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12312, "upload_time": "2014-06-15T10:07:36", "url": "https://files.pythonhosted.org/packages/0c/8f/e178aebb0bac10afc483874863a522239e6abc17fd8edd776d20771bf2f7/Gestus-client-0.1.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c0e6e8db6fb047a3142826f090f0af42", "sha256": "0d3c3f324ed070d6e450a9e8125b9fe8d178c3ed47c48a0eeaa596c81a4c081a" }, "downloads": -1, "filename": "Gestus-client-0.2.tar.gz", "has_sig": false, "md5_digest": "c0e6e8db6fb047a3142826f090f0af42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12442, "upload_time": "2014-07-14T15:20:09", "url": "https://files.pythonhosted.org/packages/f0/30/af6336db2579b876e53afea05cb5936d2b6e330d0efd40bd7d6669e6420e/Gestus-client-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4b86e0195343b70cd3a074cde77dda87", "sha256": "821be6910e9a2add44f231a3e5a6f3e490542438483b2b3889c80d5e26c51a76" }, "downloads": -1, "filename": "Gestus-client-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4b86e0195343b70cd3a074cde77dda87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12831, "upload_time": "2014-07-19T11:30:35", "url": "https://files.pythonhosted.org/packages/0d/27/608b7f54e84d00bab843f01aad2b97137f7bd9a950e77c129f081dfbce35/Gestus-client-0.2.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e24b30842b39a2ec8d0e1cf0b48863e2", "sha256": "4d6700fb99624e68e280ee1a0678801c399a514f2ae13db34bd828ca47282e3d" }, "downloads": -1, "filename": "Gestus-client-0.3.tar.gz", "has_sig": false, "md5_digest": "e24b30842b39a2ec8d0e1cf0b48863e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13633, "upload_time": "2014-07-24T18:10:27", "url": "https://files.pythonhosted.org/packages/07/02/d032605fd1a1c8af4287eceb4a2c6ca533225a4565f16d91e8c98adadca4/Gestus-client-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "d8575731cc7d80f7c9e09c9b16c9a0f6", "sha256": "81683ef2092bd92aafc4c6d8f3f14794fd287829cb3675ea34416089d4c74bda" }, "downloads": -1, "filename": "Gestus-client-0.3.1.tar.gz", "has_sig": false, "md5_digest": "d8575731cc7d80f7c9e09c9b16c9a0f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14435, "upload_time": "2014-07-27T01:49:07", "url": "https://files.pythonhosted.org/packages/c8/d7/3c72c05a7e2fc702b54ebf87fab338dd8970b90fc908c1d5262ecbc0a73a/Gestus-client-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8575731cc7d80f7c9e09c9b16c9a0f6", "sha256": "81683ef2092bd92aafc4c6d8f3f14794fd287829cb3675ea34416089d4c74bda" }, "downloads": -1, "filename": "Gestus-client-0.3.1.tar.gz", "has_sig": false, "md5_digest": "d8575731cc7d80f7c9e09c9b16c9a0f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14435, "upload_time": "2014-07-27T01:49:07", "url": "https://files.pythonhosted.org/packages/c8/d7/3c72c05a7e2fc702b54ebf87fab338dd8970b90fc908c1d5262ecbc0a73a/Gestus-client-0.3.1.tar.gz" } ] }