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.20.tar.gz (95.2 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.20-py3-none-any.whl (132.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goliath_utils-0.1.20.tar.gz
  • Upload date:
  • Size: 95.2 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.20.tar.gz
Algorithm Hash digest
SHA256 40c205241ca69e21570168b734675cc076a4fa3ae1508561c1788b456a85f062
MD5 f6756eef03d6b7339136caffb7aebfbf
BLAKE2b-256 daed4b1bd7d288fead1680c2599d58c8bffd091aac3f4c6ff948958f67b32b56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goliath_utils-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 132.4 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.20-py3-none-any.whl
Algorithm Hash digest
SHA256 ad3477ab207c2872d193256c9689f378292078ab4f9606e498a22d36bf947e88
MD5 18439b445d2e7ecb6b265935abeb2752
BLAKE2b-256 61cbf4da0417b30675f5090334fbc68e8d5e038a6fa4f2776a5e14b8eae041bd

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