Skip to main content

CLI tool to gather dependencies for imports actually used by your code

Project description

realreq: real requirements for real projects

GitHub Workflow Status PyPI - Downloads GitHub code size in bytesPyPI pyversions

realreq is the lightweight tool that provides you with the actual dependencies used by your project.

Why use realreq?

Better dependency management

It is not a secret that python package management is not the easiest. Determining what packages you have installed are being used by your code, and what their dependencies are is a hassle. realreq fixes this for you by examining your source files and parsing out the dependencies for you.

Lightweight

realreq does not depend on any third party package, except for pip. It does not make any assumptions about the presence or absence of a virtual environment, or what tool you used to make your virtual environment. This means it will work with whatever tool set you are already using, without getting in the way of your workflow

Install

realreq is available for install via pip.

pip install realreq

Usage

realreq -s mypackage > requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

realreq-0.5.2.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

realreq-0.5.2-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page