Metadata-Version: 2.2
Name: servicelayer
Version: 1.23.3
Summary: Basic remote service functions for alephdata components
Home-page: http://github.com/alephdata/servicelayer
Author: Organized Crime and Corruption Reporting Project
Author-email: data@occrp.org
License: MIT
Keywords: storage files s3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: banal<2.0.0,>=1.0.6
Requires-Dist: normality<3.0.0,>=2.4.0
Requires-Dist: fakeredis<3.0.0,>=2.11.2
Requires-Dist: redis<=4.6.0
Requires-Dist: sqlalchemy<3.0.0,>=1.4.49
Requires-Dist: structlog<25.0.0,>=20.2.0
Requires-Dist: colorama<1.0.0,>=0.4.4
Requires-Dist: pika<2.0.0,>=1.3.1
Requires-Dist: prometheus-client<0.21.0,>=0.17.1
Provides-Extra: amazon
Requires-Dist: boto3<2.0.0,>=1.11.9; extra == "amazon"
Provides-Extra: google
Requires-Dist: grpcio<2.0.0,>=1.32.0; extra == "google"
Requires-Dist: google-cloud-storage<3.0.0,>=1.31.0; extra == "google"
Provides-Extra: dev
Requires-Dist: twine; extra == "dev"
Requires-Dist: moto<5; extra == "dev"
Requires-Dist: boto3<2.0.0,>=1.11.9; extra == "dev"
Requires-Dist: pytest>=3.6; extra == "dev"
Requires-Dist: coverage; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: time-machine<3.0.0,>=2.14.1; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

# servicelayer

[![servicelayer](https://github.com/alephdata/servicelayer/actions/workflows/build.yml/badge.svg)](https://github.com/alephdata/servicelayer/actions/workflows/build.yml)

Components of the aleph data toolkit needed to interact with networked services,
such as a storage archive, job queueing, cache, and structured logging. This
package contains some common configuration components for all of these services
using environment variables.

## archive mechanism

This library provides a configurable method for file storage used by aleph and
memorious. It will store files based on their content hash (SHA1) and allows for
later retrieval of the content.


## Release procedure


```
git pull --rebase
make build-docker test
bump2version --no-commit --dry-run --verbose {patch,minor,major} # to test if this looks good
bump2version --verbose {patch,minor,major}
git push --atomic origin main $(git describe --tags --abbrev=0)
```
