peppercorn
A library for converting a token stream into a data structure for use in web form posts
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code that already depends on it. The package is abandoned (last release 2018-08-24) and only supports Python versions through 3.7, all now end-of-life. No known vulnerabilities exist, but there is no active maintenance, security updates, or testing against modern Python. For new projects, use a maintained form-parsing library instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is frictionless with no runtime dependencies.
- However, the package is abandoned—last release was 2018-08-24.
- It targets Python versions up to 3.7, which are now end-of-life.
License · maintenance · safety
permissive license (permissive) — Licensed under a BSD-derived license (permissive), so commercial and private use are unrestricted. No copyleft obligations apply.
last release 2018-08-24 (2912 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 671,302 downloads/mo, #5,405 on PyPI
Alternatives
Verify before relying
import peppercorn
# Convert a token stream (list of tuples) into structured data
tokens = [('name', 'value'), ('__end__', None)]
result = peppercorn.parse(tokens)
print(result)- Whether the package works reliably with Python 3.8+ despite classifiers only declaring support through 3.7
- Current status of the Pylons project repository and whether maintenance has resumed
What it is and what it does
Peppercorn is a form-data parser that takes a stream of tokens and builds nested data structures—useful when you need to convert flat HTTP form submissions into hierarchical, strongly-typed objects. It was designed for WSGI applications and the Pylons web framework ecosystem. The library uses an iterative parser (as of version 0.5) to avoid denial-of-service vulnerabilities that recursive parsers can introduce.
The package has no external runtime dependencies, making it lightweight to install. However, it has been abandoned since 2018-08-24 and only declares support for Python versions up to 3.7, all of which are now end-of-life. It remains available and functional for legacy systems that already use it, but is not actively maintained or tested against modern Python versions.
Use it for
- Parse complex HTML form submissions with nested fields into Python dictionaries or lists in WSGI applications
- Convert flat token streams from form data into hierarchical structures for legacy Pylons or Pyramid web projects
- Handle form elements with special operations like rename or ignore to support radio buttons and client-side scripting
- Maintain older web applications that depend on Peppercorn for form data handling
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code that already depends on it.
The package is abandoned (last release 2018-08-24) and only supports Python versions through 3.7, all now end-of-life. No known vulnerabilities exist, but there is no active maintenance, security updates, or testing against modern Python. For new projects, use a maintained form-parsing library instead.
Install
peppercorn on PyPI
Before you install
Installation is frictionless with no runtime dependencies. However, the package is abandoned—last release was 2018-08-24. It targets Python versions up to 3.7, which are now end-of-life. Use only if you are maintaining legacy code that already depends on it.
License in practice
Licensed under a BSD-derived license (permissive), so commercial and private use are unrestricted. No copyleft obligations apply.
Quickstart
import peppercorn
# Convert a token stream (list of tuples) into structured data
tokens = [('name', 'value'), ('__end__', None)]
result = peppercorn.parse(tokens)
print(result)
Verify before relying
- Whether the package works reliably with Python 3.8+ despite classifiers only declaring support through 3.7
- Current status of the Pylons project repository and whether maintenance has resumed
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,912 days since the last release |
| First released | |
| Downloads | 671,302 / month, #5,405 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Internet :: WWW/HTTP :: WSGI :: Application |
Evidence: peppercorn-0.6-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 › “http form parsing”
- peppercornPeppercorn converts token streams into nested data structures…
- streaming-form-dataParses multipart/form-data streams chunk-by-chunk without buffering…
- multipartParses multipart/form-data submissions with both incremental…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also WebOb · colander · pyramid · Hypercorn · PasteDeploy · zope.datetime · sparkaid · plaster-pastedeploy · pyramid-retry