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.14.tar.gz (92.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.14-py3-none-any.whl (128.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goliath_utils-0.1.14.tar.gz
  • Upload date:
  • Size: 92.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.14.tar.gz
Algorithm Hash digest
SHA256 29724f361489a66691ea1275d4f84c8cad72040a5548c80556bd27798e469f95
MD5 86ed3a0551f74b13db53bb214e243b9c
BLAKE2b-256 09b3036fef427a2e056c12031481f4cb092e924cf5bf3ee5c497e36a7573082b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goliath_utils-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 128.7 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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 9ba52f8458d40254c6c623889374069975234018232a8944b507afd138e68bc9
MD5 493a8f2932e7ee7c6c50cf21f3a6a666
BLAKE2b-256 5c6f0a5216f1c73a237e3ca2c8bd9a1478bd942ccc8589395706e4d4d5929021

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