A Python library for converting between pip-style requirements and Pipfile/Pipfile.lock formats. Version 3.0.0 is a major overhaul that replaced attrs with pydantic for validation. Maintained irregularly.
pip install requirementslibVerified import paths — ran on the pinned version, not inferred.
Basic usage: creating a Requirement from a pip line and loading a Pipfile.
Ensure code does not rely on attrs internals. Use public methods for serialization/deserialization.
Replace 'from requirementslib.models import ...' with 'from requirementslib import ...'.
Access req.name for normalized form; use req.as_line() to preserve original casing in output if needed.
No dependency data recorded yet.