Skip to main content

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

License: MIT Upload Python Package

head-require

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

head_require-2.0.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

head_require-2.0.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file head_require-2.0.0.tar.gz.

File metadata

  • Download URL: head_require-2.0.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for head_require-2.0.0.tar.gz
Algorithm Hash digest
SHA256 54cb7dabb4809ffbed4e467318cd84ba08c05e259e81a4c5841aadf349b981d9
MD5 4c026f26769fa231cb583512a758b16b
BLAKE2b-256 d1bd850987026c905ebf4c7f406d59ed939190dca1eb593e4e4d2fb068112ccb

See more details on using hashes here.

File details

Details for the file head_require-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for head_require-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a4bbd88f57d54de4da9ec4d2c7ebfba62bd0e9e1d98cf8d0bb7d8f6ee63c6ff
MD5 21893c16f899971a8cf43fd2a137ef6c
BLAKE2b-256 b9d1359740cd89815034e5f0cd6f391258b2f7f39fb120a21948749ac4dd52e5

See more details on using hashes here.

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