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.12.tar.gz
(23.9 kB
view details)
Built Distribution
File details
Details for the file altissimo-0.1.12.tar.gz
.
File metadata
- Download URL: altissimo-0.1.12.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71044dccaa57ae8a7181ea2caf8669339a31a30ca697308dd5dd41d42a2323c4 |
|
MD5 | 4b9f09cc3e9d2d194f7d8366ead19f0c |
|
BLAKE2b-256 | c5e50bf803874482184180e1abdd3b64e6a3705892ed9bb8b4abd2a94aaace3b |
File details
Details for the file altissimo-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.1.12-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e3d5546887d12cf0e717fe95f403c95edc101102adb7e55d0a12f153e4acbef |
|
MD5 | 42fa425ca1ad3e254bcc7191b35cee7a |
|
BLAKE2b-256 | ad91692c98e19c95f66f98c51e442cc765333002b5b77bc1207ca24acf536b25 |