dspy-datacircle
Find the best GTM APIs. We benchmark all the GTM APIs and we put the results on our website: https://datacircle.dev
This package gives DSPy four tools on Datacircle's open API, https://api.datacircle.dev/v1. You need no key and no account.
pip install dspy-datacircle
| Tool | What it gives | Call |
|---|---|---|
datacircle_list_apis |
Every GTM API on Datacircle, with its slug, number of plans and providers, and its best plan | GET /apis |
datacircle_best_plans |
One API's plans, best first by score out of 100, each with its rank and price per 1,000 calls | GET /apis/{slug}/best |
datacircle_search_plans |
Plans by provider or plan name, on every API or one, sorted by score, provider or price | GET /plans |
datacircle_provider |
The APIs a provider sells and its rank on each | GET /providers/{slug} |
Use
import dspy
from dspy_datacircle import datacircle_tools
dspy.configure(lm=dspy.LM("openai/gpt-4o-mini"))
agent = dspy.ReAct("question -> answer", tools=datacircle_tools())
print(agent(question="Which email finder API is best for under $5 per 1,000?").answer)
Any DSPy model works. datacircle_tools(include=["best_plans", "provider"]) gives only some of the tools. dspy.RLM takes the same tools: the code it writes calls them by name.
Each tool is also a plain function that gives a dict:
from dspy_datacircle import best_plans
best_plans(slug="email-finder", limit=3)
An unknown slug or a value out of range comes back as {"error": ...} with the API's words (an unknown API's answer lists every slug).
Network
Each call makes one HTTPS GET to https://api.datacircle.dev/v1 with the tool's arguments and nothing else. The API takes up to 60 calls a minute from one address; the tools wait once, a minute at most, when it asks them to. Every plan is also one file at https://datacircle.dev/datacircle.json.
Links
- Datacircle: https://datacircle.dev
- The API: https://datacircle.dev/api
- Its spec: https://api.datacircle.dev/v1/openapi.json
- What each key means: https://datacircle.dev/fields
MIT license.
Metadata
Release files for dspy-datacircle 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dspy_datacircle-0.1.0.tar.gz | 8.0 kB | Without provenance | Details for dspy_datacircle-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dspy_datacircle-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for dspy_datacircle-0.1.0-py3-none-any.whl |
Total release size: 16.3 kB
Release files / dspy_datacircle-0.1.0.tar.gz
| Download URL | dspy_datacircle-0.1.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35910d8ba1777615c2708d23ad50207a3e0cad59c0491d3582173956160adc60
|
|
BLAKE2b-256 checksum How to use checksums |
f38c0396b5d901a251eda8f380fd1937e0b762a863ce30835e6846d75624fd93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dspy_datacircle-0.1.0-py3-none-any.whl
| Download URL | dspy_datacircle-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3e9f81dba5c21cd06f70eeed3029e28be179dcab9cb9b58bc21f5f02e98718b
|
|
BLAKE2b-256 checksum How to use checksums |
c6957cb2858cbe19d7a35a68534e19b17ce1347a206b722dcf848546071fce52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for dspy-datacircle 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.