{ "info": { "author": "Ferdina kusumah", "author_email": "ferdina.kusumah@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "# Sanic OpenAPI\n Real project in [https://github.com/huge-success/sanic-openapi](https://github.com/huge-success/sanic-openapi/blob/master/README.md)\n\n This project just extends functional and fix some bugs\n ![Example Swagger UI](https://raw.githubusercontent.com/huge-success/sanic-openapi/master/images/code-to-ui.png \"Swagger UI\")\n\n #[Git Documentation](https://github.com/FerdinaKusumah/sanic_simple_swagger)\n\n ## Installation\n ```shell\n pip install sanic-simple-swagger\n ```\n\n #### Add OpenAPI and Swagger UI:\n ```python\n from sanic_simple_swagger import swagger_blueprint, openapi_blueprint\n app.blueprint(openapi_blueprint)\n app.blueprint(swagger_blueprint)\n ```\n\n You'll now have a Swagger UI at the URL `/swagger/index.html`.\n\n Your routes will be automatically categorized by their blueprints.\n\n ### Configure all the things\n\n ```python\n app.config['API_VERSION'] = '1.0.0'\n app.config['API_TITLE'] = 'Swagger Petstore'\n app.config['API_DESCRIPTION'] = 'This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.'\n app.config['API_TERMS_OF_SERVICE'] = 'http://swagger.io/terms/'\n app.config['API_CONTACT_EMAIL'] = 'http://swagger.io/terms/'\n app.config['API_LICENSE_NAME'] = 'Apache 2.0'\n app.config['API_LICENSE_URL'] = 'http://www.apache.org/licenses/LICENSE-2.0.html'\n app.config['schemes'] = ['http', 'https']\n ```\n\n ## Reference\n 1. [Sanic](https://github.com/huge-success/sanic)\n 2. [Sanic OpenAPI](https://github.com/huge-success/sanic-openapi)", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/FerdinaKusumah/sanic_simple_swagger", "keywords": "sanic swagger,python sanic swagger,sanic openapi,sanic simple swagger", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "sanic-simple-swagger", "package_url": "https://pypi.org/project/sanic-simple-swagger/", "platform": "", "project_url": "https://pypi.org/project/sanic-simple-swagger/", "project_urls": { "Homepage": "https://github.com/FerdinaKusumah/sanic_simple_swagger" }, "release_url": "https://pypi.org/project/sanic-simple-swagger/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Swagger UI for Python web framework Sanic.", "version": "0.1.0" }, "last_serial": 4801426, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "d5e70859ea96a6f454568447140575ea", "sha256": "ec3f815da5df1444b6701a3ae19485dccaf4abbf329a6a38a61449cc87a86c5b" }, "downloads": -1, "filename": "sanic-simple-swagger-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d5e70859ea96a6f454568447140575ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311190, "upload_time": "2019-01-12T07:08:26", "url": "https://files.pythonhosted.org/packages/bf/4b/901b5207ffcf18fd72bb9ab2abf146e18c48c9f1aa00c95f45415aafa3fa/sanic-simple-swagger-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "fac6c2d5f79bfb7ef20de9b64bd94702", "sha256": "c352fe8345e1211139fe1b5d6e65fb279125e9b54d5611b1694164b0e3f47894" }, "downloads": -1, "filename": "sanic-simple-swagger-0.0.4.tar.gz", "has_sig": false, "md5_digest": "fac6c2d5f79bfb7ef20de9b64bd94702", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311210, "upload_time": "2019-01-16T18:24:40", "url": "https://files.pythonhosted.org/packages/ef/5a/05f7c735fdcf11313b6cc6bfef9ed93d9009b15f68ceff48cc289025f5bb/sanic-simple-swagger-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "b9cea64df646ffa1fcb5032290f651cb", "sha256": "ea47157e78353b3db1cf03d91d75d8c0527a8664d34fd53fa30e07eaa0b48a69" }, "downloads": -1, "filename": "sanic-simple-swagger-0.0.5.tar.gz", "has_sig": false, "md5_digest": "b9cea64df646ffa1fcb5032290f651cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311022, "upload_time": "2019-01-16T18:35:18", "url": "https://files.pythonhosted.org/packages/21/b4/a0e6eb0a91de4e7ac05a80d4bf9ab9da7f1fbb424d0d7b6b764b166733dc/sanic-simple-swagger-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "a05d84ecd38ee18d1de601aeb89dd768", "sha256": "59319e606182ad4fdb57e1415052efa4260ad917acaa2a7fab363902275e0d5c" }, "downloads": -1, "filename": "sanic-simple-swagger-0.0.6.tar.gz", "has_sig": false, "md5_digest": "a05d84ecd38ee18d1de601aeb89dd768", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311049, "upload_time": "2019-01-25T09:59:05", "url": "https://files.pythonhosted.org/packages/3b/9e/cb047aceb8474c6722ec8005fef33102a55881ab84f265ff5421ce6688f2/sanic-simple-swagger-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "9eb90bfc18a4ec1f4ff9d4d262a09639", "sha256": "ea331d7a14fd1d0d4868406d242cf2728011d7caf0569014f866f449a1b765c3" }, "downloads": -1, "filename": "sanic-simple-swagger-0.0.7.tar.gz", "has_sig": false, "md5_digest": "9eb90bfc18a4ec1f4ff9d4d262a09639", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311046, "upload_time": "2019-01-25T10:04:41", "url": "https://files.pythonhosted.org/packages/92/d9/5096b08eebcfe7d328bc1d4e631fb869e3f414ea9d3871ddcb3e515ae788/sanic-simple-swagger-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "5354eef359657ef42368c5d6e2880993", "sha256": "d7b721c97bfd29a80fb6189c6eede664309df6a25d75ad7486e59d9bb46c3cb3" }, "downloads": -1, "filename": "sanic-simple-swagger-0.0.8.tar.gz", "has_sig": false, "md5_digest": "5354eef359657ef42368c5d6e2880993", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311103, "upload_time": "2019-01-28T06:32:09", "url": "https://files.pythonhosted.org/packages/b0/ab/0e8b64312c214ef2f2b619dc83b813ca476fe9e762d1d97449661df2c67a/sanic-simple-swagger-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "3f2960fd095c1f086315ff899ebe80f2", "sha256": "14f45c2d30868426b6ed694ec5ec45b93791f16ebc168b3f114237ba515f0196" }, "downloads": -1, "filename": "sanic-simple-swagger-0.0.9.tar.gz", "has_sig": false, "md5_digest": "3f2960fd095c1f086315ff899ebe80f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311079, "upload_time": "2019-01-29T04:35:51", "url": "https://files.pythonhosted.org/packages/4b/93/39e922d513ff6a9912b7a9b2f50f511c5eceb6f6c3251084864886b7a524/sanic-simple-swagger-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "76b1c077fde3b1bddde9aea98ff27699", "sha256": "fa0d5bc81191bc7043972708db6e15aabfd783eaf42d3514a7ae2054d358b391" }, "downloads": -1, "filename": "sanic-simple-swagger-0.1.0.tar.gz", "has_sig": false, "md5_digest": "76b1c077fde3b1bddde9aea98ff27699", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311103, "upload_time": "2019-02-10T06:51:46", "url": "https://files.pythonhosted.org/packages/89/a8/ca4bce23f361e1b839037dd6af34eaa4ad1f750f62b0395a244439c509d3/sanic-simple-swagger-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "76b1c077fde3b1bddde9aea98ff27699", "sha256": "fa0d5bc81191bc7043972708db6e15aabfd783eaf42d3514a7ae2054d358b391" }, "downloads": -1, "filename": "sanic-simple-swagger-0.1.0.tar.gz", "has_sig": false, "md5_digest": "76b1c077fde3b1bddde9aea98ff27699", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2311103, "upload_time": "2019-02-10T06:51:46", "url": "https://files.pythonhosted.org/packages/89/a8/ca4bce23f361e1b839037dd6af34eaa4ad1f750f62b0395a244439c509d3/sanic-simple-swagger-0.1.0.tar.gz" } ] }