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.11.tar.gz (44.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.11-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goliath_utils-0.1.11.tar.gz
  • Upload date:
  • Size: 44.2 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.11.tar.gz
Algorithm Hash digest
SHA256 31f209af2b8c4671a6015143c49b019c3da7d6362bde9949d845d9036cd2c8ae
MD5 33e9a4d6817c3948fd7b3255e399b0db
BLAKE2b-256 2d3565493779c33b4547a44a306a81d351292a0d104ac385c500497c8bfd647a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goliath_utils-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 54.8 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 38c6a6481fb0ea04838d936211c9d20b01aef16ea209355cf05053a0fabc098d
MD5 fa0dc403b1d1ea6b78778ab4bddbd5ae
BLAKE2b-256 03fabc49f7b11ae0765acef2e7382d7d34653c77cb610210b6e30e6928228df4

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