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.3.tar.gz
(23.4 kB
view details)
Built Distribution
altissimo-0.1.3-py3-none-any.whl
(25.9 kB
view details)
File details
Details for the file altissimo-0.1.3.tar.gz
.
File metadata
- Download URL: altissimo-0.1.3.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 | 28e0ce2f534c6e3a16cf28da591a95552682e0617e8211617b6a12107e76553b |
|
MD5 | a8d726c9e4824766a7518f688ce90ede |
|
BLAKE2b-256 | daa49504075076aec8616db72d46c7868fde4b32760e4a76bc848ec7beae6492 |
File details
Details for the file altissimo-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.1.3-py3-none-any.whl
- Upload date:
- Size: 25.9 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 | d996608dc560d128a97da2475088c943e221aba5870b785065fa78f50ff18f23 |
|
MD5 | 3b585781e389f03e5eef27d0484d9267 |
|
BLAKE2b-256 | ae2f829863105d29b4411010900857dac0ed02f29a829fbc50e9e3079c6e67f7 |