Skip to main content

Python SDK and CLI for IterFact interactive documents.

Project description

iterfact

Installable CLI and MCP server for IterFact interactive documents.

Install

pip install iterfact

Connect your account

Account-bound package calls use an IterFact account token. The simplest setup path is:

iterfact configure

That command opens iterfact.com/settings/tokens, prompts for an itf_... token, and saves it to:

~/.iterfact/config.json

You can also pass a token directly in Python:

from iterfact import IterFactClient

client = IterFactClient(api_key="itf_...")

Read-only checks like health() and analyze_upload_artifact_html(...) can run without a token. Account-bound operations like uploads, generation, and page publishing use the credits and permissions of the connected IterFact account.

Run

iterfact-mcp --host 0.0.0.0 --port 8000

Or:

iterfact mcp --host 0.0.0.0 --port 8000

What it includes

  • the IterFact MCP server
  • the bundled IterFact template vault
  • the CLI entrypoints needed to run IterFact locally
  • the Python client for calling the live IterFact MCP and status endpoints

Notes

  • For local preview and screenshot features, install Chromium for Playwright:
python -m playwright install chromium
  • Configure the required environment variables before running against your own services.

Telemetry

The official CLI sends a small anonymous usage ping on:

  • first successful local use
  • then at most once per 24 hours per command

It includes package version, Python version, OS, entrypoint, and command name. It does not send prompts, files, artifact contents, or account credentials.

Disable it with:

ITERFACT_NO_TELEMETRY=1

Package download analytics are measured separately through the public PyPI ecosystem:

  • pypistats.org
  • pepy.tech
  • the official PyPI BigQuery dataset

Project details


Download files

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

Source Distribution

iterfact-0.2.2.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

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

iterfact-0.2.2-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

Details for the file iterfact-0.2.2.tar.gz.

File metadata

  • Download URL: iterfact-0.2.2.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for iterfact-0.2.2.tar.gz
Algorithm Hash digest
SHA256 447829790a10b348e795c763199f33dff7cc6976f268d29b91207237dab6a5d0
MD5 306b3a0ad35039845d457d44bbb82a54
BLAKE2b-256 ecd80bd5c59b458b34ed366966643ef8f46c52d68ffb6a95d5792e5c3fb418b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for iterfact-0.2.2.tar.gz:

Publisher: publish-pypi.yml on luapkralc90/iterfact

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file iterfact-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: iterfact-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 37.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for iterfact-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 74fb61fc98a4c751e55a655e7835fcfcdaa5a5c1aa8b00791c0ac65cd90a8867
MD5 d2de9713e474c367581df3169534f755
BLAKE2b-256 8cd9d492abe2364adc03d9cc94613a6a6ed1848c36ec16752b02e2786c32a54c

See more details on using hashes here.

Provenance

The following attestation bundles were made for iterfact-0.2.2-py3-none-any.whl:

Publisher: publish-pypi.yml on luapkralc90/iterfact

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page