{ "info": { "author": "Hayden Demerson", "author_email": "", "bugtrack_url": null, "classifiers": [ "Framework :: Flask", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "azure_lightning_flask\n=====================\n\nA `Flask`_ server to serve single-page applications deployed using the\n`lightning strategy`_ on `Azure Table Storage`_. Designed to work with\n`Ember-cli-deploy-azure`_, but should be compatible with any lightning\nstrategy deployment on Azure Table Storage via configuration. Developed\nwith Python 2.7\n\nInstallation\n------------\nIt is recommended that you install and run azure_lightning_flask inside of a ``virtualenv``\n::\n\n virtualenv venv\n . venv/bin/activate\n\nVia pip\n~~~~~~~\n::\n\n pip install azure_lightning_flask\n\nManual\n~~~~~~\n\nDownload the application files and in the root directory run\n\n::\n\n pip install -r requirements.txt\n python setup.py install\n\nApplication Configuration\n-------------------------\n\nConfigure the application by setting environment variables. **All\napplication configuration variables without a default must be set.**\n\nThis application serves content from `Azure Storage Table`_ requiring an\nAzure account and a storage table to be setup for some of the required\nconfiguration.\n\n+-----------------------+-----------------------+-----------------------+\n| Environment Variable | Usage | Default |\n+=======================+=======================+=======================+\n| AZURE_STORAGE_ACCOUNT | The name of the Azure | None (Must be set) |\n| | Storage account to be | |\n| | used | |\n+-----------------------+-----------------------+-----------------------+\n| AZURE_STORAGE_KEY | The key for the given | None (Must be set) |\n| | Azure Storage account | |\n+-----------------------+-----------------------+-----------------------+\n| AZURE_STORAGE_TABLE | The name of the table | ``emberdeploy`` |\n| | where revisions are | |\n| | stored | |\n+-----------------------+-----------------------+-----------------------+\n| AZURE_STORAGE_TABLE_P | The partition key to | ``manifest`` |\n| ARTITION_KEY | search under | |\n+-----------------------+-----------------------+-----------------------+\n| APP_NAME | The name of the | None (Must be set) |\n| | application being | |\n| | served | |\n+-----------------------+-----------------------+-----------------------+\n| REVISION_PARAMETER | The query parameter | ``index_key`` |\n| | used to request | |\n| | specific revisions | |\n+-----------------------+-----------------------+-----------------------+\n\nRunning\n-------\n\nAfter it is configured, run the application with\n\n::\n\n azure_lightning_flask\n\nFlask configuration\n-------------------\n\n`Flask configuration values`_ can also be set via environment variables\nas the environment is merged into the flask configuration via\n`flask-env`_.\n\nRunning tests\n-------------\n\n::\n\n python setup.py nosetests\n\n.. _Flask: http://flask.pocoo.org/\n.. _lightning strategy: http://ember-cli-deploy.com/docs/v1.0.x/the-lightning-strategy/\n.. _Azure Table Storage: https://azure.microsoft.com/en-us/services/storage/tables/\n.. _Ember-cli-deploy-azure: https://github.com/duizendnegen/ember-cli-deploy-azure\n.. _Azure Storage Table: https://azure.microsoft.com/en-us/services/storage/tables/\n.. _Flask configuration values: http://flask.pocoo.org/docs/0.12/config/#builtin-configuration-values\n.. _flask-env: https://github.com/brettlangdon/flask-env\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "azure-lightning-flask", "package_url": "https://pypi.org/project/azure-lightning-flask/", "platform": "", "project_url": "https://pypi.org/project/azure-lightning-flask/", "project_urls": null, "release_url": "https://pypi.org/project/azure-lightning-flask/0.0.1/", "requires_dist": [ "Flask-Env (>=1.0.1)", "Flask (>=0.12.0)", "azure-common (>=1.0.0)", "azure-cosmosdb-table (>=1.0.0)" ], "requires_python": "", "summary": "Lightning deployment strategy on Azure with Flask", "version": "0.0.1" }, "last_serial": 3685696, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1b58c05b0b532fcbeb7a70399fde2425", "sha256": "c1421b50eb785140c3d4cef1d5c69b4a2c359f9e67893ea5049ea1b0723d4f50" }, "downloads": -1, "filename": "azure_lightning_flask-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "1b58c05b0b532fcbeb7a70399fde2425", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10141, "upload_time": "2018-03-19T22:17:16", "url": "https://files.pythonhosted.org/packages/3f/29/080136c3031053856fbf972fc4398dadf3013ca25492e5c5781eeec08dbd/azure_lightning_flask-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fcd276124e8728e77374049ad7dee314", "sha256": "06449fd8330523082affe280165f628c5d6529cda8fa16dd0a103af49b2e8437" }, "downloads": -1, "filename": "azure_lightning_flask-0.0.1.tar.gz", "has_sig": false, "md5_digest": "fcd276124e8728e77374049ad7dee314", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6187, "upload_time": "2018-03-19T22:17:17", "url": "https://files.pythonhosted.org/packages/e2/e3/f18a9c5695de69c3adf230f6a965b04a4cd6d1c020008b4930f53e9ff6c7/azure_lightning_flask-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1b58c05b0b532fcbeb7a70399fde2425", "sha256": "c1421b50eb785140c3d4cef1d5c69b4a2c359f9e67893ea5049ea1b0723d4f50" }, "downloads": -1, "filename": "azure_lightning_flask-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "1b58c05b0b532fcbeb7a70399fde2425", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10141, "upload_time": "2018-03-19T22:17:16", "url": "https://files.pythonhosted.org/packages/3f/29/080136c3031053856fbf972fc4398dadf3013ca25492e5c5781eeec08dbd/azure_lightning_flask-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fcd276124e8728e77374049ad7dee314", "sha256": "06449fd8330523082affe280165f628c5d6529cda8fa16dd0a103af49b2e8437" }, "downloads": -1, "filename": "azure_lightning_flask-0.0.1.tar.gz", "has_sig": false, "md5_digest": "fcd276124e8728e77374049ad7dee314", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6187, "upload_time": "2018-03-19T22:17:17", "url": "https://files.pythonhosted.org/packages/e2/e3/f18a9c5695de69c3adf230f6a965b04a4cd6d1c020008b4930f53e9ff6c7/azure_lightning_flask-0.0.1.tar.gz" } ] }