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.2.tar.gz
(23.4 kB
view details)
Built Distribution
altissimo-0.1.2-py3-none-any.whl
(26.0 kB
view details)
File details
Details for the file altissimo-0.1.2.tar.gz
.
File metadata
- Download URL: altissimo-0.1.2.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f1329c9b6789e8bf8743094924402748f359e7c969e7cff4479dc7a41f7c061 |
|
MD5 | 5385c80d303a408b63da3036895dcb7f |
|
BLAKE2b-256 | e148634eedfcf2d78d8b8e75d258235afee5981edcdc67bdc0bbba8ff244e89e |
File details
Details for the file altissimo-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.1.2-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0711c5527cd25daf9517787ddf15c573efa1821980fd841dbd360f65800b96b |
|
MD5 | 7d8004dfe15510b5b34dedaa3387d67c |
|
BLAKE2b-256 | ceb10e3fc7d292fdea9aae51a1f7bdc210ffc56205ae4e2676a16106c3bbe4c6 |