pipreqs-fivetran
Pip requirements.txt generator based on imports in project
What it is and what it does
pipreqs-fivetran is a command-line tool that analyzes a Python project's source code and Jupyter notebooks to extract all imported packages, then generates a requirements.txt file without needing to install anything. Unlike `pip freeze`, which lists every package in your environment, pipreqs scans only the files you actually use, making it useful for documenting real project dependencies or bootstrapping requirements for a new project.
The tool queries PyPI to determine available versions and can pin them using different schemes (exact, compatible release, or unpinned), or use only local package metadata if you prefer offline operation. It supports custom PyPI servers, HTTP proxies, and can clean up existing requirements files by removing unused packages or comparing against current imports.
Use it for:
- Generate requirements.txt for a new project before installing any packages, to document what you need.
- Audit an existing project to find unused dependencies currently listed in requirements.txt.
- Extract dependencies from a Jupyter notebook-heavy data science project that pip freeze would misrepresent.
- Migrate a project to a custom or private PyPI server by re-pinning versions against that server.
- Quickly document dependencies for a legacy codebase without manually inspecting imports.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Scans Python project source files and Jupyter notebooks to detect imports, then generates a requirements.txt file with pinned or unpinned versions by querying PyPI or using local package metadata.
Yes, if you need to generate or audit requirements.txt files for Python projects. The low install friction and permissive license make it a safe addition to a development workflow. However, the aging maintenance status means you should verify it handles your project's import patterns correctly before relying on it for production dependency management. No known vulnerabilities.
Install
pipreqs-fivetran on PyPI
pip
pip install pipreqs-fivetranuv
uv add pipreqs-fivetranpoetry
poetry add pipreqs-fivetranInstalling pipreqs-fivetran
Before you install
Low friction: four runtime dependencies (yarg, docopt, nbconvert, ipython) are lightweight and widely available. Maintenance status is aging—last release was 193 days ago—so expect no active development, though the package remains functional for its core task.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely as long as you include the license notice.
Quickstart
pip install pipreqs-fivetran
pipreqs /path/to/project
# or to output to stdout:
pipreqs --print /path/to/project
Requires Python 3.9–3.14; optional Jupyter notebook scanning requires nbconvert and ipython as runtime dependencies (included by default).
Verify before relying
- Whether the package correctly handles all modern import syntax (e.g., conditional imports, type hints, starred imports) across Python 3.9–3.14.
- How accurately it distinguishes between direct project dependencies and transitive dependencies when querying PyPI.
- Performance characteristics on large projects with many files or notebooks.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<3.15,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — yarg, docopt, nbconvert, ipython |
| Maintenance | aging — 193 days since the last release |
| First released | |
| Downloads | 116,067/month — #12,222 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pipreqs_fivetran-1.1.2-py3-none-any.whl
Keywords: pip, requirements, imports
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
pipreqsScans Python project source code to detect…
permissive · top 5,000 on PyPI
pip-check-reqsAudits Python project imports against…
permissive · top 15,000 on PyPI
yargYarg is a PyPI client library that queries…
permissive · top 5,000 on PyPI
pip-chillpip-chill generates a minimal requirements file…
copyleft · top 15,000 on PyPI
ipynbImports Jupyter Notebook (.ipynb) files as…
permissive · top 15,000 on PyPI
importnbimportnb lets you import Jupyter notebooks as…
permissive · top 15,000 on PyPI
pipdeptreepipdeptree displays installed Python packages…
permissive · top 5,000 on PyPI
creosoteCreosote scans your Python project's source…
permissive · top 5,000 on PyPI
pexPex generates standalone, executable Python…
permissive · top 5,000 on PyPI
nbdevnbdev is a notebook-driven development platform…
permissive · top 15,000 on PyPI