$npx skillfedfor your agent

to-requirements.txt

Automatically add and delete modules to requirements.txt installing them using pip.

With conditionsPyPI Software DevelopmentReleased May 2025214.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — to_requirements_txt-2.0.14-py3-none-any.whl
v2.0.14 · released 2025-05-03 · 3 runtime deps: appdata, click, colored

Yes, if you work in Unix environments and want hands-off requirements.txt synchronization. The low install friction, permissive license, and Production/Stable status make it a reasonable choice for developers tired of manual dependency file updates. However, the aging maintenance (468 days since last release) means you should verify it works reliably with your current Python and pip versions before committing to it in a critical project.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Shell integration requires adding aliases to .bashrc, .zshrc, or equivalent rc file to enable sourced mode and virtual environment activation.
  • Low friction install with three lightweight runtime dependencies (appdata, click, colored).
  • Maintenance status is aging—last release was 468 days ago, though the repository remains active and the package is marked Production/Stable.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2025-05-03 (468 days) · last repo commit 2025-05-03 · 29 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 214,647 downloads/mo, #9,411 on PyPI

Verify before relying

pip install to-requirements-txt
rex init
# Then use pip normally; requirements.txt updates automatically
  • Whether the package works reliably on non-Unix systems (classifiers list only Unix support).
  • How well automatic sync handles version pinning, pre-release packages, or editable installs.
  • Performance impact when managing large dependency trees.
Same gist for agents: .md · .json

What it is and what it does

to-requirements-txt wraps pip to automatically keep your requirements.txt in sync with installed packages. When you install, upgrade, or uninstall a package via pip, the tool updates requirements.txt without requiring manual intervention. It's designed for developers who want their dependency file to always reflect the current environment state.

The package works by hooking into pip's workflow and is configured per project via a simple init command. It supports customization (e.g., limiting to Git repositories, toggling auto-creation of requirements.txt) and integrates into your shell via aliases for sourced execution, which allows it to manage virtual environment activation. After setup, you use pip as normal—the synchronization happens transparently.

Use it for

  • Keep requirements.txt automatically updated when developing in a virtual environment without manual tracking.
  • Set up a new project's dependency management in one command (rex init) with automatic venv creation.
  • Ensure requirements.txt stays consistent across team members by syncing with every pip operation.
  • Reduce merge conflicts in version control by eliminating manual requirements.txt edits.
  • Quickly initialize a VirtualEnv-based project with pre-configured dependency tracking.

Worth the install?

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

With conditions

Yes, if you work in Unix environments and want hands-off requirements.txt synchronization.

The low install friction, permissive license, and Production/Stable status make it a reasonable choice for developers tired of manual dependency file updates. However, the aging maintenance (468 days since last release) means you should verify it works reliably with your current Python and pip versions before committing to it in a critical project.

Install

to-requirements-txt on PyPI

Before you install

Low friction install with three lightweight runtime dependencies (appdata, click, colored). Maintenance status is aging—last release was 468 days ago, though the repository remains active and the package is marked Production/Stable.

Shell integration requires adding aliases to .bashrc, .zshrc, or equivalent rc file to enable sourced mode and virtual environment activation.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install to-requirements-txt
rex init
# Then use pip normally; requirements.txt updates automatically

Verify before relying

  • Whether the package works reliably on non-Unix systems (classifiers list only Unix support).
  • How well automatic sync handles version pinning, pre-release packages, or editable installs.
  • Performance impact when managing large dependency trees.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
appdataclickcolored
MaintenanceAging 468 days since the last release
Last repo commit
First released
Downloads214,647 / month, #9,411 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 :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: UnixProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: System :: Installation/SetupTopic :: TerminalsTopic :: Utilities

Evidence: to_requirements_txt-2.0.14-py3-none-any.whl

Tags

Capabilities
auto-update requirements.txtpip dependency syncautomatic requirements managementrequirements.txt generatorpip wrapper for requirementskeep requirements.txt in syncdependency tracking tool
Topics
dependency-managementpip-wrapperrequirements-sync
PyPI keywords
piprequirements.txtdependencydependenciesrequirementspackageswrapperrepository

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 › “auto-update requirements.txt”

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also pipenv · commitizen · pyupgrade · pipreqs · mike · pip-autoremove · pipmaster · requires.io · pip-audit · pip2pi