awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
bndr avatar

bndr/pipreqs

0
View on GitHub↗
7,454 stars·418 forks·Python·Apache-2.0·12 views

Pipreqs

pipreqs is a Python dependency generator and discovery tool. It scans project imports to identify the third-party libraries required to run a project and automates the generation of requirements files containing only the packages actually used in the source code.

The utility functions as a requirements file manager by comparing installed packages against actual imports. It provides capabilities for pruning unused dependencies and auditing projects to identify missing or obsolete packages.

The tool employs static analysis and abstract syntax trees to isolate import statements without executing the code. It resolves package versions using local metadata or custom servers and recursively traverses directory structures to locate all relevant source files.

Features

  • Import-Based Requirements Generation - Scans project imports to automatically generate a comprehensive requirements.txt file.
  • Import-to-Manifest Comparison - Identifies discrepancies between installed requirements and the actual imports used in the source code.
  • Unused Dependency Identification - Identifies packages declared in the requirements file that are not actually imported in the source code.
  • Difference-Based Pruning - Compares actual source code imports against requirements files to identify and remove obsolete dependencies.
  • Package Discovery Tools - Identifies specific third-party libraries required to run a project based on its import statements.
  • AST-Based Analysis - Uses abstract syntax trees to identify and isolate import statements within source code.
  • Import-Based Dependency Generators - Generates a requirements.txt file containing only the packages actually used in the source code.
  • Pip Requirements Managers - Manages Python dependency lists by comparing installed packages against actual code imports.
  • Project Dependency Discovery - Automatically discovers project dependencies by analyzing source code import statements.
  • Static Code Analysis - Performs static analysis of source code to detect used modules without executing the program.
  • Python Package Managers - Provides specialized dependency management for Python projects by scanning imports.
  • Environment Setup - Helps create a lean development environment by removing unnecessary dependencies.
  • Package Resolution Configurations - Provides configuration options for how package versions are resolved via local or remote sources.
  • Python Package Version Resolution - Resolves correct library versions using local environment metadata or custom servers.
  • External Version Resolution - Provides the ability to resolve dependency versions using custom external metadata servers.
  • Environment Version Mapping - Maps imported modules to their specific version numbers by querying the local installed environment.
  • Package Managers - Generates requirements files based on actual project imports.

Star history

Star history chart for bndr/pipreqsStar history chart for bndr/pipreqs

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Pipreqs

These projects share indexed features with Pipreqs. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • depcheck/depcheckdepcheck avatar

    depcheck/depcheck

    4,935View on GitHub↗

    depcheck is a project dependency auditor and npm dependency analyzer for the JavaScript ecosystem. It functions as an abstract syntax tree parser that scans source code to identify unused packages or missing declarations within a project manifest file. The tool distinguishes itself by parsing multiple language syntaxes and file formats to locate dependency imports. It can identify dependencies declared within tool-specific configuration files for build tools, linters, and test runners, and supports extensibility through custom detectors and parsers. The system provides capabilities for depen

    JavaScript
    View on GitHub↗4,935
  • pdm-project/pdmpdm-project avatar

    pdm-project/pdm

    8,647View on GitHub↗

    PDM is a Python package manager, dependency resolver, and build tool designed to create reproducible environments. It functions as a runtime manager that installs and switches between different versions of the Python interpreter using standalone builds, while managing isolated virtual environments to prevent version conflicts between projects. The tool distinguishes itself through the use of cross-platform lockfiles and a plugin-based extension architecture, allowing users to add new capabilities via external distributions. It provides a centralized package caching system and a parallel insta

    Python
    View on GitHub↗8,647
  • pypa/pippypa avatar

    pypa/pip

    10,186View on GitHub↗

    pip is a Python package manager used to install, update, and remove software libraries from the Python Package Index and other remote repositories. It functions as a dependency resolver that calculates compatible version sets for complex software trees, an environment inspector for analyzing installed distributions, and a wheel builder that compiles source distributions into binary files. The tool supports various installation methods, including fetching packages directly from web URLs and Git commits, as well as installing packages in editable mode for active development. It enables the crea

    Pythonpackagingpippython
    View on GitHub↗10,186
  • pypa/pipenvpypa avatar

    pypa/pipenv

    25,066View on GitHub↗

    Pipenv is a Python dependency manager and virtual environment manager that ensures reproducible environments across different systems. It functions as a lockfile resolver, generating deterministic lockfiles from high-level dependency constraints to prevent version drift. The tool integrates project workflow automation by loading environment variables and executing custom project scripts. It also includes security auditing capabilities to scan installed packages for known vulnerabilities. The system covers a broad range of capabilities including dependency version locking, package installatio

    Python
    View on GitHub↗25,066
Compare all 30 related projects→

Frequently asked questions

What does bndr/pipreqs do?

pipreqs is a Python dependency generator and discovery tool. It scans project imports to identify the third-party libraries required to run a project and automates the generation of requirements files containing only the packages actually used in the source code.

What are the main features of bndr/pipreqs?

The main features of bndr/pipreqs are: Import-Based Requirements Generation, Import-to-Manifest Comparison, Unused Dependency Identification, Difference-Based Pruning, Package Discovery Tools, AST-Based Analysis, Import-Based Dependency Generators, Pip Requirements Managers.

Which projects share features with bndr/pipreqs?

Projects with overlapping indexed features include: depcheck/depcheck — depcheck is a project dependency auditor and npm dependency analyzer for the JavaScript ecosystem. It functions as an… pypa/pipenv — Pipenv is a Python dependency manager and virtual environment manager that ensures reproducible environments across… pypa/pip — pip is a Python package manager used to install, update, and remove software libraries from the Python Package Index… pdm-project/pdm — PDM is a Python package manager, dependency resolver, and build tool designed to create reproducible environments. It… jazzband/pip-tools — pip-tools is a set of utilities for Python dependency pinning, lockfile management, and virtual environment… pypa/pipx — pipx is a manager for installing and running Python command-line applications in isolated environments. It serves as a…