sodapy
Python library for the Socrata Open Data API
Decision gist · record as of 2026-08-14
Yes, if you need to access Socrata-hosted data and accept the maintenance status. The package is stable, has low install friction, and carries no security vulnerabilities. However, do not use it for new projects requiring active maintenance or ongoing API support—it is unmaintained as of August 2022 and will not receive bugfixes. Suitable for read-heavy integrations with public Socrata datasets or existing applications already using it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- An application token is recommended (though not strictly required) to avoid throttling; read/query operations work without credentials, but write operations require username and password.
- Installation is straightforward with low friction—a single pure-Python wheel with only requests as a runtime dependency.
- However, the package is unmaintained as of August 31, 2022, with no new features or bugfixes planned; the repository remains active but receives no ongoing development.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and private projects without restriction, though you must include the license text in distributions.
last release 2022-08-31 (1444 days) · last repo commit 2026-07-06 · 429 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 471,583 downloads/mo, #6,478 on PyPI
Alternatives
Verify before relying
pip install sodapy
from sodapy import Socrata
client = Socrata("sandbox.demo.socrata.com", "FakeAppToken")
data = client.get("nimj-3ivp", limit=2)
print(data)- Whether the Socrata Open Data API itself remains actively maintained and stable for production use.
- Current compatibility with Python versions beyond 3.10, given the package's unmaintained status since August 2022.
What it is and what it does
sodapy wraps the Socrata Open Data API, allowing Python developers to query, retrieve, and write data to datasets hosted on Socrata domains. It depends on requests for HTTP communication and provides methods to filter, paginate, and transform data using SoQL (Socrata Query Language) keywords. The library supports both read operations (fetching datasets, metadata, and individual records) and write operations (creating, upserting, and replacing data), as well as file attachments and dataset publication.
The package is production-stable but unmaintained as of August 31, 2022. It remains compatible with modern Python versions (3.5 through 3.10 at time of last release) and has no known vulnerabilities. Use it when you need to integrate Socrata-hosted public data into a Python application, but be aware that no new features or bugfixes will be added and you are responsible for managing any issues that arise.
Use it for
- Retrieve earthquake, crime, or other public safety data from a Socrata domain for analysis or reporting.
- Automate periodic downloads of open government datasets into a local database or data warehouse.
- Build a Python application that queries and displays real-time public data from a Socrata-hosted API.
- Write data transformations or corrections back to a Socrata dataset using upsert or replace operations.
- Paginate through large datasets using get_all() to process records without loading everything into memory at once.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to access Socrata-hosted data and accept the maintenance status.
The package is stable, has low install friction, and carries no security vulnerabilities. However, do not use it for new projects requiring active maintenance or ongoing API support—it is unmaintained as of August 2022 and will not receive bugfixes. Suitable for read-heavy integrations with public Socrata datasets or existing applications already using it.
Install
sodapy on PyPI
Before you install
Installation is straightforward with low friction—a single pure-Python wheel with only requests as a runtime dependency. However, the package is unmaintained as of August 31, 2022, with no new features or bugfixes planned; the repository remains active but receives no ongoing development.
An application token is recommended (though not strictly required) to avoid throttling; read/query operations work without credentials, but write operations require username and password.
License in practice
MIT license is permissive, allowing use in commercial and private projects without restriction, though you must include the license text in distributions.
Quickstart
pip install sodapy
from sodapy import Socrata
client = Socrata("sandbox.demo.socrata.com", "FakeAppToken")
data = client.get("nimj-3ivp", limit=2)
print(data)
Verify before relying
- Whether the Socrata Open Data API itself remains actively maintained and stable for production use.
- Current compatibility with Python versions beyond 3.10, given the package's unmaintained status since August 2022.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Actively maintained 1,444 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 471,583 / month, #6,478 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules |
Evidence: sodapy-2.2.0-py2.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 › “socrata open data api client”
- sodapysodapy is a Python client for querying and writing data to Socrata…
- openbb-cftcProvides access to CFTC Commitment of Traders data through a Python…
- odg-clientodg-client is a Python client library for interacting with the Open…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also athina-client · tfds-nightly · open-radar-data · openbb-fred · airtable · tensorflow-datasets · pyzotero · wolframalpha · pyairvisual · accuweather