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.0.12.tar.gz
(22.4 kB
view details)
Built Distribution
File details
Details for the file altissimo-0.0.12.tar.gz
.
File metadata
- Download URL: altissimo-0.0.12.tar.gz
- Upload date:
- Size: 22.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 | 2d8e2a140f8bf8c8e7d96648312bca2876fe47837a451d666903c3d71056d86b |
|
MD5 | 17e948eb112bdcbcd13f219d961007bb |
|
BLAKE2b-256 | 8afddb83fda9526be4a0948b6573f273770d4012e6c98203b9d224a4619c9cf5 |
File details
Details for the file altissimo-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.0.12-py3-none-any.whl
- Upload date:
- Size: 24.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 | 93ba1f7009956fb3e3a50a14a095418dbd5b9e02d634a54d19e90f4d790ce574 |
|
MD5 | 7d6b700c7c98704a81a479cd6e97776e |
|
BLAKE2b-256 | 9964767d957032c7ed53ae9de722844ac673e46a7a4d09b39fcdc179829a5975 |