Skip to main content

Lightweight internal utilities for the Goliath platform

Project description

goliath-utils

Lightweight internal utilities for the Goliath platform.

Install

uv add goliath-utils

S3 Client

A minimal S3 client using httpx — no boto3 required.

from goliath_utils.s3 import S3Client

# Reads AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION from env
with S3Client() as s3:
    s3.create_bucket("my-bucket")
    s3.upload_file("my-bucket", "data/file.csv", "./file.csv")
    s3.download_file("my-bucket", "data/file.csv", "./downloaded.csv")
    keys = s3.list_objects("my-bucket", prefix="data/")
    s3.delete_bucket("my-bucket")

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

goliath_utils-0.1.24.tar.gz (95.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goliath_utils-0.1.24-py3-none-any.whl (132.5 kB view details)

Uploaded Python 3

File details

Details for the file goliath_utils-0.1.24.tar.gz.

File metadata

  • Download URL: goliath_utils-0.1.24.tar.gz
  • Upload date:
  • Size: 95.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for goliath_utils-0.1.24.tar.gz
Algorithm Hash digest
SHA256 21b68cd0fe83c618623d4be3fd0d537c60e74a8a50996e4daf6d1b0edfc620e5
MD5 fd63c7d90f6e0cc840ed458bff613198
BLAKE2b-256 f72f37048bc009777f60bef9ae063b5871caa2de322b66d0b7b3a24a1a47a6a5

See more details on using hashes here.

File details

Details for the file goliath_utils-0.1.24-py3-none-any.whl.

File metadata

  • Download URL: goliath_utils-0.1.24-py3-none-any.whl
  • Upload date:
  • Size: 132.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for goliath_utils-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 2b524b4f03a94772f4a553951cd5b1f95fb0724428690a957d097a018370a72c
MD5 91910530ea6e18b4c6422ac885c1af23
BLAKE2b-256 dcc6f50380639b929df7fce7bca06fbecd736b683f4be1dd0e5569f6bd21fa3e

See more details on using hashes here.

Supported by

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