Skip to content

7xmohamed/autopip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoPip

AutoPip is an open-source Python CLI tool designed to streamline your dependency management workflow. It acts as a smart wrapper around standard pip, with a powerful capability: it automatically manages and updates your requirements.txt file every time you install or uninstall a package.

No more forgetting to run pip freeze > requirements.txt or dealing with cluttered dependency files filled with unnecessary sub-dependencies. AutoPip ensures your project requirements stay clean and perfectly in sync with your environment.

Features & Benefits

  • Automatic Synchronization: Installs or uninstalls Python packages and immediately reflects those changes in your requirements.txt.
  • Cleaner Requirements: It tracks the packages you explicitly requested, avoiding a messy requirements.txt polluted with transitive dependencies.
  • Familiar Syntax: Works as a drop-in replacement. Simply type autopip instead of pip in your daily workflow.
  • Open Source: Completely free to use, modify, and distribute. Contributions from the community are highly encouraged.

Installation

To start using AutoPip, you can clone the repository and install it locally:

git clone https://github.com/7xmohamed/autopip.git
cd autopip
pip install -e .

Usage

Using AutoPip is just as intuitive as standard pip.

Installing Packages

Install one or more packages and AutoPip will automatically append them (along with their versions) to your requirements.txt:

autopip install <package_name> [<another_package> ...]

Example: autopip install requests numpy

Uninstalling Packages

Uninstall packages and AutoPip will automatically find and remove them from your requirements.txt:

autopip uninstall <package_name> [<another_package> ...]

Example: autopip uninstall numpy

Contributing

AutoPip is open source. If you want to contribute, whether it's fixing bugs, improving documentation, or adding new features, we welcome your pull requests.

Head over to our GitHub Repository to get involved.

License

This project is open-source and licensed under the MIT License.

About

A smart pip wrapper that automatically syncs and manages your requirements.txt .

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages