head-require is a library that aims to simplify the creation of requirements.txt files. head-require generates requirements.txt based on the packages actually used in your project.
Project description
Head-Require
Head-Require is a Python library designed to simplify the process of generating requirements.txt
files based on the imported packages in Python files within your project.
How to Use
Installation
To install Head-Require, you can use pip:
pip install head-require
Usage
Once installed, you can use the head-require
command in the current directory of your project. Here are some common usage examples:
To generate the requirements.txt
file based on the imported packages in your Python files, simply run:
head-require
Help
For a list of available options and their descriptions, you can use the help option:
head-require -h
Additional Notes
- Make sure to run the
head-require
command in the root directory of your Python project. - Head-Require analyzes Python files (
*.py
and*.ipynb
) to extract imported packages and their versions.
Thank you for using Head-Require! 😊
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for head_require-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90c4f4a93cab3f23effa1b87769be2fdbdd37e25df8f62aedc8ad9b5738ea5b7 |
|
MD5 | bab29ed60a1657d136864ae7c5af141f |
|
BLAKE2b-256 | 4bc8cca8a4a1717899c995465d0b504479f472205f5a153ad11e63bdf63ae28b |