Skip to main content

instantlyai

PyPI version CI License Python versions

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 until 1.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.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for instantlyai 0.6.0
File Size Uploaded Provenance Actions
instantlyai-0.6.0.tar.gz 174.4 kB Without provenance Details for instantlyai-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for instantlyai 0.6.0
File Interpreter ABI Platform Actions
instantlyai-0.6.0-py3-none-any.whl Python 3 none any Details for instantlyai-0.6.0-py3-none-any.whl

Total release size: 267.2 kB

Release files / instantlyai-0.6.0.tar.gz

Download URL instantlyai-0.6.0.tar.gz
Size 174.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7dc3d0dd4e08c9f04c8b9be31f55a1d2aa0a1f04fa9f6746f72edd4ccff32f7d
BLAKE2b-256 checksum
How to use checksums
de9a9b5424bab2712d68050717cfcd7660bf67636251f451dc2c2b8f7f66aee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.6.0-py3-none-any.whl

Download URL instantlyai-0.6.0-py3-none-any.whl
Size 92.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a5e674fdb59e291941a92ea61fee736f95a818521a5b87c19b8e1cdc1c072e1
BLAKE2b-256 checksum
How to use checksums
d5e503a3f60d4692616246d1dd655a4b9c5b724a2f1679720d9b4d0cbdf2b3b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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}

Security for instantlyai 0.6.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page