skillfed

plette

Structured Pipfile and Pipfile.lock models.

plette v2.2.1 174.1K downloads/30d#10,289 on PyPI7
Permissive license ISC License Active released

What it is and what it does

Plette is a library for working with Pipfile and Pipfile.lock files—the dependency manifests used by pipenv—in a structured, programmatic way. It provides parsers to read these files into Python objects and generators to write them back out, so you can inspect, modify, or create dependency specifications without manual string manipulation. The library depends only on tomlkit for TOML handling, keeping the install footprint small.

The package is actively maintained and supports Python 3.7 through 3.10. It carries an ISC License, which is permissive. An optional validation feature is available if you need stricter checking of Pipfile structure, though the fact sheet does not detail what that entails.

Use it for:

  • Parse an existing Pipfile or Pipfile.lock to programmatically inspect or audit package dependencies.
  • Generate or modify Pipfile entries from within a tool or script that manages Python environments.
  • Build dependency-management automation that reads and writes pipenv configuration files.
  • Validate Pipfile structure before committing or deploying it to ensure correctness.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Plette provides structured parsers and generators for Pipfile and Pipfile.lock, letting you read, manipulate, and write these dependency files programmatically.

Yes, if you need to work with Pipfile or Pipfile.lock files programmatically. Low install friction, permissive license, active maintenance, and no known vulnerabilities make it a safe choice. The Planning classifier is a minor signal of early-stage status, but the repo is actively maintained and the API is stable enough for practical use.

Install

plette on PyPI

pip

pip install plette

uv

uv add plette

poetry

poetry add plette

Installing plette

Before you install

Low friction: pure Python wheel with a single runtime dependency (tomlkit). Actively maintained with recent commits; marked as Planning status in classifiers but repo is not archived and receives updates.

License in practice

ISC License is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

pip install plette

from plette.models import Pipfile

pipfile = Pipfile.load('Pipfile')
print(pipfile.packages)

Requires Python 3.7 or later.

Verify before relying

  • Whether validation feature (optional extra) requires additional dependencies beyond what the fact sheet lists.
  • Specific API stability guarantees or breaking-change policy for a Planning-status package.

Package facts

License ISC License (permissive)
Python support supports the current Python release (>=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 1 — tomlkit
Maintenance actively maintained — 107 days since the last release
Last repo commit
First released
Downloads 174,096/month — #10,289 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: plette-2.2.1-py2.py3-none-any.whl

Development Status :: 1 - PlanningLicense :: OSI Approved :: ISC License (ISCL)Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Tags

pipfile parserpipfile.lock handlingdependency file managementpipenv file structurestructured pipfile modelspipfile validationdependency lock file parsing
pipenvdependency-managementtoml-parsing

More Python Modules packages