Sickle
A lightweight OAI client library for Python
Decision gist · record as of 2026-08-14
Yes, if you need to harvest from an OAI-PMH repository and can accept that the package is no longer maintained. The low install friction, permissive license, and stable API make it suitable for production use in stable environments. However, verify that your target repositories still use OAI-PMH and that you are comfortable with no future updates or support for newer Python versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only two runtime dependencies (requests and lxml).
- However, the package is in abandoned maintenance status with no releases since May 2020 and the last commit in July 2023, so expect no bug fixes or updates for new Python versions.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective.
last release 2020-05-17 (2280 days) · last repo commit 2023-07-29 · 117 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 165,746 downloads/mo, #10,517 on PyPI
Alternatives
Verify before relying
pip install sickle
from sickle import Sickle
sickle = Sickle('http://elis.da.ulcc.ac.uk/cgi/oai2')
records = sickle.ListRecords(metadataPrefix='oai_dc')
first_record = records.next()- Current compatibility with modern Python versions (classifiers list up to Python 3.5) and whether lxml's security posture remains acceptable for production use.
- Whether the OAI-PMH protocol itself remains actively used in the repositories you intend to harvest from.
What it is and what it does
Sickle wraps the OAI-PMH protocol in a Pythonic interface, letting you query OAI-compliant digital repositories (typically institutional or subject-based archives) to retrieve structured metadata records. It handles the protocol's request-response cycle, pagination via resumption tokens, and automatic parsing of Dublin Core metadata into Python dictionaries, so you can focus on the data rather than XML parsing and HTTP state management.
The library is built on requests for HTTP communication and lxml for XML parsing. It supports all six OAI verbs (ListRecords, GetRecord, ListIdentifiers, ListSets, ListMetadataFormats, Identify), optional basic authentication, configurable retry logic, and filtering of deleted records. The last release was in May 2020, and the repository is no longer actively maintained.
Use it for
- Harvest metadata from institutional repositories or digital libraries that expose OAI-PMH endpoints to build local search indexes or data pipelines.
- Bulk download Dublin Core records from academic archives for research data aggregation or analysis.
- Migrate metadata from one OAI-compliant repository to another by iterating through all records and transforming them.
- Monitor changes in a repository by periodically harvesting records and comparing against previous runs to detect new or deleted items.
- Build a metadata aggregator that combines records from multiple OAI sources into a unified catalog.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to harvest from an OAI-PMH repository and can accept that the package is no longer maintained.
The low install friction, permissive license, and stable API make it suitable for production use in stable environments. However, verify that your target repositories still use OAI-PMH and that you are comfortable with no future updates or support for newer Python versions.
Install
sickle on PyPI
Before you install
Low install friction with only two runtime dependencies (requests and lxml). However, the package is in abandoned maintenance status with no releases since May 2020 and the last commit in July 2023, so expect no bug fixes or updates for new Python versions.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective.
Quickstart
pip install sickle
from sickle import Sickle
sickle = Sickle('http://elis.da.ulcc.ac.uk/cgi/oai2')
records = sickle.ListRecords(metadataPrefix='oai_dc')
first_record = records.next()
Verify before relying
- Current compatibility with modern Python versions (classifiers list up to Python 3.5) and whether lxml's security posture remains acceptable for production use.
- Whether the OAI-PMH protocol itself remains actively used in the repositories you intend to harvest from.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesrequestslxml |
| Maintenance | Abandoned 2,280 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 165,746 / month, #10,517 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Topic :: Text Processing :: Markup :: XML |
Evidence: Sickle-0.7.0-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 › “oai-pmh client library”
- SickleSickle is a lightweight Python client library for harvesting metadata…
- conjure-python-clientA lightweight HTTP client library built on requests that handles RPC…
- paypalhttpPayPalHttp is a generic HTTP client library designed to work with…
Give your agent the search over MCP, or paste the wish link into any chat.
More XML packages
Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.
Install it if you need to parse or extract data from markup documents.
lxml provides Python bindings to libxml2 and libxslt, enabling parsing, validation, and transformation of XML and HTML documents through an ElementTree-compatible API with support for XPath, XSLT, and schema validation.
Install it if you need robust XML/HTML parsing, validation, or transformation; avoid it only if you must stay pure-Python and can accept slower performance.
Defusedxml hardens Python's standard XML libraries against XML bomb attacks and entity expansion exploits by providing drop-in replacements that disable dangerous parsing features by default.
Install it if your application parses any XML from untrusted sources.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
Converts XML to Python dictionaries and back, treating XML parsing and generation like working with JSON.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
See also ome-types · oxylabs · extruct · httpcore · eml-parser · cssselect · pyalex · newspaper3k · prisma-sase · lunr