{ "info": { "author": "Miko\u0142aj Siedlarek", "author_email": "msiedlarek@nctz.net", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "circus-env-modifier\n===================\n\nA simple Mozilla Circus hook for preparing process execution environment\nwith external script or program.\n\nEver wanted to load environment variables from a shell script instead\nof putting them in the Circus configuration? Now you can.\n\nInstallation\n------------\n\n $ pip install circus-env-modifier\n\nUsage example\n-------------\n\ncircus.ini:\n\n [watcher:myprocess]\n cmd = /usr/bin/mydaemon\n hooks.before_spawn = circus_env_modifier.before_spawn\n env_modification_command = . /opt/variables.sh\n\n [env:myprocess]\n APP_PATH=/opt/application\n\n/opt/variables.sh:\n\n export DATABASE_USER=foo\n export DATABASE_PASSWORD=bar\n export DATA_PATH=$APP_PATH/data\n\nLicense\n-------\n\nCopyright 2014 Miko\u0142aj Siedlarek \n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/msiedlarek/circus-env-modifier", "keywords": "mozilla circus hook environment env script command", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "circus-env-modifier", "package_url": "https://pypi.org/project/circus-env-modifier/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/circus-env-modifier/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/msiedlarek/circus-env-modifier" }, "release_url": "https://pypi.org/project/circus-env-modifier/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Mozilla Circus hook for modifying environment with an external command.", "version": "0.1.1" }, "last_serial": 1050220, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "54b310f462998210c07863e94d114f51", "sha256": "02b5810755190245efe0543ef7f9104964ff15efe96b7f89b0485b15879d6c0a" }, "downloads": -1, "filename": "circus-env-modifier-0.1.0.tar.gz", "has_sig": true, "md5_digest": "54b310f462998210c07863e94d114f51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2350, "upload_time": "2014-01-25T19:11:49", "url": "https://files.pythonhosted.org/packages/20/cc/8823e871a9fd98a78b06bfe4280825743b5d99949af782846c69f7a6d877/circus-env-modifier-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5b4348486ea13ecc6d97bfdae46ec64a", "sha256": "7ceffcd67767b24ca86e22294378fb9e2120b2c50a7c149ca9acbe1083516192" }, "downloads": -1, "filename": "circus-env-modifier-0.1.1.tar.gz", "has_sig": true, "md5_digest": "5b4348486ea13ecc6d97bfdae46ec64a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2394, "upload_time": "2014-04-03T13:39:59", "url": "https://files.pythonhosted.org/packages/b2/80/81de5a34ccac3570a5930f781519623523c132576d4d97fa9b8eab98b935/circus-env-modifier-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5b4348486ea13ecc6d97bfdae46ec64a", "sha256": "7ceffcd67767b24ca86e22294378fb9e2120b2c50a7c149ca9acbe1083516192" }, "downloads": -1, "filename": "circus-env-modifier-0.1.1.tar.gz", "has_sig": true, "md5_digest": "5b4348486ea13ecc6d97bfdae46ec64a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2394, "upload_time": "2014-04-03T13:39:59", "url": "https://files.pythonhosted.org/packages/b2/80/81de5a34ccac3570a5930f781519623523c132576d4d97fa9b8eab98b935/circus-env-modifier-0.1.1.tar.gz" } ] }