argparse-addons
Additional argparse types and actions.
Decision gist · record as of 2026-08-14
Yes, if you need bounded integer validation in argparse and the feature set is sufficient—the package is stable, has no dependencies, and carries permissive licensing. No, if you require active maintenance or expect new features; the project is abandoned as of early 2023 and shows no recent activity.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later.
- Low install friction with no runtime dependencies.
- However, the package is abandoned—last release was 2023-01-29 and no commits since then.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open and closed projects.
last release 2023-01-29 (1293 days) · last repo commit 2023-01-29 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,910,017 downloads/mo, #2,455 on PyPI
Alternatives
Verify before relying
pip install argparse_addons
import argparse
import argparse_addons
parser = argparse.ArgumentParser()
parser.add_argument('--port', type=argparse_addons.Integer(0, 255))
args = parser.parse_args(['--port', '47'])
print(args.port)- Whether the Integer type supports all edge cases (negative ranges, very large bounds) beyond the documented examples.
- Whether other custom types or actions beyond Integer are provided and documented.
- Whether the package works reliably with Python versions beyond 3.6 despite abandonment.
What it is and what it does
argparse_addons extends Python's built-in argparse module with additional type validators and action classes. The primary feature shown in the documentation is the Integer type, which validates command-line integer arguments against optional minimum and maximum bounds, producing clear error messages when values fall outside the specified range.
The package is a lightweight, dependency-free utility for developers building CLI tools who need stricter argument validation than argparse's basic int type provides. It requires Python 3.6 or later and integrates directly into standard argparse workflows by passing custom type objects to add_argument().
Use it for
- Validate bounded integers in CLI tools without writing custom validation logic.
- Enforce range constraints with automatic, user-friendly error messages when arguments fall outside bounds.
- Build command-line utilities that reject out-of-range numeric arguments at parse time rather than later in execution.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need bounded integer validation in argparse and the feature set is sufficient—the package is stable, has no dependencies, and carries permissive licensing.
No, if you require active maintenance or expect new features; the project is abandoned as of early 2023 and shows no recent activity.
Install
argparse-addons on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2023-01-29 and no commits since then. Use only if the feature set is stable and sufficient for your needs.
Requires Python 3.6 or later.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open and closed projects.
Quickstart
pip install argparse_addons
import argparse
import argparse_addons
parser = argparse.ArgumentParser()
parser.add_argument('--port', type=argparse_addons.Integer(0, 255))
args = parser.parse_args(['--port', '47'])
print(args.port)
Verify before relying
- Whether the Integer type supports all edge cases (negative ranges, very large bounds) beyond the documented examples.
- Whether other custom types or actions beyond Integer are provided and documented.
- Whether the package works reliably with Python versions beyond 3.6 despite abandonment.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,293 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,910,017 / month, #2,455 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT License |
Evidence: argparse_addons-0.12.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 › “argparse custom types”
- argparse-addonsProvides additional type validators and action classes for Python's…
- argparse-dataclassBuilds command-line interfaces declaratively by combining Python…
- mandomando wraps argparse to let you build command-line applications with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also typed-argument-parser · pydantic-argparse · argcomplete · decli · pyiotools · guacamole · simple-parsing · ConfigArgParse · argparse · argparse-dataclass