{"id":51090976,"url":"https://github.com/tesseralytics/python-client","last_synced_at":"2026-06-30T10:00:48.505Z","repository":{"id":365951749,"uuid":"1274382382","full_name":"tesseralytics/python-client","owner":"tesseralytics","description":"Official Python client for the Tessera Hyperliquid market data API","archived":false,"fork":false,"pushed_at":"2026-06-19T15:16:30.000Z","size":771,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T16:40:11.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tesseralytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-19T13:04:57.000Z","updated_at":"2026-06-19T15:16:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tesseralytics/python-client","commit_stats":null,"previous_names":["tesseralytics/python-client"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tesseralytics/python-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tesseralytics%2Fpython-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tesseralytics%2Fpython-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tesseralytics%2Fpython-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tesseralytics%2Fpython-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tesseralytics","download_url":"https://codeload.github.com/tesseralytics/python-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tesseralytics%2Fpython-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34961549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-24T02:00:21.427Z","updated_at":"2026-06-30T10:00:48.499Z","avatar_url":"https://github.com/tesseralytics.png","language":"Python","funding_links":[],"categories":["Market Data \u0026 Data Sources","Data Source"],"sub_categories":["Crypto"],"readme":"\u003cdiv align=\"center\"\u003e\n\n# tessera-api\n\n**Clean Hyperliquid market data — straight into Polars \u0026 DuckDB.**\n\n[![PyPI](https://img.shields.io/pypi/v/tessera-api.svg?v=2)](https://pypi.org/project/tessera-api/)\n[![Python](https://img.shields.io/pypi/pyversions/tessera-api.svg?v=2)](https://pypi.org/project/tessera-api/)\n[![CI](https://github.com/tesseralytics/python-client/actions/workflows/ci.yml/badge.svg)](https://github.com/tesseralytics/python-client/actions/workflows/ci.yml)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE)\n\nThe official Python client for [**Tessera**](https://tesseralytics.dev) — order-flow-enriched\nOHLCV, funding-rate, and positioning datasets built from raw Hyperliquid trade data,\ndelivered as Parquet over a REST API.\n\n\u003c/div\u003e\n\n---\n\n`tessera-api` is built for quants and analysts who would rather write a query than babysit a\ndownload. Point it at a `(dataset, coin, month)` and get a **Polars `LazyFrame`** or a **DuckDB\nrelation** back — read straight from object storage over range requests, with predicate and\nprojection pushdown. No temp files, no `pandas` round-trips, no glue code.\n\n## Install\n\n```bash\npip install \"tessera-api[polars]\"     # the headline path\npip install \"tessera-api[duckdb]\"      # query with SQL instead\npip install \"tessera-api[all]\"         # polars + duckdb + pandas escape hatch\n```\n\nGrab a free API key (no card required) at **[tesseralytics.dev](https://tesseralytics.dev)** and\nexport it:\n\n```bash\nexport TESSERA_API_KEY=\"sk_...\"\n```\n\n## Quickstart\n\n```python\nimport polars as pl\nimport tessera\n\nclient = tessera.TesseraClient()  # reads $TESSERA_API_KEY\n\n# Browse the catalog\nfor ds in client.datasets().datasets:\n    print(ds.name, ds.coins, ds.months.earliest, \"→\", ds.months.latest)\n\n# One month of BTC minute candles → a Polars DataFrame. Read remotely, no temp files.\ndf = client.read(\"gold_ohlcv_1m\", \"BTC\", \"2026-05\")\nprint(df.select(\"time\", \"close\", \"cvd\", \"vwap\").tail())\n\n# Lazy + pushdown: only the bytes you actually need cross the wire.\nlf = client.scan(\"gold_ohlcv_1m\", \"BTC\", tessera.MonthSpan(\"2025-10\", \"2026-05\"))\nbig_prints = lf.filter(pl.col(\"aggressor_delta\").abs() \u003e 1_000).collect()\n```\n\nPrefer SQL?\n\n```python\nrel = client.to_duckdb(\"gold_ohlcv_1m\", [\"BTC\", \"ETH\"], \"2026-05\")\nrel.filter(\"close \u003e open\").aggregate(\"coin, avg(cvd) AS mean_cvd, count(*) AS n\", \"coin\").show()\n```\n\nEverything is `async`-native too — swap in `tessera.AsyncTesseraClient` and `await` it.\n\n## Why it's fast\n\n- **Remote range reads.** `scan()` hands Polars (or DuckDB) a presigned Parquet URL; only the\n  footer and the row-groups/columns your query touches are fetched.\n- **Lazy by default.** Build a query graph across many months, then `.collect()` once.\n- **Parquet end-to-end.** Tessera ships columnar Parquet; this client never detours through CSV\n  or `pandas`.\n\n## Datasets\n\n| Dataset | Granularity | Tier | Highlights |\n| --- | --- | --- | --- |\n| `gold_ohlcv_1m` | 1 minute | Free + Pro | OHLCV, CVD, aggressor delta, VWAP, fees |\n| `gold_funding_1h` | 1 hour | Pro | Funding rates |\n| `gold_positioning_1h` | 1 hour | Pro | Open-interest / positioning analytics |\n\nFree tier covers BTC, ETH, SOL, HYPE. Pro unlocks every coin (including HIP-3 markets) and the\nfunding/positioning datasets. See **[the docs](https://tesseralytics.dev/python-client)** for the\nfull column reference and recipes.\n\n## Documentation\n\n- 📚 **Guide \u0026 API reference:** \u003chttps://tesseralytics.dev/python-client\u003e\n- 🧑‍💻 **Runnable examples:** [`examples/`](examples/)\n- 🌐 **Product \u0026 pricing:** \u003chttps://tesseralytics.dev\u003e\n\n## License\n\nGPL-3.0 © Tessera. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftesseralytics%2Fpython-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftesseralytics%2Fpython-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftesseralytics%2Fpython-client/lists"}