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.9.tar.gz
(23.7 kB
view hashes)
Built Distribution
altissimo-0.1.9-py3-none-any.whl
(26.2 kB
view hashes)
Close
Hashes for altissimo-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0296cc71c407fb72e6b8bd80917766a881a0041c6be4b3680c07abeb881f7899 |
|
MD5 | 5664669aaac7cf26feb9347f5f549eaa |
|
BLAKE2b-256 | e8a3039c2238381ebaa6ef910faaee0bef61bcfee6f950c19b0dae9cff4b08ca |