A library used for sharing abstract code between services
- Encapsulate python modules shared across multiple services (linkforge, careless response, auth, ...) into one repository.
- Lower the overhead when creating new microservices.
- Create a standardization into how things are done in order to promote faster development time, better code quality, less bugs.
- Be framework agnostic.
- Use the least number of dependencies as possible.
Documentation can be seen here.
Add the following to your requirements.txt file on its own line; and replace va.b.c
with the SEMVER version of this library that you'd like to consume (e.g. v0.0.1
)
git+https://github.com/sokanu/spylib.git@va.b.c#egg=spylib
Tests are run be unit test discovery. Please run the following command locally to run the suite.
docker build -t spylib . && docker run spylib
- When upgrading
requirements.txt
, pleases also upgradesetup.py
if the package will effect other applications that pull in spylib.