Altissimo Python package
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
altissimo-0.1.11.tar.gz
(23.9 kB
view details)
Built Distribution
File details
Details for the file altissimo-0.1.11.tar.gz
.
File metadata
- Download URL: altissimo-0.1.11.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2fc6102f46020bdcda9034945239b7bd6ed1c57a77af2eeaa20b174adf750d1 |
|
MD5 | bc272ea326dec59cfde111e9b96c5311 |
|
BLAKE2b-256 | cd8c04c41cffa22fc00ee96bf0b719831613effab3f2be7f1b81e33a66e325ad |
File details
Details for the file altissimo-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.1.11-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1e64e814ba9c612598be9a81ad2d11854c99606671770757e8f96524ea5d03 |
|
MD5 | e6fe9acd8e8de8626793210fa691ee7b |
|
BLAKE2b-256 | c95f6cf399d3d8b99be0aca7449b8165895fb7b9aa7f222dcc08fd9ce0f62f91 |