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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instantlyai-0.2.4.tar.gz (159.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

instantlyai-0.2.4-py3-none-any.whl (79.4 kB view details)

Uploaded Python 3

File details

Details for the file instantlyai-0.2.4.tar.gz.

File metadata

  • Download URL: instantlyai-0.2.4.tar.gz
  • Upload date:
  • Size: 159.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for instantlyai-0.2.4.tar.gz
Algorithm Hash digest
SHA256 c8aa93a82ab756e1cacb6e8f4114af9f84116ff88bb96405f6c1f8d4eb7bcaa2
MD5 870a7fbaee8985eac32c5e69d0142f90
BLAKE2b-256 b1f10941e5e65728d6e3ea537210812a62b08efc5f81b0f0669fc50664a79d91

See more details on using hashes here.

File details

Details for the file instantlyai-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: instantlyai-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 79.4 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for instantlyai-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8a13dc5138804d36b3ee75bcd152fd6a6dc327cf6aa04c3c4ea1b457d894c58c
MD5 ad8f805e684b4a94728fb8eb6cbd49fb
BLAKE2b-256 a2c143417a868ef4427e6477fa3549219dca04ee04597017f0ed5a0928173d5a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.0.1

2 files

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