--- id: pipreqs-fivetran version: "1.1.2" license: Apache-2.0 license_treatment: permissive maintenance: aging --- # pipreqs-fivetran — Pip requirements.txt generator based on imports in project License: permissive · Maintenance: aging · Downloads: 116.1K/mo ## 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 above — 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 pip install pipreqs-fivetran uv add pipreqs-fivetran 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_current - Install friction: low - Maintenance: aging - Downloads: 116.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags generate requirements.txt from imports, automatic dependency detection, scan python project for packages, create requirements file, jupyter notebook import scanner, dependency-management, jupyter-support [View on SkillFed](https://skillfed.io/packages/pipreqs-fivetran) · [View on PyPI](https://pypi.org/project/pipreqs-fivetran/)