skillfed

pipreqs-fivetran

Pip requirements.txt generator based on imports in project

pipreqs-fivetran v1.1.2 116.1K downloads/30d#12,222 on PyPI
Permissive license Apache-2.0 AGING released

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-fivetran

uv

uv add pipreqs-fivetran

poetry

poetry add pipreqs-fivetran

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

generate requirements.txt from importsautomatic dependency detectionscan python project for packagescreate requirements filejupyter notebook import scanner
dependency-managementjupyter-support

More Build Tools packages