{ "info": { "author": "zengqiu", "author_email": "zengqiu@qq.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask-Ext\n=========\n\nSome extensions of Flask.\n\nSubdomain\n---------\n\n- Configure ``app`` attributes\n\n```\napp.static_url_path = '/static'\napp.static_folder = 'static'\napp.add_url_rule(app.static_url_path + '/',\n endpoint='static',\n view_func=app.send_static_file)\n```\n\n- Configure ``settings.py``\n\n```\nSERVER_NAME = 'project_name.test:5000'\nSESSION_COOKIE_DOMAIN = \".\" + SERVER_NAME\n```\n\n- Configure ``views.py``\n\n```\nblueprint = Blueprint('portal', __name__, subdomain='')\nadd_subdomain_support(blueprint)\n```\n\n- Configure ``RequireJS`` and ``Layer``\n\n```\n\n```\n\n``` \n\n```\n\n* Notice: You can use ``g.subdomain`` to get current subdomain.\n\n", "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/zengqiu/flask-ext", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Flask-Ext", "package_url": "https://pypi.org/project/Flask-Ext/", "platform": "any", "project_url": "https://pypi.org/project/Flask-Ext/", "project_urls": { "Homepage": "https://github.com/zengqiu/flask-ext" }, "release_url": "https://pypi.org/project/Flask-Ext/0.1/", "requires_dist": [ "Flask" ], "requires_python": "", "summary": "Extensions of Flask", "version": "0.1" }, "last_serial": 5127875, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "45882af3d0770d349305bb8c00b40b6b", "sha256": "8c497af589054da3746b117ea3d11d9a09c3aa8dfa46dc434eb605b3854e36bc" }, "downloads": -1, "filename": "Flask_Ext-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "45882af3d0770d349305bb8c00b40b6b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3623, "upload_time": "2019-04-11T09:01:50", "url": "https://files.pythonhosted.org/packages/d3/06/ad88dff48ce49f2a760c5ac9a618b38a9d4afa0f00c9fbbb9884bf28d06e/Flask_Ext-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62295ba7cb59911a6b92e88f82da131e", "sha256": "260fc92e7d4563fe65cdd7bf111b93b37a4a8cce6e087ca62787e3e457437439" }, "downloads": -1, "filename": "Flask-Ext-0.1.tar.gz", "has_sig": false, "md5_digest": "62295ba7cb59911a6b92e88f82da131e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2329, "upload_time": "2019-04-11T09:01:52", "url": "https://files.pythonhosted.org/packages/2c/86/3e66c46d170bead21a50627256df8784e6e910a3de614a4fcb11d60fc230/Flask-Ext-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "45882af3d0770d349305bb8c00b40b6b", "sha256": "8c497af589054da3746b117ea3d11d9a09c3aa8dfa46dc434eb605b3854e36bc" }, "downloads": -1, "filename": "Flask_Ext-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "45882af3d0770d349305bb8c00b40b6b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3623, "upload_time": "2019-04-11T09:01:50", "url": "https://files.pythonhosted.org/packages/d3/06/ad88dff48ce49f2a760c5ac9a618b38a9d4afa0f00c9fbbb9884bf28d06e/Flask_Ext-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62295ba7cb59911a6b92e88f82da131e", "sha256": "260fc92e7d4563fe65cdd7bf111b93b37a4a8cce6e087ca62787e3e457437439" }, "downloads": -1, "filename": "Flask-Ext-0.1.tar.gz", "has_sig": false, "md5_digest": "62295ba7cb59911a6b92e88f82da131e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2329, "upload_time": "2019-04-11T09:01:52", "url": "https://files.pythonhosted.org/packages/2c/86/3e66c46d170bead21a50627256df8784e6e910a3de614a4fcb11d60fc230/Flask-Ext-0.1.tar.gz" } ] }