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.1.tar.gz
(23.2 kB
view details)
Built Distribution
altissimo-0.1.1-py3-none-any.whl
(25.7 kB
view details)
File details
Details for the file altissimo-0.1.1.tar.gz
.
File metadata
- Download URL: altissimo-0.1.1.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 768a13ca789f90cc340a1f3824ba1c9a2c9968f4451f718001342e192ec26947 |
|
MD5 | c54056e2cd995958eb6f0af3338b3853 |
|
BLAKE2b-256 | 8f0e5ff214274a8635912894205c6095d79b1128e17703f51c05b890b55780fa |
File details
Details for the file altissimo-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 25.7 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 | e54a28346c98fd140d973a626cf012395a3d39ad5d71ef693fb6af46bcf572c6 |
|
MD5 | 737202a1d04d92e05154a2865d7c100e |
|
BLAKE2b-256 | 9efe2105b338eb3f92b66c4953d43e6bcd625c35d23dde4aca437b1ab081a531 |