# 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)
```
Raw data
{
"_id": null,
"home_page": "http://github.com/alephdata/servicelayer",
"name": "servicelayer",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "storage files s3",
"author": "Organized Crime and Corruption Reporting Project",
"author_email": "data@occrp.org",
"download_url": "https://files.pythonhosted.org/packages/53/d9/adeb6387d00d68a74b4199a463e2cfcaa95469630cb3d318d94b05675fa6/servicelayer-1.23.1.tar.gz",
"platform": null,
"description": "# servicelayer\n\n[![servicelayer](https://github.com/alephdata/servicelayer/actions/workflows/build.yml/badge.svg)](https://github.com/alephdata/servicelayer/actions/workflows/build.yml)\n\nComponents of the aleph data toolkit needed to interact with networked services,\nsuch as a storage archive, job queueing, cache, and structured logging. This\npackage contains some common configuration components for all of these services\nusing environment variables.\n\n## archive mechanism\n\nThis library provides a configurable method for file storage used by aleph and\nmemorious. It will store files based on their content hash (SHA1) and allows for\nlater retrieval of the content.\n\n\n## Release procedure\n\n\n```\ngit pull --rebase\nmake build-docker test\nbump2version --no-commit --dry-run --verbose {patch,minor,major} # to test if this looks good\nbump2version --verbose {patch,minor,major}\ngit push --atomic origin main $(git describe --tags --abbrev=0)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Basic remote service functions for alephdata components",
"version": "1.23.1",
"project_urls": {
"Homepage": "http://github.com/alephdata/servicelayer"
},
"split_keywords": [
"storage",
"files",
"s3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "66e89b444c1905ca9bcb4c27fc687f674a354efbb6e3075e754a9f4346f7a45d",
"md5": "061636ef073829c571e7d1f53eee5bd5",
"sha256": "0abf17d62c82cef75e425774c0a354f39ca594cbcd1517b451e8d9e1e8f8d306"
},
"downloads": -1,
"filename": "servicelayer-1.23.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "061636ef073829c571e7d1f53eee5bd5",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 44092,
"upload_time": "2024-11-06T13:32:33",
"upload_time_iso_8601": "2024-11-06T13:32:33.505987Z",
"url": "https://files.pythonhosted.org/packages/66/e8/9b444c1905ca9bcb4c27fc687f674a354efbb6e3075e754a9f4346f7a45d/servicelayer-1.23.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "53d9adeb6387d00d68a74b4199a463e2cfcaa95469630cb3d318d94b05675fa6",
"md5": "70112b84ed28dcb9a1e995728d26d196",
"sha256": "07f2ad4220fb5697a8ed72e099cd40a79a9677bd29c043d527cc83097275f6bb"
},
"downloads": -1,
"filename": "servicelayer-1.23.1.tar.gz",
"has_sig": false,
"md5_digest": "70112b84ed28dcb9a1e995728d26d196",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 33323,
"upload_time": "2024-11-06T13:32:34",
"upload_time_iso_8601": "2024-11-06T13:32:34.876258Z",
"url": "https://files.pythonhosted.org/packages/53/d9/adeb6387d00d68a74b4199a463e2cfcaa95469630cb3d318d94b05675fa6/servicelayer-1.23.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-06 13:32:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "alephdata",
"github_project": "servicelayer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "banal",
"specs": [
[
"==",
"1.0.6"
]
]
},
{
"name": "normality",
"specs": [
[
"==",
"2.5.0"
]
]
},
{
"name": "fakeredis",
"specs": [
[
"==",
"2.22.0"
]
]
},
{
"name": "sqlalchemy",
"specs": [
[
"==",
"2.0.4"
]
]
},
{
"name": "structlog",
"specs": [
[
"==",
"24.1.0"
]
]
},
{
"name": "colorama",
"specs": [
[
"==",
"0.4.6"
]
]
},
{
"name": "pika",
"specs": [
[
"==",
"1.3.2"
]
]
},
{
"name": "prometheus-client",
"specs": [
[
"==",
"0.20.0"
]
]
}
],
"lcname": "servicelayer"
}