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.13.tar.gz
(24.1 kB
view details)
Built Distribution
File details
Details for the file altissimo-0.1.13.tar.gz
.
File metadata
- Download URL: altissimo-0.1.13.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4483f1c35038debb5cb0260c2775be2c72002316cc6dcebf234dd934a7ad353d |
|
MD5 | 314db7dae038d0ebd6325a3c4c3cb743 |
|
BLAKE2b-256 | 3c9433b102b9b56e4ca77d6963a0bb6399e5bcc4e57d6fd79553e677c25b21c9 |
File details
Details for the file altissimo-0.1.13-py3-none-any.whl
.
File metadata
- Download URL: altissimo-0.1.13-py3-none-any.whl
- Upload date:
- Size: 26.9 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 | 3fd5dc3599c7888b6c638c74be1d4dbc2a41ce35f82967bd656b918005d567b1 |
|
MD5 | ec33ebb42cbfcb77760ab0c84f13af17 |
|
BLAKE2b-256 | 151bcc207cfc8d0e9f44ac3c326ffb1d50046258a8b6099d83930336e52ddf4f |