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
Badge | Link |
---|---|
License | |
Python Publish | |
PyPI Stats | |
PyPI Latest Release |
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.
❗Important:
This command must be executed within the activated environment
. If it's not activated, it will work under the machine's environment.
Thank you for using Head-Require! 😊
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
Built Distribution
File details
Details for the file head_require-2.2.24.tar.gz
.
File metadata
- Download URL: head_require-2.2.24.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce7e180bdc387a1dcd1baeefd32c1099bcb01bbddb8ac3dc8c2c8b96583b27a4 |
|
MD5 | 9bbd46837f2b060301ddde4936409dd3 |
|
BLAKE2b-256 | 0bd1c52b835e2cce3fe40da344cdaa7810a064af91c5e50d4246483fda340e79 |
File details
Details for the file head_require-2.2.24-py3-none-any.whl
.
File metadata
- Download URL: head_require-2.2.24-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fed0e879dcad2abb00aecd7f710e725e91523fbcd32159423c29ee7d8a1bebd |
|
MD5 | acaad2cf380b43c401dae29b0d6b39b2 |
|
BLAKE2b-256 | 98a51e4f74114541c3772c226d7fb2d0fec5d6a9d255c2c23a3ccc0f60f8dcf0 |