marketorestpython
Python Client for the Marketo REST API
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is mature (first released in 2015), permissively licensed, and has no known vulnerabilities. Install friction is high and maintenance is aging (291 days since last release), but the repository is not archived and remains minimally active. Install it if you need straightforward Marketo REST API access in Python and can tolerate a source tarball distribution; avoid it if you require cutting-edge maintenance or guaranteed support for the latest Python versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires valid Marketo credentials (munchkin_id, client_id, client_secret) and network access to Marketo REST API endpoints.
- High install friction reported; no runtime dependencies, but the package itself is distributed as a source tarball.
- Maintenance status is aging—last release was 291 days ago, though the repository remains active with a recent commit on 2025-10-27 and 140 stars.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive); you may use, modify, and distribute this package freely in commercial and private projects, provided you retain the license notice.
last release 2025-10-27 (291 days) · last repo commit 2025-10-27 · 140 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 236,518 downloads/mo, #8,981 on PyPI
Alternatives
Verify before relying
pip install marketorestpython
from marketorestpython.client import MarketoClient
mc = MarketoClient(
munchkin_id="000-AAA-000",
client_id="your_client_id",
client_secret="your_client_secret"
)
lead = mc.execute(method='get_lead_by_id', id=3482141)- Whether the package works with modern Python versions (requires_python is unspecified in metadata).
- Current state of test coverage and whether Travis CI is still actively testing pull requests.
- Whether the high install friction is due to packaging issues or just source distribution format.
What it is and what it does
marketorestpython is a Python wrapper around Marketo's REST API that abstracts away authentication token management, request rate limiting, and error handling. It exposes Marketo's lead, list, activity, and campaign operations through a simple execute() method interface, allowing you to query leads by ID or filter, retrieve program members, create or update leads in bulk, and manage lead program status without manually constructing HTTP requests or managing OAuth tokens.
The library enforces Marketo's standard rate limit of 100 calls per 20 seconds automatically and supports optional per-instance call limits and retry logic for transient failures. It has no external runtime dependencies, making it lightweight to install, though it requires valid Marketo credentials and network connectivity to function. The package is a maintained fork of an earlier stalled project and includes generator-based methods for efficiently paginating large result sets.
Use it for
- Bulk import or sync lead records from external systems into Marketo by calling create_update_leads with batches of lead objects.
- Query and retrieve lead data by email, ID, or list membership to populate dashboards or feed downstream analytics systems.
- Automate lead status updates across programs (e.g., marking leads as 'Registered' after a webinar) without manual Marketo UI interaction.
- Stream large lead lists from Marketo using generator methods to avoid memory overhead when exporting thousands of records.
- Associate web cookies or tracking tokens with lead records to unify anonymous and known visitor behavior in Marketo.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is mature (first released in 2015), permissively licensed, and has no known vulnerabilities. Install friction is high and maintenance is aging (291 days since last release), but the repository is not archived and remains minimally active. Install it if you need straightforward Marketo REST API access in Python and can tolerate a source tarball distribution; avoid it if you require cutting-edge maintenance or guaranteed support for the latest Python versions.
Install
marketorestpython on PyPI
Before you install
High install friction reported; no runtime dependencies, but the package itself is distributed as a source tarball. Maintenance status is aging—last release was 291 days ago, though the repository remains active with a recent commit on 2025-10-27 and 140 stars.
Requires valid Marketo credentials (munchkin_id, client_id, client_secret) and network access to Marketo REST API endpoints.
License in practice
MIT License (permissive); you may use, modify, and distribute this package freely in commercial and private projects, provided you retain the license notice.
Quickstart
pip install marketorestpython
from marketorestpython.client import MarketoClient
mc = MarketoClient(
munchkin_id="000-AAA-000",
client_id="your_client_id",
client_secret="your_client_secret"
)
lead = mc.execute(method='get_lead_by_id', id=3482141)
Verify before relying
- Whether the package works with modern Python versions (requires_python is unspecified in metadata).
- Current state of test coverage and whether Travis CI is still actively testing pull requests.
- Whether the high install friction is due to packaging issues or just source distribution format.
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Aging 291 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 236,518 / month, #8,981 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: marketorestpython-0.5.25.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “marketo rest api client”
- marketorestpythonPython client library that wraps the Marketo REST API, handling…
- simple-rest-clientA lightweight HTTP client library for building REST API clients in…
- agithubA lightweight REST API client with transparent Python syntax that…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also dynamics365crm-python · salesforce-api · simple-salesforce · python-squarelet · ratelim · pinterest-api-sdk · rocketchat-API · ratelimiter · apiclient · ratelimit