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.0.1.tar.gz (6.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.0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: altairant-0.0.1.tar.gz
  • Upload date:
  • Size: 6.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.0.1.tar.gz
Algorithm Hash digest
SHA256 a9007acd565486145a10d8928e60830e496c96bcb363107c661ca395a8f01db6
MD5 b04acdad0a856993d74c76cb0adba007
BLAKE2b-256 d54d2d9e3c26d0a855c70cc2e1618f679ba4087e61323f68e5c77f22164c901d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: altairant-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a21cfcd8ab0f6b2fdf42c564bc197ebce11ee09265c999825ac0824d0580ed41
MD5 dd88169fed9429a8da66b239116eba27
BLAKE2b-256 df0fe06d2a8d88b5bcc5762bf4bccadf01f1547e5c93dd62b2c7c8ebed1e7ae3

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