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.8.tar.gz
(23.6 kB
view details)
Built Distribution
altissimo-0.1.8-py3-none-any.whl
(26.1 kB
view details)
File details
Details for the file altissimo-0.1.8.tar.gz
.
File metadata
- Download URL: altissimo-0.1.8.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb1522c7710942023b53b5c9547673809c50b8eee2cd3924a09a1591d58aef65 |
|
MD5 | a106b59987668fcc99bb7a387fdd2422 |
|
BLAKE2b-256 | 3909b154425ce078e29902758a2feeb61c0343cb4f973c2934d6eda822fe9e61 |
File details
Details for the file altissimo-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.1.8-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45358667105bbbc0058fabc3efaa9847781c098ba29e979269d0fb5aca6eac9a |
|
MD5 | b3bc506a4200ae7ce84bf46bfb5b22fd |
|
BLAKE2b-256 | 28a46b3cd1430a9c3bd595a2878b4ff970d2e740a5765571596dccd0a0bea9f8 |