instantlyai
A typed, importable Python client for the Instantly.ai V2 API.
- A clean, resource-based client:
client.campaigns.list(...),client.leads.create(...). - Full end-to-end typing, generated from Instantly's OpenAPI spec -- real editor and type-checker support.
- Sync and async clients from a single codebase (
Instantly/AsyncInstantly). - Typed exceptions, auto-retry with backoff, and auto-paginating list methods.
Status: pre-1.0 (
0.x). Minor version bumps may include breaking changes until1.0.0-- pin accordingly. See the changelog.
Install
pip install instantlyai
Quickstart
Set INSTANTLY_API_KEY in your environment, or pass api_key=... explicitly.
"""Quickstart: authenticate and list your campaigns.
Runnable as-is once ``INSTANTLY_API_KEY`` is set in the environment. Also
executed in CI (see ``tests/test_examples.py``) against a mocked API, so this
file can never drift from what actually works.
"""
from __future__ import annotations
import instantlyai
def main(client: instantlyai.Instantly) -> None:
for campaign in client.campaigns.list(limit=10):
print(campaign.id, campaign.name)
if __name__ == "__main__":
with instantlyai.Instantly() as client: # reads INSTANTLY_API_KEY from the environment
main(client)
Async usage is the same shape, with AsyncInstantly and await/async for.
Docs
Full documentation, including the tutorial and API reference, lives at https://exprtec.github.io/instantlyai-python-sdk.
Contributing
See CONTRIBUTING.md.
Metadata
Release files for instantlyai 0.3.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 | |
|---|---|---|---|
| instantlyai-0.3.0.tar.gz | 170.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| instantlyai-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 260.2 kB
Release files / instantlyai-0.3.0.tar.gz
| Download URL | instantlyai-0.3.0.tar.gz |
|---|---|
| Size | 170.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f886211868d0bd4726dfcdfdc0e38aff3c37dd412b294fcc086d2d79b62c09e
|
|
BLAKE2b-256 checksum How to use checksums |
b55b8a97a807372f044f9678de652d678678a517a775843d800c259910edac87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / instantlyai-0.3.0-py3-none-any.whl
| Download URL | instantlyai-0.3.0-py3-none-any.whl |
|---|---|
| Size | 89.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15d528ff44b9cb7c71fa67f2c08d47ac8b3c75f59aa73c567acc3dbe9bdd31a4
|
|
BLAKE2b-256 checksum How to use checksums |
1f30260bde1d08d727a5c1cdc6293377489a15d4ab0993a43415b8b956703139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|