Skip to main content

motorical (Python)

Python client for the Motorical APIs: the transactional Send API, the Public API (analytics, logs, domains, webhooks, Motor Blocks) and the Communications API. One method per operationId in openapi.json, in snake_case, generated from it. Standard library only (Python 3.8+).

from motorical import Motorical, MotoricalError

m = Motorical(api_key="mk_live_...")  # Motor Block key
res = m.send_email(body={"from": "you@yourdomain.com", "to": "someone@example.com", "subject": "Hello", "text": "Hi", "dryRun": True})

Arguments: keyword arguments for path, query and header parameters (id=, days=; webhook_id= and webhookId= both work), the request body as body=, and workspace_id= for Communications calls.

Credentials: api_key, bearer_token, account_key, dashboard_token, workspace_id. Each method sends the credential its operation accepts.

Errors raise MotoricalError with status, code (branch on it: error codes), request_id and body.

A successful send is acceptance, not delivery: read the outcome with get_message or a webhook.

Metadata

Release files for motorical 0.1.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 motorical 0.1.0
File Size Uploaded Provenance Actions
motorical-0.1.0.tar.gz 18.8 kB With provenance Details for motorical-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 35.8 kB

Release files / motorical-0.1.0.tar.gz

Download URL motorical-0.1.0.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1fb766fef959fbf74e7f4e501737b2a59334f33efd0989ac3d7d2d5911c36a9d
BLAKE2b-256 checksum
How to use checksums
29d57f5ada97ed83f1ec22369fa0431a18348fcd9fbaa88829abdae615e24535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / motorical-0.1.0-py3-none-any.whl

Download URL motorical-0.1.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4a9d2321fdf06bebc5dbd45c8ed488c3d97e1507ca26fc34a03c11b19232f29
BLAKE2b-256 checksum
How to use checksums
febeb17e9de18a4b6016d66d7fa01d4b68538452b3be429914533c43c35a8806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for motorical 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for motorical-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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