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.2.tar.gz (26.8 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.2-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goliath_utils-0.1.2.tar.gz
  • Upload date:
  • Size: 26.8 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.2.tar.gz
Algorithm Hash digest
SHA256 a0a1d7a49dc94e3f3ab2ec5a3316889aade45166ecef04affacc8561f2316925
MD5 9a942b45f67f3c50830e8c09313f53cc
BLAKE2b-256 832ad810a505c0eb2709d25b6c719aeead1e35cd8f3ca865bce082aeca0b5cfe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goliath_utils-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 32.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a58f8fd39e4f66e6fd6b0df51b35997bc31679b88a85989282c4c12af5f3f55
MD5 432e426762965681d1396058dda6e531
BLAKE2b-256 763c9f99e1f1140553cb4e4ced51fb35f6900a883aa66dd1b54472c249575d25

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