$npx skillfedfor your agent

pyvalid

The module, which allows easily validate function's input/output values.

SkipPyPI LibrariesReleased Oct 2020456.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyvalid-1.0.4-py3-none-any.whl
v1.0.4 · released 2020-10-13 · 1 runtime deps: six

No. While pyvalid is simple to install and permissively licensed, it has been abandoned for over three years with no maintenance. Modern Python projects should prefer actively maintained alternatives like pydantic, typeguard, or beartype, which offer better compatibility with current Python versions, richer validation features, and ongoing support. Use pyvalid only if you are maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is low-friction, but the package has been abandoned since January 2021 with no recent maintenance.
  • The last release was over three years ago, so compatibility with modern Python versions and dependency updates is uncertain.

License · maintenance · safety

MIT (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute pyvalid freely in both open-source and commercial projects with minimal restrictions.

last release 2020-10-13 (2131 days) · last repo commit 2021-01-12 · 33 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 456,926 downloads/mo, #6,552 on PyPI

Verify before relying

pip install pyvalid

from pyvalid import accepts, returns

@accepts(int, int)
@returns(int)
def add(a, b):
    return a + b

result = add(2, 3)
  • Whether pyvalid works reliably with Python 3.10+ given the last release was October 2020
  • Current state of the six dependency and whether it introduces compatibility issues
  • Whether decorator-based validation is still the preferred pattern for modern validation use cases
Same gist for agents: .md · .json

What it is and what it does

pyvalid is a decorator-based validation library that enforces type and value constraints on function inputs and outputs at runtime. It allows you to annotate functions with expected argument types and return types, then automatically validates those constraints when the function is called, raising exceptions if validation fails.

The package depends only on six for Python 2/3 compatibility. It was last updated in October 2020 and has been abandoned since January 2021, meaning it receives no active maintenance or updates. While it carries a permissive MIT license and has low installation friction, its age and lack of maintenance create uncertainty about compatibility with recent Python versions and modern validation patterns.

Use it for

  • Add runtime type checking to legacy Python codebases without rewriting function signatures
  • Catch type mismatches early during development and testing via decorator annotations
  • Validate function outputs to ensure return values match expected types before use
  • Debug data flow issues by instrumenting functions with automatic input/output validation

Worth the install?

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

Skip

No.

While pyvalid is simple to install and permissively licensed, it has been abandoned for over three years with no maintenance. Modern Python projects should prefer actively maintained alternatives like pydantic, typeguard, or beartype, which offer better compatibility with current Python versions, richer validation features, and ongoing support. Use pyvalid only if you are maintaining legacy code that already depends on it.

Install

pyvalid on PyPI

Before you install

Installation is low-friction, but the package has been abandoned since January 2021 with no recent maintenance. The last release was over three years ago, so compatibility with modern Python versions and dependency updates is uncertain.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute pyvalid freely in both open-source and commercial projects with minimal restrictions.

Quickstart

pip install pyvalid

from pyvalid import accepts, returns

@accepts(int, int)
@returns(int)
def add(a, b):
    return a + b

result = add(2, 3)

Verify before relying

  • Whether pyvalid works reliably with Python 3.10+ given the last release was October 2020
  • Current state of the six dependency and whether it introduces compatibility issues
  • Whether decorator-based validation is still the preferred pattern for modern validation use cases

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
six
MaintenanceAbandoned 2,131 days since the last release
Last repo commit
First released
Downloads456,926 / month, #6,552 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 :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.0Programming Language :: Python :: 3.1Programming 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 :: ImplementationProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: DebuggersTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: TestingTopic :: Utilities

Evidence: pyvalid-1.0.4-py3-none-any.whl

Tags

Capabilities
function input validation decoratorruntime type checking pythondata validation toolfunction output validationparameter type checking
Topics
decorator-basedabandoned
PyPI keywords
pyvalidvalidvalidationtypecheckingcheckdecoratorruntimedebugtest

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 › “function input validation decorator”

  • pyvalidpyvalid is a Python data validation tool that checks function input…
  • type-enforcedEnforces Python type annotations at runtime using decorators,…
  • overloadingProvides function and method overloading based on runtime argument…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also openapi-spec-validator · argparse · openapi-schema-validator · validator-collection · typing-validation · pyinotify · status · certvalidator · strongtyping · django-decorator-include