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.6.tar.gz
(23.5 kB
view details)
Built Distribution
altissimo-0.1.6-py3-none-any.whl
(26.1 kB
view details)
File details
Details for the file altissimo-0.1.6.tar.gz
.
File metadata
- Download URL: altissimo-0.1.6.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d13f80cd577469c1b4bb65192b59f69722a3c2ba20ca8b79f84fd00f41a516 |
|
MD5 | 6dfe351427c729ba7fa872c94ba9d0c0 |
|
BLAKE2b-256 | c935c20d570c99606fbd53235cdf53714dfc678272377c5b19c6fe3165817611 |
File details
Details for the file altissimo-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.1.6-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.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0a522a393c8e6f15ea79153d641e1f92caebbf6fb81b29c7a9071ad5868f451 |
|
MD5 | df0fcd846184e9f2160e998e1db65495 |
|
BLAKE2b-256 | c5df76aea4d254b44392d6ae2493653abf6c5f22d79c65bc41347d5448002fcc |