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.12.tar.gz (89.7 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.12-py3-none-any.whl (125.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goliath_utils-0.1.12.tar.gz
  • Upload date:
  • Size: 89.7 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.12.tar.gz
Algorithm Hash digest
SHA256 fc377bbd2e85422a84180cc54e9ab96175262d58bd815a18795e9fd0bf1a9b1d
MD5 0e6bbc5d8571bd39539d956663369bf8
BLAKE2b-256 484908b58f11bce8b1988e8336a352614b3a702bd09610a338ade39595b16b5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goliath_utils-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 125.5 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 0d117512ca257e1d14ef7df2ccfa8432f93e20474889e28516d1cff049645e7c
MD5 e6f427bf7ff8c82d4d6fbbdabd9520d1
BLAKE2b-256 26e4e737617d72b37e59409e0ed61e26e03a46b5a0c1351b7e23fc554effe4a2

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