A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
BSD-3-CLAUSE License
pip install pigar==2.1.6
Fixed a major issue that occurred when upgrading to pip version 24.1+. Pigar now properly vendors pip to avoid depending on the installed version of pip.
Additionally, Pigar now uses Git LFS, and the tarball from the release may not include the necessary files.
See what’s changed between v2.1.4 and v2.1.6.
Published by damnever 8 months ago
pip install pigar==2.1.4
See what’s changed between v2.1.3 and v2.1.4.
Published by damnever 8 months ago
pip install pigar==2.1.3
See what’s changed between v2.1.2 and v2.1.3.
Published by damnever 8 months ago
pip install pigar==2.1.2
See what’s changed between v2.1.1 and v2.1.2.
Great thanks to @laoraid and @baterflyrity for their contributions!
Published by damnever over 1 year ago
pip install pigar==2.1.1
See what’s changed between v2.1.0 and v2.1.1.
Published by damnever over 1 year ago
pip install pigar==2.1.0
includes an experimental feature called 'requirement-annotations' that allows you to declare implicit packages/distributions by using comments:
import foo # pigar: required-imports=import_name_bar,import_name_baz
import foo # pigar: required-packages=package-name-bar,package-name-baz # Extra comments are allowed.
foo(features=['bar', 'baz']) # pigar: required-distributions=package-name-bar,package-name-baz
See what’s changed between v2.0.8 and v2.1.0.
Published by damnever over 1 year ago
pip install pigar==2.0.8
See what’s changed between v2.0.7 and v2.0.8.
Published by damnever over 1 year ago
pip install pigar==2.0.7
See what’s changed between v2.0.5 and v2.0.6.
Published by damnever over 1 year ago
pip install pigar==2.0.6
See what’s changed between v2.0.5 and v2.0.6.
Published by damnever almost 2 years ago
pip install pigar==2.0.5
See what’s changed between v2.0.4 and v2.0.5.
Published by damnever almost 2 years ago
pip install pigar==2.0.4
See what’s changed between v2.0.3 and v2.0.4.
Published by damnever almost 2 years ago
pip install pigar==2.0.3
See what’s changed between v2.0.2 and v2.0.3.
Published by damnever almost 2 years ago
pip install pigar==2.0.2
Published by damnever almost 2 years ago
Published by damnever almost 2 years ago
Thanks for all the feedback and contributions, try the v2: pip install pigar==2.0.0
.
This version has changed a lot of things, most of them are BREAKING CHANGEs!
pigar generate
to generate requirements.txt.pigar search
to search packages/distributions by the top level module names.pigar check
to check the latest versions of requirements.pigar -h
to explore more.pigar
accepts a prefix for a command, such as pigar gen
, pigar c
.pip
named it's module as _internal
so vendoring technology is introduced).
pigar
will ask user to choose the right packages/distributions if pigar
has found multiple packages/distributions for the same module names. With --auto-select
enabled, pigar
will guess the best matched one or choose all possible packages/distributions automatically.--dry-run
which allows pigar
to not write a requirements.txt file, just print it.--follow-symbolic-links/--dont-follow-symbolic-links
to let user decide whether to follow the symbolic links, fixed #89.-i/--index-url
to allow the custom URL of the Python Package Index, fixed #52.--show-differences/--dont-show-differences
to enable or disable showing the differences when the requirements file is overwritten.asyncio
to synchronize distributions' metadata with the PyPI, the process is much faster now.Published by damnever almost 2 years ago
v1.0.1 is a bad release, and I am hoping there is no one using it.. sorry for the inconvenience.
Version 1.x will be the last version that supports Python2.7
Now, we can search Python package distributions by the top-level import name on https://damnever.github.io/pigar/
*.ipynb
magics and shell command, fixed #87. See #102, #117, #118 for details.Thanks to @dsimmie, @yashafromrussia and @mdmmn378 for their contributions to this release.
Published by damnever almost 2 years ago
This is a bad release, see v1.0.2.
Published by damnever over 2 years ago
--with-referenced-comments
to enable this feature.Published by damnever over 4 years ago
See v0.10.0rc0 for details.
Published by damnever over 4 years ago
pigar
as a library.Thank @bganglia for the following contributions:
.ipynb
) support, refer to #69.