{ "info": { "author": "Corentin Chary", "author_email": "corentin.chary@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# flacon\n\n[![Build Status](https://travis-ci.org/iksaif/flacon.svg?branch=master)](https://travis-ci.org/iksaif/flacon)\n[![Coverage Status](https://coveralls.io/repos/github/iksaif/flacon/badge.svg)](https://coveralls.io/github/iksaif/flacon?branch=master)\n[![PyPI version](https://badge.fury.io/py/flacon.svg)](https://badge.fury.io/py/flacon)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/flacon.svg)](https://pypi.python.org/pypi/flacon/)\n\nFlask(-Twisted/Gunicorn) microframework for microservices with Prometheus and Sentry support.\n\nThe goal is to remove most of the boilerplate necessary to start a simple HTTP application.\nThis provides:\n\n* Sane arguments (`--host`, `--port`, `--debug`, `--log-level`)\n* Support to have a production ready uwsgi container (`--twisted` or `--gunicorn`)\n* Prometheus support with default metrics (`flacon.metrics`: See [prometheus_flask_exporter](https://github.com/rycus86/prometheus_flask_exporter))\n* Optional sentry support if the `SENTRY_DSN` env var is set.\n* If you have a 'static' directory in your module, just put a favicon.ico inside!\n\n## Installation\n\n```bash\npip install flacon\n\n# To use a production ready wsgi server install one of the following extra requirements\npip install flacon[twisted]\npip install flacon[gunicorn]\n```\n\n## Quick-start\n\n```python\nfrom flacon import Flacon\n\nflacon = Flacon(__name__)\napp = flacon.app # This is a flask.Flask() app.\n\n@app.route('/example')\ndef index():\n return 'Example'\n\ndef main():\n flacon.run()\n\nif __name__ == '__main__':\n main()\n```\n\nWant to know more? Look at [example/app.py](example/app.py), you can run it with `flacon-example`.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/criteo/flacon/", "keywords": "flask twisted gunicorn microframework microservice prometheus sentry", "license": "Apache 2", "maintainer": "", "maintainer_email": "", "name": "flacon", "package_url": "https://pypi.org/project/flacon/", "platform": "", "project_url": "https://pypi.org/project/flacon/", "project_urls": { "Homepage": "https://github.com/criteo/flacon/", "Source Code": "https://github.com/criteo/flacon/" }, "release_url": "https://pypi.org/project/flacon/0.3.6/", "requires_dist": null, "requires_python": "", "summary": "Flask(-Twisted) microframework for microservices with Prometheus and Sentry support.", "version": "0.3.6" }, "last_serial": 5735713, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "c24e530186037f608ffd7dc7b791a48f", "sha256": "87b2ed5dc5f46c925de2187c8724af00693dffaa796a0b25aca02a91aa437d77" }, "downloads": -1, "filename": "flacon-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c24e530186037f608ffd7dc7b791a48f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10181, "upload_time": "2019-04-13T15:24:43", "url": "https://files.pythonhosted.org/packages/03/0c/2ffdc223cd117513f1ef67fd36a4ee81689d19efdfc834ebfc3184b993f4/flacon-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "f2492feeb4ca1528e0c612652dda8ad1", "sha256": "23283e3c68a1e43349f273fd746bced0962018c4919fcdca1c2bee3d0257032c" }, "downloads": -1, "filename": "flacon-0.3.1.tar.gz", "has_sig": false, "md5_digest": "f2492feeb4ca1528e0c612652dda8ad1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10184, "upload_time": "2019-04-13T15:27:30", "url": "https://files.pythonhosted.org/packages/bb/ea/9487eec562c96836280ab113ed93e7fcd57160941683ac988fb761f06b8d/flacon-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "75543a68fc2c94092998b009b53183c4", "sha256": "7b961be65b502548ee89343504912e3259b00c1bede827caea270ca9eb170350" }, "downloads": -1, "filename": "flacon-0.3.2.tar.gz", "has_sig": false, "md5_digest": "75543a68fc2c94092998b009b53183c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10201, "upload_time": "2019-04-13T15:51:24", "url": "https://files.pythonhosted.org/packages/74/d8/1227a93100cb6e2df708a91a713753aa92df459ff1a6147ffc8604a3fa0c/flacon-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "f6b56e3e6e9a8672aaf96e7d15f57a82", "sha256": "7550ee5f984a8347b0acbd862ae629a4b2c75e9161222dc462b9fc94dcb11723" }, "downloads": -1, "filename": "flacon-0.3.3.tar.gz", "has_sig": false, "md5_digest": "f6b56e3e6e9a8672aaf96e7d15f57a82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10616, "upload_time": "2019-04-13T16:02:16", "url": "https://files.pythonhosted.org/packages/76/bb/5e1942898c1a89db7abd96da0f742747e887f035bf89fe4717ee75cf680f/flacon-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "73781d9de151757fcf5fb5067ad9e1f1", "sha256": "e2347d576f1caceb0d71e382dee5ab1b8da7541b1d6176f3dcfa7082de01fd00" }, "downloads": -1, "filename": "flacon-0.3.4.tar.gz", "has_sig": false, "md5_digest": "73781d9de151757fcf5fb5067ad9e1f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10614, "upload_time": "2019-04-13T16:09:11", "url": "https://files.pythonhosted.org/packages/d2/7b/0e8b0cde66d2ffebdbbd44dfe32241d9a6ea3110f45b08749c49db85002d/flacon-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "3fdc9e6afac4ceb3500d1131e449a745", "sha256": "aeff1c684c653680cae1db6f916d820a69b03382b904450271b2d7ab0928d31c" }, "downloads": -1, "filename": "flacon-0.3.5.tar.gz", "has_sig": false, "md5_digest": "3fdc9e6afac4ceb3500d1131e449a745", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9802, "upload_time": "2019-04-19T14:45:24", "url": "https://files.pythonhosted.org/packages/9e/6f/ed68a270f304f2f0cd28ede09334928031d74c8e6fcffe3bddc92f804438/flacon-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "c5ba987c888f62f13b8c95ad4e1aebe2", "sha256": "35ba7d6357c76ec93d7404cf3053f1c2505477650c954b791cc5005759fd20f3" }, "downloads": -1, "filename": "flacon-0.3.6.tar.gz", "has_sig": false, "md5_digest": "c5ba987c888f62f13b8c95ad4e1aebe2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9582, "upload_time": "2019-08-27T09:08:28", "url": "https://files.pythonhosted.org/packages/ca/16/c3e4be9fa006faca875801d545d5f9bebf9d7eed4db536784733e966bed9/flacon-0.3.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c5ba987c888f62f13b8c95ad4e1aebe2", "sha256": "35ba7d6357c76ec93d7404cf3053f1c2505477650c954b791cc5005759fd20f3" }, "downloads": -1, "filename": "flacon-0.3.6.tar.gz", "has_sig": false, "md5_digest": "c5ba987c888f62f13b8c95ad4e1aebe2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9582, "upload_time": "2019-08-27T09:08:28", "url": "https://files.pythonhosted.org/packages/ca/16/c3e4be9fa006faca875801d545d5f9bebf9d7eed4db536784733e966bed9/flacon-0.3.6.tar.gz" } ] }