$npx skillfedfor your agent

parse-type

Simplifies to build parse types based on the parse module

With conditionsPyPI Python ModulesReleased Aug 20259.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — parse_type-0.6.6-py2.py3-none-any.whl
v0.6.6 · released 2025-08-11 · Python !=3.0.*,!=3.1.*,>=2.7 · 3 runtime deps: parse, enum34, six

Yes, if you are already using the parse module and need to handle enumerations, optional fields, or repeated elements without writing custom type converters. The low install friction and MIT license make it a low-risk addition. However, note the aging maintenance status (368 days since last release)—verify compatibility with your current parse module version and Python release before adopting in new projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel distribution.
  • Maintenance status is aging—last release was 368 days ago—but the repository remains active and unarchived with modest community engagement (21 stars).

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

last release 2025-08-11 (368 days) · last repo commit 2025-08-11 · 21 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,574,100 downloads/mo, #1,523 on PyPI

Verify before relying

pip install parse-type

from parse import Parser
from parse_type import TypeBuilder

parse_enum = TypeBuilder.make_enum({"yes": True, "no": False})
parser = Parser("Answer: {answer:YesNo}", dict(YesNo=parse_enum))
result = parser.parse("Answer: yes")
assert result["answer"] == True
  • Whether the aging maintenance status (368 days since last release) affects compatibility with recent Python or parse module versions.
  • Performance characteristics when handling large cardinality lists or deeply nested variant types.
Same gist for agents: .md · .json

What it is and what it does

parse_type is a library that builds on top of the parse module (which reverses string.format()) to add structured type conversion for common parsing patterns. It lets you define type converters for enumerations, optional fields, repeated elements, and choice lists, then use them in parse format strings with a cardinality-field naming convention (e.g., {item:Type?} for optional, {items:Type*} for zero-or-more, {items:Type+} for one-or-more).

The package depends on parse, enum34 (for Python 2.7 and early Python 3 compatibility), and six for cross-version compatibility. It's useful when you need to parse structured text into typed values—command-line arguments, configuration files, or domain-specific languages—without writing custom parsing logic for each type variant.

Use it for

  • Parse command-line arguments with optional flags and repeated values using a single schema.
  • Convert configuration file entries into typed enums or choice values with cardinality constraints.
  • Build domain-specific language parsers that accept multiple type alternatives (variants) in a single field.
  • Parse log or data files where some fields are optional and others repeat, using declarative type definitions.
  • Create structured text-to-object converters for testing frameworks or behavior-driven development tools.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using the parse module and need to handle enumerations, optional fields, or repeated elements without writing custom type converters.

The low install friction and MIT license make it a low-risk addition. However, note the aging maintenance status (368 days since last release)—verify compatibility with your current parse module version and Python release before adopting in new projects.

Install

parse-type on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 368 days ago—but the repository remains active and unarchived with modest community engagement (21 stars).

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install parse-type

from parse import Parser
from parse_type import TypeBuilder

parse_enum = TypeBuilder.make_enum({"yes": True, "no": False})
parser = Parser("Answer: {answer:YesNo}", dict(YesNo=parse_enum))
result = parser.parse("Answer: yes")
assert result["answer"] == True

Verify before relying

  • Whether the aging maintenance status (368 days since last release) affects compatibility with recent Python or parse module versions.
  • Performance characteristics when handling large cardinality lists or deeply nested variant types.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release !=3.0.*,!=3.1.*,>=2.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
parseenum34six
MaintenanceAging 368 days since the last release
Last repo commit
First released
Downloads9,574,100 / month, #1,523 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Code GeneratorsTopic :: Software Development :: Libraries :: Python Modules

Evidence: parse_type-0.6.6-py2.py3-none-any.whl

Tags

Capabilities
parse type convertersenum parsing from textcardinality constraints parsingoptional and list parsingchoice and variant typesparse module extensionstext to type conversion
Topics
text-parsingtype-conversion
PyPI keywords
parseparsing

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 › “parse type converters”

  • parse-typeExtends the parse module with type converters that handle…
  • lsprotocolProvides Python object types and converters for the Language Server…
  • arviz-baseProvides converters and base data manipulation functions for the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also number-parser · django-choices-field · enum-compat · django-enum · enum34 · types-enum34 · marshmallow-enum · cpe · stringparser · backports.strenum