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-storageduckdb
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file altairant-1.0.1.tar.gz.
File metadata
- Download URL: altairant-1.0.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ede88b1eac4c2812f04c38e8d975cc998a4b9cd134884503008e339555b530c
|
|
| MD5 |
5f187537f08b5c0c43db061183fcf9c7
|
|
| BLAKE2b-256 |
e0cd3bacd068858f6941f4d48daa7c5d6c3e6b7f3f53e692deceebfa36337d9f
|
File details
Details for the file altairant-1.0.1-py3-none-any.whl.
File metadata
- Download URL: altairant-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1e8ebd8fbc6f44720b9c94205bd801de46a4c82b6366e2dd60bccfa7277f35e
|
|
| MD5 |
258cb853321d1d0b4a3441eff6b67d10
|
|
| BLAKE2b-256 |
d2b2b324241d68afd8dd3f9592fa81ba363b6eaebf415e406335b2e49a596f41
|