JSON-RPC server based on fastapi:
https://fastapi.tiangolo.com
Autogenerated OpenAPI and Swagger (thanks to fastapi) for JSON-RPC!!!
pip install fastapi-jsonrpc
Read FastAPI documentation and see usage examples bellow
pip install uvicorn
example1.py
Go to:
http://127.0.0.1:5000/docs
pip install uvicorn
example2.py
Go to:
http://127.0.0.1:5000/docs
Install poetry
Install dephell
pip install dephell
Install dependencies
poetry update
Regenerate README.rst
rst_include include -q README.src.rst README.rst
Change dependencies
Edit
pyproject.toml
poetry update dephell deps convert
Bump version
poetry version patch dephell deps convert
Publish to pypi
poetry publish --build