{ "info": { "author": "Vitalii Abetkin", "author_email": "abvit89@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP" ], "description": "
\n
\n
\n A smart Web API framework, for Python 3.\n
\n\n\n---\n\n**Community:** https://discuss.apistar.org \ud83e\udd14 \ud83d\udcad \ud83e\udd13 \ud83d\udcac \ud83d\ude0e\n\n**Documentation:** https://docs.webtypes.com \ud83d\udcd8\n\n---\n\n# Features\n\nWhy might you consider using API Star for your next Web API project?\n\n* **Schema generation** - Support for automatically generating OpenAPI schemas.\n* **Expressive** - Type annotated views, that make for expressive, testable code.\n* **Performance** - Dynamic behaviour for determining how to run each view makes API Star incredibly efficient.\n* **Throughput** - Support for asyncio allows for building high-throughput non-blocking applications.\n\n---\n\n# Quickstart\n\nInstall API Star:\n\n```bash\n$ pip3 install webtypes\n```\n\nCreate a new project in `app.py`:\n\n```python\nfrom webtypes import App, Route\n\n\ndef welcome(name=None):\n if name is None:\n return {'message': 'Welcome to API Star!'}\n return {'message': 'Welcome to API Star, %s!' % name}\n\n\nroutes = [\n Route('/', method='GET', handler=welcome),\n]\n\napp = App(routes=routes)\n\n\nif __name__ == '__main__':\n app.serve('127.0.0.1', 5000, debug=True)\n```\n\nOpen `http://127.0.0.1:5000/docs/` in your browser:\n\n\n\n---\n\nAPI Star is BSD licensed code.
Designed & built in Brighton, England.\n
\n
\n