Name | altissimo JSON |
Version |
0.1.13
JSON |
| download |
home_page | None |
Summary | Altissimo Python package |
upload_time | 2024-11-04 23:04:53 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Altissimo Python package
## Classes
### Firestore
#### Usage
```
from altissimo.firestore import Firestore
f = Firestore(project=project, credentials=credentials, database=database)
# get a list of dicts from a Firestore Collection
items = f.get_collection("collection")
```
### SecretManager
#### Usage
```
from altissimo.secretmanager import SecretManager
s = SecretManager(project=project, credentials=credentials)
# get the value of a SecretManager Secret Version
secret = s.get_secret(secret, version="latest", project=project)
```
## Modules
### Tools
#### Usage
```
from altissimo.tools import chunks
# get successive chunks of 5 items from list
for chunk in chunks(my_list, 5):
# process the chunk
pass
```
* `chunks(list, n)`: Return successive n-sized chunks from list.
* `list_to_dict(list, key="id")`: Return a dict of items by key from list.
Raw data
{
"_id": null,
"home_page": null,
"name": "altissimo",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Lukas Karlsson <karlsson@altissimo.io>",
"download_url": "https://files.pythonhosted.org/packages/3c/94/33b102b9b56e4ca77d6963a0bb6399e5bcc4e57d6fd79553e677c25b21c9/altissimo-0.1.13.tar.gz",
"platform": null,
"description": "# Altissimo Python package\n\n## Classes\n\n### Firestore\n#### Usage\n```\nfrom altissimo.firestore import Firestore\n\nf = Firestore(project=project, credentials=credentials, database=database)\n\n# get a list of dicts from a Firestore Collection\nitems = f.get_collection(\"collection\")\n```\n\n### SecretManager\n#### Usage\n```\nfrom altissimo.secretmanager import SecretManager\n\ns = SecretManager(project=project, credentials=credentials)\n\n# get the value of a SecretManager Secret Version\nsecret = s.get_secret(secret, version=\"latest\", project=project)\n```\n\n## Modules\n\n### Tools\n#### Usage\n```\nfrom altissimo.tools import chunks\n\n# get successive chunks of 5 items from list\nfor chunk in chunks(my_list, 5):\n # process the chunk\n pass\n```\n\n* `chunks(list, n)`: Return successive n-sized chunks from list.\n* `list_to_dict(list, key=\"id\")`: Return a dict of items by key from list.\n",
"bugtrack_url": null,
"license": null,
"summary": "Altissimo Python package",
"version": "0.1.13",
"project_urls": {
"Homepage": "https://github.com/altissimo/altissimo",
"Issues": "https://github.com/altissimo/altissimo/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "151bcc207cfc8d0e9f44ac3c326ffb1d50046258a8b6099d83930336e52ddf4f",
"md5": "ec33ebb42cbfcb77760ab0c84f13af17",
"sha256": "3fd5dc3599c7888b6c638c74be1d4dbc2a41ce35f82967bd656b918005d567b1"
},
"downloads": -1,
"filename": "altissimo-0.1.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ec33ebb42cbfcb77760ab0c84f13af17",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 26886,
"upload_time": "2024-11-04T23:04:52",
"upload_time_iso_8601": "2024-11-04T23:04:52.499968Z",
"url": "https://files.pythonhosted.org/packages/15/1b/cc207cfc8d0e9f44ac3c326ffb1d50046258a8b6099d83930336e52ddf4f/altissimo-0.1.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3c9433b102b9b56e4ca77d6963a0bb6399e5bcc4e57d6fd79553e677c25b21c9",
"md5": "314db7dae038d0ebd6325a3c4c3cb743",
"sha256": "4483f1c35038debb5cb0260c2775be2c72002316cc6dcebf234dd934a7ad353d"
},
"downloads": -1,
"filename": "altissimo-0.1.13.tar.gz",
"has_sig": false,
"md5_digest": "314db7dae038d0ebd6325a3c4c3cb743",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 24122,
"upload_time": "2024-11-04T23:04:53",
"upload_time_iso_8601": "2024-11-04T23:04:53.371275Z",
"url": "https://files.pythonhosted.org/packages/3c/94/33b102b9b56e4ca77d6963a0bb6399e5bcc4e57d6fd79553e677c25b21c9/altissimo-0.1.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-04 23:04:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "altissimo",
"github_project": "altissimo",
"github_not_found": true,
"lcname": "altissimo"
}