# 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/5b/75/a647b40360e1c76c57a08021b02b98d94bea2f4c1603836fd94b2489e36e/servicelayer-1.23.2.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.2",
"project_urls": {
"Homepage": "http://github.com/alephdata/servicelayer"
},
"split_keywords": [
"storage",
"files",
"s3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "55430ddb15c8a3a6570c66329d03ebac5a176eb7df1ba86050df8c391f869a6a",
"md5": "7f85d356e8b0d2bcfbcdb416d96e2097",
"sha256": "c749658d9e7aa85618e770d7f485495acadf8d800e09a5ebca75863cc383f5b3"
},
"downloads": -1,
"filename": "servicelayer-1.23.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f85d356e8b0d2bcfbcdb416d96e2097",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 44078,
"upload_time": "2024-11-23T12:11:07",
"upload_time_iso_8601": "2024-11-23T12:11:07.689028Z",
"url": "https://files.pythonhosted.org/packages/55/43/0ddb15c8a3a6570c66329d03ebac5a176eb7df1ba86050df8c391f869a6a/servicelayer-1.23.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5b75a647b40360e1c76c57a08021b02b98d94bea2f4c1603836fd94b2489e36e",
"md5": "40afd6a3d4fb81f8f7d16cccb2d256ce",
"sha256": "7a4086151ee50760056e1c7b6863d981dd8b0fdbf0d2ca890aab268d056f22d0"
},
"downloads": -1,
"filename": "servicelayer-1.23.2.tar.gz",
"has_sig": false,
"md5_digest": "40afd6a3d4fb81f8f7d16cccb2d256ce",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 33326,
"upload_time": "2024-11-23T12:11:09",
"upload_time_iso_8601": "2024-11-23T12:11:09.720985Z",
"url": "https://files.pythonhosted.org/packages/5b/75/a647b40360e1c76c57a08021b02b98d94bea2f4c1603836fd94b2489e36e/servicelayer-1.23.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-23 12:11:09",
"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"
}