pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/datopian/datastore

6967feea1e66.css" /> GitHub - datopian/datastore · GitHub
Skip to content

Repository files navigation

Datastore API

A standalone datastore service for tabular data. It provides a simple API for creating tables, inserting / updating / deleting rows, and searching them with filters or SQL. It can serve as a CKAN datastore or run independently.

Storage backends and auth providers are pluggable and easy to extend:

  • Pluggable storageDATASTORE_ENGINE selects a backend (BigQuery today; DuckLake planned).
  • Pluggable authAUTH_TYPE selects a provider: ckan / jwt / anonymous.

Quick start

Requires Python 3.12+.

pip install -e ".[dev]"          # install (editable, with dev tools)
uvicorn datastore.main:app --reload   # run dev server
pytest                            # run tests

Open http://localhost:8000/datastore/api/docs for interactive API docs.

Configuration

All settings are environment variables mapping 1:1 to datastore.core.config.Config. Copy .env.example and fill it in. The essentials:

Var Default Purpose
DATASTORE_ENGINE bigquery Storage backend (folder under datastore/infrastructure/engines/)
AUTH_TYPE ckan Auth provider: ckan · jwt · anonymous
CKAN_URL CKAN base URL (required when AUTH_TYPE=ckan)
BIGQUERY_PROJECT / BIGQUERY_DATASET Required when DATASTORE_ENGINE=bigquery
REDIS_URL Cache backend; empty → in-process cache

Documentation

  • API.md — full API reference (endpoints, request/response, examples).
  • GET /datastore/api/docs — interactive Swagger UI (also /datastore/api/redoc and /datastore/api/openapi.json).
  • CLAUDE.md — architecture, design decisions, and layout.

License

See repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy