Ateve Python SDK
Official typed client for POST /v1/search. Requires Python 3.11+.
Install
pip install ateve
Synchronous
from ateve import Ateve, ContentOptions
with Ateve() as client: # reads ATEVE_API_KEY
response = client.search(
query="quantum computing",
date_range="week",
content=ContentOptions(summary=True, highlights=True),
)
print(response.results[0].title, response.usage.credits)
Asynchronous
from ateve import AsyncAteve
async with AsyncAteve() as client:
response = await client.search("quantum computing", limit=10)
Ateve owns and closes its default httpx.Client; AsyncAteve does the same
for its default httpx.AsyncClient. An injected http_client is borrowed and
never closed by the SDK. Reuse one Ateve client for its connection pool instead
of constructing one per request.
Each search call sends exactly one HTTP request. The SDK never retries,
backs off, or switches endpoints. This is intentional: a timeout/reset can
happen after the billable search already ran. ApiConnectionError exposes
request_may_have_been_sent; only DNS/connect/connect-timeout/pool-timeout
failures are classified as definitely not sent.
The built-in path defaults to a 60-second request timeout, 5-second connect
timeout, a 32 MiB response cap, and no redirects. Use
max_concurrent_requests for an optional fail-fast bulkhead.
Typed errors include AuthenticationError, PaymentRequiredError,
RateLimitError, InvalidRequestError, ServerError,
ApiConnectionError, ApiResponseError, and ConcurrencyLimitError.
RateLimitError preserves retry_after_seconds and limit_scope; retry
decisions remain caller-owned.
Search contract limits
Only the first 100 results are accessible: offset 0–99, limit 1–50. Pages crossing depth 100 are truncated. The content character limit defaults to 5000 per raw_content, after output format conversion; it does not enable raw_content. Use ContentOptions(raw_content=True, max_characters=8000). The limit is a positive signed 32-bit integer with no fixed business cap.
Metadata
Release files for ateve 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 |
|---|---|---|---|---|
| ateve-0.1.0.tar.gz | 10.8 kB | With provenance | Details for ateve-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ateve-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ateve-0.1.0-py3-none-any.whl |
Total release size: 20.9 kB
Release files / ateve-0.1.0.tar.gz
| Download URL | ateve-0.1.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d2673b239c226338f2d5637a34e80351c1b7fd1b1cbba19618f3791d2cbee0e
|
|
BLAKE2b-256 checksum How to use checksums |
2bc8941ed4a720c31772df3bfd2f3327c370e458806d9b68942c826fd2726e6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / ateve-0.1.0-py3-none-any.whl
| Download URL | ateve-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79afc580e4ea842097dba5351d5461fb1f5fbca0c8345c71f25d098925050437
|
|
BLAKE2b-256 checksum How to use checksums |
778070b71bd03a806efb0b46e2c473a5feff1b5e415c2334d277abb533b37392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logSecurity for ateve 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ateve-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logA 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.