{ "info": { "author": "Andrew Cutler", "author_email": "andrew@adlibre.com.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: System :: Software Distribution", "Topic :: Utilities" ], "description": "Python Bureaucrat\n=================\n\n|Build Status| |PyPI version|\n\nThe *Procfile* & *Deployfile* process manager for Python Virtual\nEnvironments.\n\nBureaucrat provides support for *Deployfile* based deployment task\nmanagement. A *Deployfile* is basically a *Procfile* by another name. It\nis used to define the deployment commands for your project and spawn the\nprocesses required to run it.\n\n*Deployfile* commands must be idempotent.\n\nIf you're using `Docker `__ then you might find this\nuseful to automate your container builds.\n\nInstallation\n------------\n\nInstall from `PyPI `__ with:\n\n::\n\n pip install bureaucrat\n\nOr install from source with:\n\n::\n\n pip install git+https://github.com/adlibre/python-bureaucrat.git#egg=bureaucrat \n\nConfig\n------\n\nTo use Bureaucrat you will need to create a\n`Procfile `__,\nDeployfile and\n`.env `__\nfile in your virtual env root.\n\nSample *Procfile*\n~~~~~~~~~~~~~~~~~\n\nThe following will spawn a single gunicorn web process.\n\n::\n\n web: gunicorn project.wsgi:application --workers $WORKERS --log-file $LOGFILE --bind 0.0.0.0:$PORT --timeout 300\n\nSample *Deployfile*\n~~~~~~~~~~~~~~~~~~~\n\nThe following is suitable for deploying a Django application.\n\n::\n\n pip: pip install -r requirements.txt\n migrate: manage.py migrate --noinput\n collectstatic: manage.py collectstatic --noinput\n\nSample *.env*\n~~~~~~~~~~~~~\n\n::\n\n WORKERS=4\n LOGFILE=/var/log/django-project.log\n PORT=8000\n\nUsage\n-----\n\nBasic options are *start*, *stop*, *restart*, *deploy* and *init*.\n\n::\n\n usage: Bureaucrat [-h] {start,stop,restart,deploy,init} ...\n\n Bureaucrat - the Procfile & Deployfile manager for Python Virtual Environments\n\n positional arguments:\n {start,stop,restart,deploy,init}\n start Starts Procfile processes\n stop Stops Procfile processes\n restart Restarts Procfile processes\n deploy Run tasks in Deployfile\n init Run Deployfile tasks and then start Procfile processes\n in foreground\n\n optional arguments:\n -h, --help show this help message and exit\n\nStart / Stop / Restart Arguments\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAdditional arguments for specifying a custom location for ``Procfile``,\n``.env`` and log files.\n\n::\n\n usage: Bureaucrat start [-h] [--venv VENV] [--app APP] [--procfile PROCFILE]\n [--envfile ENVFILE] [--logpath LOGPATH]\n [--pidpath PIDPATH]\n [process [process ...]]\n\n positional arguments:\n process Procfile Process Name\n\n optional arguments:\n -h, --help show this help message and exit\n --venv VENV Virtualenv root\n --app APP Application root\n --procfile PROCFILE Procfile path\n --envfile ENVFILE .env file path\n --logpath LOGPATH log file path\n --pidpath PIDPATH pid file path\n\nExample:\n\n::\n\n $ bureaucrat start\n Spawning web: gunicorn project.wsgi:application --log-file log/gunicorn.$LOGFILE --bind unix:run/gunicorn.sock\n\nDeploy Arguments\n~~~~~~~~~~~~~~~~\n\n::\n\n usage: Bureaucrat deploy [-h] [--venv VENV] [--app APP]\n [--deployfile DEPLOYFILE] [--envfile ENVFILE]\n [--logpath LOGPATH]\n\n optional arguments:\n -h, --help show this help message and exit\n --venv VENV Virtualenv root\n --app APP Application root\n --deployfile DEPLOYFILE\n Deployfile path\n --envfile ENVFILE .env file path\n --logpath LOGPATH log file path\n\nExample:\n\n::\n\n $ bureaucrat deploy\n Running task syncdb: manage.py syncdb --noinput\n Running task migrate: manage.py migrate --noinput\n Running task collectstatic: manage.py collectstatic --noinput\n\nStatus\n------\n\nThis used by `Panubo `__ to support Python\nenvironments.\n\n.. |Build Status| image:: https://travis-ci.org/adlibre/python-bureaucrat.svg?branch=master\n :target: https://travis-ci.org/adlibre/python-bureaucrat\n.. |PyPI version| image:: https://badge.fury.io/py/bureaucrat.svg\n :target: https://pypi.python.org/pypi/bureaucrat/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/adlibre/python-bureaucrat/archive/v0.3.6.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adlibre/python-bureaucrat", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "bureaucrat", "package_url": "https://pypi.org/project/bureaucrat/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bureaucrat/", "project_urls": { "Download": "https://github.com/adlibre/python-bureaucrat/archive/v0.3.6.tar.gz", "Homepage": "https://github.com/adlibre/python-bureaucrat" }, "release_url": "https://pypi.org/project/bureaucrat/0.3.6/", "requires_dist": null, "requires_python": null, "summary": "Procfile and Deployfile process manager for Python virtual environments", "version": "0.3.6" }, "last_serial": 1780816, "releases": { "0.2.9": [ { "comment_text": "", "digests": { "md5": "74b3dccfab64c3b21d484a8746d257d7", "sha256": "545cd057ddd4a9cd59dcc98f99116958d42a8409f757580d4aa4bc2ada61c049" }, "downloads": -1, "filename": "bureaucrat-0.2.9.tar.gz", "has_sig": false, "md5_digest": "74b3dccfab64c3b21d484a8746d257d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7465, "upload_time": "2014-09-22T04:46:56", "url": "https://files.pythonhosted.org/packages/b1/36/16e831704c836a72aeb11cd409ee939f02f5142e80b7846045e1d14b8734/bureaucrat-0.2.9.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "564a360be214dea3b52e16e74b875362", "sha256": "7a2c5fbbfc578d79d77ecfac7fd66ed428f448a4c811bc2743f2cd64956d9415" }, "downloads": -1, "filename": "bureaucrat-0.3.0.tar.gz", "has_sig": false, "md5_digest": "564a360be214dea3b52e16e74b875362", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7722, "upload_time": "2014-09-23T00:28:02", "url": "https://files.pythonhosted.org/packages/ad/1d/9931fdb6105de9d5b988823266da85b6293c1e71165d7fdffe50c5e5d7b9/bureaucrat-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "2c7f280fe360e63f55d0bea3fe435dcb", "sha256": "163ecf1d1dc0b8fee2cdf6a6750490263553f152fadc290df856ba90c59f894d" }, "downloads": -1, "filename": "bureaucrat-0.3.1.tar.gz", "has_sig": false, "md5_digest": "2c7f280fe360e63f55d0bea3fe435dcb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7715, "upload_time": "2015-03-10T03:02:39", "url": "https://files.pythonhosted.org/packages/b3/fb/afa80980c8737e3059c66977f29adc926ba2043a477dfb5a420d7c063657/bureaucrat-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "8ce9a95d3fda9d95efc5be4271162c07", "sha256": "af71a80963093fa8215fca3a2c2f1ab272f3bffeeea8b57c7900cf45e73c5189" }, "downloads": -1, "filename": "bureaucrat-0.3.2.tar.gz", "has_sig": false, "md5_digest": "8ce9a95d3fda9d95efc5be4271162c07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7787, "upload_time": "2015-03-19T04:21:41", "url": "https://files.pythonhosted.org/packages/7c/c3/beab9d807f3bb887bf7e94d77d11c50a4be8d058834b13f86193fca4ae33/bureaucrat-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "b02669c910d3f31e8000715bc50a2030", "sha256": "d36d9dc0ade73c1ad9eb66a97e22668c7028aedf82b31d39d0bdd1e0421be255" }, "downloads": -1, "filename": "bureaucrat-0.3.3.tar.gz", "has_sig": false, "md5_digest": "b02669c910d3f31e8000715bc50a2030", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7796, "upload_time": "2015-03-19T10:08:37", "url": "https://files.pythonhosted.org/packages/62/23/854b7c04ddec8625892ad0fb6ce5f3de1139aed6a913d72de12d8435a5bc/bureaucrat-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "ee7508adb4dfaec08ac6384b0c35de11", "sha256": "db1cd6932126b0c7cdcd3ea07f330e2f4049b93c3c2dd4db538e0f6f5d95597f" }, "downloads": -1, "filename": "bureaucrat-0.3.4.tar.gz", "has_sig": false, "md5_digest": "ee7508adb4dfaec08ac6384b0c35de11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7924, "upload_time": "2015-06-04T03:50:17", "url": "https://files.pythonhosted.org/packages/06/b1/6d8e9d020067a0d4bd1fa9b3bf8f637c4cc3d65b5e1f4df7d55e7f02ebd0/bureaucrat-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "b079a0d8f20a4cacf4bcde98b986cfad", "sha256": "e3b7915be9d5f706cbeb9a590d7867e940558bf7b92e9c2f497f79172e78943a" }, "downloads": -1, "filename": "bureaucrat-0.3.5.tar.gz", "has_sig": false, "md5_digest": "b079a0d8f20a4cacf4bcde98b986cfad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8152, "upload_time": "2015-06-30T00:37:56", "url": "https://files.pythonhosted.org/packages/c3/94/e7546497343efae41a0b8ecb45308ecbdd62810d61db2d1fc6e41005cade/bureaucrat-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "dbfaee6128b342b1acb768904bc5a928", "sha256": "2d29890e8c96d606c14776ce5d12dbdd3a7502821dcb270180ac9e4056acd4b2" }, "downloads": -1, "filename": "bureaucrat-0.3.6.tar.gz", "has_sig": false, "md5_digest": "dbfaee6128b342b1acb768904bc5a928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8121, "upload_time": "2015-10-22T01:53:00", "url": "https://files.pythonhosted.org/packages/e8/08/49b6682d8b0f3af36efe734dee3d22aa3d06b85b9d5d58db8aa1f991597b/bureaucrat-0.3.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dbfaee6128b342b1acb768904bc5a928", "sha256": "2d29890e8c96d606c14776ce5d12dbdd3a7502821dcb270180ac9e4056acd4b2" }, "downloads": -1, "filename": "bureaucrat-0.3.6.tar.gz", "has_sig": false, "md5_digest": "dbfaee6128b342b1acb768904bc5a928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8121, "upload_time": "2015-10-22T01:53:00", "url": "https://files.pythonhosted.org/packages/e8/08/49b6682d8b0f3af36efe734dee3d22aa3d06b85b9d5d58db8aa1f991597b/bureaucrat-0.3.6.tar.gz" } ] }