surge-api
Surge Python SDK
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and provides a straightforward Python interface to Surge's labeling API. Install it if you need to programmatically manage Surge projects and tasks; the low install friction and recent activity make it a low-risk choice. Requires Python 3.10+.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; Surge API key must be set before making requests.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with a recent release (78 days ago) and ongoing repository activity.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-05-28 (78 days) · last repo commit 2026-06-04 · 30 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,359,937 downloads/mo, #4,003 on PyPI
Alternatives
Verify before relying
pip install surge-api
import surge
surge.api_key = "YOUR_API_KEY"
projects = surge.Project.list()
project = surge.Project.retrieve("project-id")
results = project.download_json()- Whether the SDK handles rate limiting or retry logic for API calls
- Support for async/await patterns or only synchronous API calls
- Whether CSV parsing handles edge cases like quoted fields or special characters
- API stability guarantees or backward compatibility policy across versions
What it is and what it does
Surge-api is a Python client library for the Surge crowdsourcing platform, enabling programmatic access to data labeling workflows. It wraps the Surge REST API and provides object-oriented interfaces for managing projects (creating, listing, retrieving), uploading task data from CSV files or Python dictionaries, and downloading annotated results in multiple formats. The library handles authentication via API key (set directly or via environment variable) and abstracts away HTTP details through requests.
Typical workflows include retrieving existing projects and their results, creating new labeling projects from templates (blueprints), bulk-uploading task data, and exporting completed annotations. The SDK depends on standard HTTP and utility libraries (requests, python-dateutil, six) and includes pytest for its own test suite. It targets Python 3.10+ and is maintained by Surge AI.
Use it for
- Retrieve completed labeling results from a Surge project and export them to CSV or JSON for downstream analysis
- Programmatically create a new labeling project from a blueprint and bulk-upload task data from a CSV file
- Automate task creation and project management as part of a data pipeline for iterative annotation workflows
- Query individual tasks and their fields to integrate Surge labeling into a larger application
- Set up scheduled jobs to download and process annotation results without manual dashboard interaction
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and provides a straightforward Python interface to Surge's labeling API. Install it if you need to programmatically manage Surge projects and tasks; the low install friction and recent activity make it a low-risk choice. Requires Python 3.10+.
Install
surge-api on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (78 days ago) and ongoing repository activity. Requires Python 3.10 or later.
Requires Python 3.10 or later; Surge API key must be set before making requests.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install surge-api
import surge
surge.api_key = "YOUR_API_KEY"
projects = surge.Project.list()
project = surge.Project.retrieve("project-id")
results = project.download_json()
Verify before relying
- Whether the SDK handles rate limiting or retry logic for API calls
- Support for async/await patterns or only synchronous API calls
- Whether CSV parsing handles edge cases like quoted fields or special characters
- API stability guarantees or backward compatibility policy across versions
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 11 packagescertificharset-normalizeridnainiconfigpackagingpluggypytestpython-dateutilrequestssixurllib3 |
| Maintenance | Actively maintained 78 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,359,937 / month, #4,003 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: surge_api-1.5.24-py3-none-any.whl
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 › “surge api python client”
- surge-apiA Python SDK for accessing the Surge API to manage data labeling…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
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 labelbox · label-studio · label-studio-sdk · linkup-sdk · zerobouncesdk · salesforce-bulk · supervisely · azure-batch · argilla · valyu