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.