Metadata-Version: 2.4
Name: openaleph-servicelayer
Version: 1.23.3
Summary: Basic remote service functions for openaleph components
Home-page: http://github.com/alephdata/servicelayer
Author: Data and Research Center, forked from OCCRP.org
Author-email: alex@dataresearchcenter.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<4.0.0,>=3.0.1
Requires-Dist: fakeredis<3.0.0,>=2.22.0
Requires-Dist: sqlalchemy<3.0.0,>=2.0.4
Requires-Dist: structlog<25.0.0,>=24.1.0
Requires-Dist: colorama<1.0.0,>=0.4.6
Requires-Dist: prometheus-client<0.21.0,>=0.20.0
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: license-file
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

# openaleph-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)
```
