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.9.tar.gz
(22.4 kB
view details)
Built Distribution
altissimo-0.0.9-py3-none-any.whl
(24.6 kB
view details)
File details
Details for the file altissimo-0.0.9.tar.gz
.
File metadata
- Download URL: altissimo-0.0.9.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 | 85d73e83a86c8c02e91dea877b5811fac4329ebe9cdd862ff280f4446e7de7e5 |
|
MD5 | cd04f90d3e87d8d34f63f2c1a8eca030 |
|
BLAKE2b-256 | 154e4078d048c69141df69c2023b3d8ec200c1615e62e4cdb7cc105ed43a9131 |
File details
Details for the file altissimo-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.0.9-py3-none-any.whl
- Upload date:
- Size: 24.6 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 | dc2e4495b3dd881a494b6aa701706573a01177114493ea371ceff62669c942eb |
|
MD5 | 8cd4eea3b181aa8362b2de7a15ea151e |
|
BLAKE2b-256 | ff90fef15f7c4bd0a9bb6fe42f6d4149e1aa0b2cc009f9b0cb308f2b8407c752 |