# servicelayer
[](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/5d/5b/cb72f94774ae26318feff8d77b5d33838c5271003424834e7d344a8a6dc4/servicelayer-1.24.0.tar.gz",
"platform": null,
"description": "# servicelayer\n\n[](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.24.0",
"project_urls": {
"Homepage": "http://github.com/alephdata/servicelayer"
},
"split_keywords": [
"storage",
"files",
"s3"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "142e5b099aa5fe8b410530d1a73df33a26a5ba9dc3d38db3e9ffc0ea1b6ad3e2",
"md5": "bb83cc2bfb7daa31de215eca2ba7a187",
"sha256": "e73303158d69ef705e679c66d94e45f6cdba083fec8ec9f6b242af7d7addb7e5"
},
"downloads": -1,
"filename": "servicelayer-1.24.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "bb83cc2bfb7daa31de215eca2ba7a187",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 44461,
"upload_time": "2025-02-18T11:54:48",
"upload_time_iso_8601": "2025-02-18T11:54:48.724073Z",
"url": "https://files.pythonhosted.org/packages/14/2e/5b099aa5fe8b410530d1a73df33a26a5ba9dc3d38db3e9ffc0ea1b6ad3e2/servicelayer-1.24.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5d5bcb72f94774ae26318feff8d77b5d33838c5271003424834e7d344a8a6dc4",
"md5": "c9609d2ebbfbd8ac27e62452567a147a",
"sha256": "17a80ac5f7f88ff9937f6b5f894819594c525935e2608009f48eb37f803e0d19"
},
"downloads": -1,
"filename": "servicelayer-1.24.0.tar.gz",
"has_sig": false,
"md5_digest": "c9609d2ebbfbd8ac27e62452567a147a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 33719,
"upload_time": "2025-02-18T11:54:50",
"upload_time_iso_8601": "2025-02-18T11:54:50.797037Z",
"url": "https://files.pythonhosted.org/packages/5d/5b/cb72f94774ae26318feff8d77b5d33838c5271003424834e7d344a8a6dc4/servicelayer-1.24.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-18 11:54:50",
"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"
]
]
},
{
"name": "redis",
"specs": [
[
"==",
"4.6.0"
]
]
}
],
"lcname": "servicelayer"
}