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

Uploaded Python 3

File details

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

File metadata

  • Download URL: goliath_utils-0.1.22.tar.gz
  • Upload date:
  • Size: 95.3 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.22.tar.gz
Algorithm Hash digest
SHA256 7c525e8737cc8035338470c34ca250d1b4ed8732d3228b919e3c45de19902fef
MD5 f4b431b197d7cded9ed562b8badc27c6
BLAKE2b-256 f53642884697ab0333c3c3ea7952e0dbba60a819c16c0304d3b0e43ef540ff1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goliath_utils-0.1.22-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.22-py3-none-any.whl
Algorithm Hash digest
SHA256 e13f37ba0eeb1128af65205b8d079f4b0d843629dc3781f7b4c61a478496464e
MD5 f9b4f1e4b00e0715351798aab0fead08
BLAKE2b-256 73421a08f800ab7be426dddd5907bbcbac3de30a3a907cd74a303a11f9e85ed8

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