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.11.tar.gz
(22.4 kB
view details)
Built Distribution
File details
Details for the file altissimo-0.0.11.tar.gz
.
File metadata
- Download URL: altissimo-0.0.11.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 | c7c4fc4f45416ceadf1c7b5315b42736dcacc0d27dac813e29220fa206767bca |
|
MD5 | 3d6d1126adc510b9a824a36e85b007d2 |
|
BLAKE2b-256 | 4dd694a5d1b7def425adfac6593fe43a5f4dd5297c9f3c40a697f29cdf6368c4 |
File details
Details for the file altissimo-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.0.11-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 | 2a9747059e8013fb42839649f697b2da2e9a61724e85fe4e2d6ebaf06330502f |
|
MD5 | 885202df8947d097b39e41ed720cceec |
|
BLAKE2b-256 | f864ee47a681e0a878c04b73558c9c5dd573c444554863533d64115ae00b6027 |