Skip to content

Maintains a requirements.txt file after project completion by checking what dependencies remain unused.

Notifications You must be signed in to change notification settings

thisismars-x/pip4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pip4.0

pip4 does one simple thing and does it good.

It manufactures a requirements.txt file for your python project, skipping any dependency(direct or transient) that you do not directly invoke in your .py file.

pip4 is written completely in Rust. So make sure to have it on your system. Here is an awesome tutorial

Installation

Just clone this repo and then navigate to your Cargo.toml

  cargo install --path .

Example

If you are in a directory X, and want a requirements file for directory Y.

pip4 Y

This generates a requirements.txt file.

Omitting Y would force to work on the same directory.

About

Maintains a requirements.txt file after project completion by checking what dependencies remain unused.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages