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.1.tar.gz (5.3 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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for goliath_utils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8bcec5701956b425fc57000fbdc75d5979a5797c7582c9bbffab371308dad404
MD5 7a7c99c5e48be05dc12cbf63ebd25346
BLAKE2b-256 959dc7ffeb822615935e4d503f76ffa91e570766951d8c205a33d720b650030f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for goliath_utils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2760d1f7ba4162e82f9e2b77d675aea9ee94f2244bc11d16680b8b8d2eeffde3
MD5 f5b2b0f2992ee098706e02238b8b5197
BLAKE2b-256 115e0936cdceb0be94f41d501d9393c6247e85f77515edda482f17bb1d8239ef

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