Skip to main content

A Python library that provides unified utilities for working with local and cloud-based data, including DuckDB database wrappers and file system abstractions for Google Cloud Storage (GCS). It enables seamless database operations, context-managed file access, and automatic synchronization between local and remote storage, with an extensible design for additional backends and features.

Project description

AltairAnt

A small Python project to work with Google Cloud Storage and DuckDB.

Overview

This repository contains utilities for accessing GCS files and integrating with DuckDB.

Requirements

  • Python 3
  • google-cloud-storage
  • duckdb

Install dependencies with:

pip install -r requirements.txt

Usage

Update the JSON_KEY path in main.py with your GCS service account key file and implement the main() logic as needed.

Run the main script:

python main.py

Tests

There are test files under gcs/ for the GCS file system and DuckDB integration.

python -m pytest

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

altairant-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

altairant-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file altairant-0.1.0.tar.gz.

File metadata

  • Download URL: altairant-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for altairant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 542c1bf92200d106fef9de3753bc21a9b5977da0a61598f1d2605e4a2c908edc
MD5 71850e0b9e45154ec75e9dede17d8d72
BLAKE2b-256 3f3089a0ffcef54e9e1319e7b676c800a1e2a66c6a56a903e201fc80e8d98b45

See more details on using hashes here.

File details

Details for the file altairant-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: altairant-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for altairant-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68703a21b63e46550ec2b7ec029563474c68b886b7b531bebef52e3ab044f2e1
MD5 f93e50c66779b9cfd1c1b14431182cac
BLAKE2b-256 bb6b577b1912a87a7ef5065fe3ab481f66c3a6b1b0ce415eab2b8d26807664a6

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