This release is a pre-release and may not be stable for production use.
convilyn
Official Python client for the Convilyn API — convert files, run AI workflows, and ship in five lines of Python or a single shell command.
pip install convilyn
export CONVILYN_API_KEY=ck_...
convilyn convert report.docx --to pdf
from convilyn import Convilyn
client = Convilyn() # reads CONVILYN_API_KEY from env
file = client.files.upload("report.docx")
job = client.convert.create_and_wait(file=file, target_format="pdf")
client.convert.download_to(job, to="report.pdf")
What you get
-
Offline conversion — no API key —
convilyn.localconverts PDF, Word, PowerPoint, Excel, CSV, XML and plain text to Markdown entirely on your machine. No connection, no account, no quota. Install one extra per format you read (convilyn[pdf],convilyn[docx], …); plain text and CSV need none.convilyn local doctorreports what this machine can do and how to extend it. See QUICKSTART §1b. -
Python SDK —
Convilyn(sync) andAsyncConvilyn(async) with resource-style accessors:client.files,client.convert,client.goals(agentic / AI workflows with HITL slot filling),client.workflows(community marketplace),client.user_workflows(manage the workflows you authored),client.builder(chat-Builder sessions), andclient.account(billing tier + cost-preview).Goal progress is polling-only in v1. Follow a run with
client.goals.wait(...)/retrieve(...)(orconvilyn goals statusfrom the shell). The WebSocket gateway does not accept consumerck_keys yet, sogoals.events()streaming raises with guidance pointing back at polling until that lands. -
CLI — five sub-command groups installed with the package:
convilyn convert <file> --to <format>— upload, convert, downloadconvilyn doctor— environment + connectivity diagnosticsconvilyn api <METHOD> <PATH>— gh-style escape hatch for any API endpointconvilyn goals {start,status,events,fill-slot,confirm,cancel,retry}— drive AI workflows from the shell (NDJSON streaming, HITL, pinned exit codes)convilyn account {plan,quota}— pre-flight your billing tier and workflow cost before running
-
Free to install, metered to use —
pip install convilynis free. API calls draw on your monthly quota (a generous free tier is available; Pro lifts the cap). The SDK raises typedPlanRequiredError/QuotaExceededError(both subclassAPIError) when an action exceeds your tier — see QUICKSTART §8. -
Resilient by default — retry on 5xx / 429 / 408 with exponential backoff + jitter,
Idempotency-Keyauto-stamped on mutating verbs,Retry-Afterhonoured. -
AI-agent friendly — every command supports
--jsonfor machine-readable output,--dry-runfor safe previews, and pinned exit codes (0 / 1 / 2 / 3 / 130) so agent loops can branch on the result without parsing free-text.
Companion package — building your own workflows
convilyn is the consumer SDK (you call the API). If you want to
build a tool server or author a workflow spec for the Convilyn
platform, install the author SDK:
pip install convilyn-author # separate package
convilyn-author init my-server
The two packages are intentionally separate so consumers don't pay
the uvicorn / FastAPI dependency cost. See
convilyn-author
for its source and docs.
Next
- QUICKSTART.md — 5-minute new-user guide (covers convert, goals, workflows, and account / quota chapters)
- STABILITY.md — what the public API is and the SemVer / deprecation promise behind it
- CHANGELOG.md — version history
- examples/ — runnable Python + shell scripts
- AGENT.md — guidance for AI coding agents contributing to this SDK
Licence
Apache-2.0. See LICENSE.
Release files for convilyn 1.6.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| convilyn-1.6.0b1.tar.gz | 1.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| convilyn-1.6.0b1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / convilyn-1.6.0b1.tar.gz
| Download URL | convilyn-1.6.0b1.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8046dfdfed2cee904a9f9db16affec426713ccb1d24786228eefdf1b662d8f40
|
|
BLAKE2b-256 checksum How to use checksums |
c98f644f3e48a2c28c2c32cfa801ddcb397aca7e9b950f80a91b19aebb0daf61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / convilyn-1.6.0b1-py3-none-any.whl
| Download URL | convilyn-1.6.0b1-py3-none-any.whl |
|---|---|
| Size | 194.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8dbc2d276e3a27dc18daa15ab8813170585575b861d412b72764fc3aca94f40d
|
|
BLAKE2b-256 checksum How to use checksums |
2e6ac14e0f8730f154793feb817c79226609cc42fab8b831af54f19bbc6b2c67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|