Skip to main content

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


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.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

altissimo-0.1.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file altissimo-0.1.0.tar.gz.

File metadata

  • Download URL: altissimo-0.1.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for altissimo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 af26ec63dd16711282ef06f0a93dfbf8872ffe02ebe68b5434058172e91260b2
MD5 a516a6d0b3cc13e0b2975da374b02af0
BLAKE2b-256 1eded7f6929fa26e8f8fe35d75e837a0e47f3ac4eb7f931542f252ecdd28a333

See more details on using hashes here.

File details

Details for the file altissimo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: altissimo-0.1.0-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

Hashes for altissimo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 764c12a6f9d2ecc09f96ff959ddc56a529a9b7df34121eb1803af795aaa75cde
MD5 5f52b5109a49807f3c15219fec0b1705
BLAKE2b-256 9af383371751ab6fd39cef569a2bec36df4041709030fa1cc014d543c5a3b930

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page