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.18.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.18-py3-none-any.whl (132.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goliath_utils-0.1.18.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.18.tar.gz
Algorithm Hash digest
SHA256 4c7bd730b7e6d13e16b0b2cb574034ae73d229f529572b87398db1f998bf0240
MD5 99cc46d460a50958f1d4e9b95cef4e9c
BLAKE2b-256 fe0c20e1e27e27e7b1b835c256528913c9252fdc8e33c6ea1ef28f5f4da1ff33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goliath_utils-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 132.3 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 d4bd3b0963d97ae7d03b5e0f909c74fc9bd4e3e481e3972ec3aefc1d2a39ffa2
MD5 f23cee351d888bb983b3c94deddaef5c
BLAKE2b-256 79e79e3a5e310b3f7c3e252698eea894247f5efcab9ec84dc65136b6fc0b9f76

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