Busabase
Busabase is an open-source (MIT) database and workspace for AI agents — data, docs, skills, and apps in one place. Run it locally, self-host it inside your network, or use Busabase Cloud, and turn age
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Typed market-data ingestion, validation, Parquet storage, querying, and time bars
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗TickerFlow is a Python backend that turns local market CSVs into validated, queryable API data.
Open the live demo → (synthetic OHLCV fixtures)
Problem: make local OHLCV data quality decisions visible before data is queryable.
uv sync --extra dev && uv run pytest; then follow the complete
seed → query demonstration.Market-data pipelines need deterministic ingestion, explicit schemas, visible quality decisions, durable storage, and stable query boundaries. TickerFlow provides that local workflow for financial time series, from CSV normalization through Parquet storage and feature-ready time bars.
/demo page.TickerFlow currently implements the first OHLCV backend slice:
ohlcv/symbol=<SYMBOL>/date=<YYYY-MM-DD>/data.parquet.[start, end)./health, /datasets, /symbols, /ohlcv, and /bars/time through FastAPI./demo.Input CSV fixtures use these columns:
timestamp,symbol,open,high,low,close,volume
Canonical rows use:
timestamp_utc: datetime[us, UTC]
symbol: uppercase string
open: float
high: float
low: float
close: float
volume: float
source: string
Prices are unadjusted fixture values in arbitrary currency units. OHLC prices must be finite, positive, and consistent with low/high bounds. Volume is a finite non-negative numeric quantity. Corporate actions and live data sources are intentionally out of scope.
uv sync --extra dev
uv run ruff format .
uv run ruff check .
uv run mypy src tests
uv run pytest
Run the API locally:
uv run uvicorn tickerflow.api.main:app --reload
Open the market-data demo UI:
open http://127.0.0.1:8000/demo
Example query after writing Parquet data into the configured data directory:
curl "http://127.0.0.1:8000/ohlcv?symbol=AAPL&start=2024-01-02T00:00:00Z&end=2024-01-04T00:00:00Z"
Catalog endpoints:
curl "http://127.0.0.1:8000/datasets"
curl "http://127.0.0.1:8000/symbols?dataset=ohlcv"
Time-bar endpoint:
curl "http://127.0.0.1:8000/bars/time?symbol=AAPL&start=2024-01-02T14:00:00Z&end=2024-01-02T16:00:00Z&interval=1h"
By default, the API reads from .tickerflow. Set TICKERFLOW_DATA_DIR to point at another local Parquet root.
The deterministic demo script lives in docs/DEMO.md.
The prepared homelab manifest uses sudo homelab project deploy tickerflow,
running the repository quality gate before activating an immutable release;
homelab is the author's private server tooling, not part of this repository.
Uvicorn is a runtime dependency, retained by production-only
uv sync --frozen --no-extra dev --no-editable. The API binds loopback behind
Caddy; /health checks readiness and the existing root redirects to /demo.
Set TICKERFLOW_DATA_DIR to writable state outside the release (the VPS
manifest uses /var/lib/homelab/tickerflow/data). Demo input remains synthetic.
The demo is published at https://tickerflow.lucaslebihan.dev/demo.
The main /demo uses bounded, committed cases through GET /demo/cases and
POST /demo/run. Each run keeps original string cells, normalized values and
actual row-level validation decisions, writes accepted rows to a request-local
Parquet store, queries with DuckDB and traces query rows into hourly/daily bars.
Temporary files are cleaned after the request; the shared persistent dataset is
not altered. The legacy /demo/seed and data/query APIs remain compatible.
Accepted + quarantined counts reconcile to the same input. Issue counts can overlap. Duplicate pairs are both quarantined. Invalid original values remain inspectable even when normalization produces null/non-finite values; response JSON uses safe nulls for non-finite normalized cells. Cases are synthetic, unadjusted OHLCV, UTC microseconds, currency-unit prices and synthetic volume.
Bars aggregate only the selected query's observations, use half-open UTC
intervals and do not fill gaps. Clipped edge intervals are marked. Exports contain
actual report/query/bar data and fixture hashes. Repeating a run demonstrates
canonical result reproducibility, not byte-identical Parquet files. No upload or
arbitrary SQL endpoint is exposed. The production wheel includes fixtures/assets.
Set DEMO_BUILD_REVISION to the actual build SHA or accept the honest unknown.
Run browser checks with node tests/browser/demo.cjs, Playwright available and
TICKERFLOW_DEMO_URL pointing at a local server. Hand-checked case expectations
live in tests/fixtures/demo_expected.json.