Name | altissimo JSON |
Version |
0.1.10
JSON |
| download |
home_page | None |
Summary | Altissimo Python package |
upload_time | 2024-09-01 15:28:05 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
|
VCS |
![](/static/img/github-24-000000.png) |
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/12/c3/26c963f3c9846c84fa1d235c81f2135443bf99f62bbf51475ead6c702dc8/altissimo-0.1.10.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.10",
"project_urls": {
"Homepage": "https://github.com/altissimo/altissimo",
"Issues": "https://github.com/altissimo/altissimo/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d770d415a7dd1316cc609ba3c2d5c70517b6ed7cac253867b2dcc3f62cd2b820",
"md5": "36a4e9001a1eb0d1b1a7f65b3c5dcf11",
"sha256": "62c9ea52845c54c3304a30f94af5003266911b2c3624b226c0c45017029c3eb8"
},
"downloads": -1,
"filename": "altissimo-0.1.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "36a4e9001a1eb0d1b1a7f65b3c5dcf11",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 26241,
"upload_time": "2024-09-01T15:28:03",
"upload_time_iso_8601": "2024-09-01T15:28:03.914636Z",
"url": "https://files.pythonhosted.org/packages/d7/70/d415a7dd1316cc609ba3c2d5c70517b6ed7cac253867b2dcc3f62cd2b820/altissimo-0.1.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "12c326c963f3c9846c84fa1d235c81f2135443bf99f62bbf51475ead6c702dc8",
"md5": "09d0ca5736bb4b37f38d7bde4ffe0482",
"sha256": "c9321baaa51af21db285f993eef414d405d18e322329a702e492454e2c50a2d3"
},
"downloads": -1,
"filename": "altissimo-0.1.10.tar.gz",
"has_sig": false,
"md5_digest": "09d0ca5736bb4b37f38d7bde4ffe0482",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 23727,
"upload_time": "2024-09-01T15:28:05",
"upload_time_iso_8601": "2024-09-01T15:28:05.301707Z",
"url": "https://files.pythonhosted.org/packages/12/c3/26c963f3c9846c84fa1d235c81f2135443bf99f62bbf51475ead6c702dc8/altissimo-0.1.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-01 15:28:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "altissimo",
"github_project": "altissimo",
"github_not_found": true,
"lcname": "altissimo"
}