django-microservice
Base functionality for django based microservice
Language:
Private packages:
Overview
Base functionality for django based microservice
Repository
- GitHub: https://github.com/Hut42/django-microservice
- Language: Python
- Created: 2018-11-28
- Last Updated: 2023-03-15
Documentation
django-microservice
App that will install and configure Django / Django Rest Framework (DRF) with a base set of functionality and sensible defaults.
NOTE: Version 2.x has a pile of backwards-incompatible breaking changes. See CHANGELOG.md for exact details.
Requirements
- Python (3.6.8, 3.7.x)
- Django (3.2)
Installation
As the package is hosted on Gemfury, :code:FURY_AUTH should be in your environment variables with a valid deploy token.
Use pip (version > 20.0) to install.
.. code-block:: bash
pip install django-microservice --extra-index-url https://${FURY_AUTH}:@pypi.fury.io/hutfortytwo/
Or, in your :code:requirements.txt like:
.. code-block:: python
[...]
# Private requirements
--extra-index-url https://${FURY_AUTH}:@pypi.fury.io/hutfortytwo/
django-microservice>=2.0,<3.0
Add :code:'microservice' to your :code:INSTALLED_APPS setting.
.. code-block:: python
INSTALLED_APPS = [
...
'microservice',
]
Installed Apps
[Full documentation available in the repository README]
Usage
This library is used by 5 application(s):
- buying-service-al202339-live - REST based service for caravan buying
- flux-exchange-service-al239 - Django REST based Web Service for Exchange Message workflows
- goahead-testsuite - TGSL request / response logger for TGSL service development
- flux-callback-service - Django REST based web service for callback sending
- flux-policy-documents-service - Django REST based web service for Sterling Policy Documents