OARepo REST API microservice
OARepo Micro API
OARepo REST API microservice module
This package will provide a simple UWSGI microservice that will serve
all of the registered OArepo API apps in your repository instance under the
/api endpoint. It also
/.well-known endpoints that are usable for running in k8s environments.
- Python >=3.6
How to use
Specify this package as a dependency in your OArepo repository project's
If you're using
oarepo as a base package for your repository, you should use the following extras:
# setup.py #... install_requires = [ 'oarepo[micro-api,...another-oarepo-extras]' ] #...
# setup.py #... install_requires = [ 'oarepo-micro-api' ] #...
After that, reinstall your project by:
pip install -e .
Start your repository instance and verify, that everything worked out, by running:
curl -k https://localhost:5000/.well-known/heartbeat/readiness
This project is licensed under the MIT License - see the LICENSE file for details
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size oarepo_micro_api-1.0.2-py2.py3-none-any.whl (8.1 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size oarepo-micro-api-1.0.2.tar.gz (11.7 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for oarepo_micro_api-1.0.2-py2.py3-none-any.whl