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


Badge Link
License: MIT License
Upload Python Package Python Publish
PyPI Downloads PyPI Stats
PyPI Latest Release 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

head_require-2.2.22.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

head_require-2.2.22-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: head_require-2.2.22.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

Hashes for head_require-2.2.22.tar.gz
Algorithm Hash digest
SHA256 b03d8565e657b73d4b2156ee1683b740bdfa530feabc659d4879190c6eff87ce
MD5 e49f090c63e9499d6a6918bb59c325a3
BLAKE2b-256 e35c723bd9aa8ce7b87ebcb364e562db4155014291e28ae0d369b07f82a8e4df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for head_require-2.2.22-py3-none-any.whl
Algorithm Hash digest
SHA256 c8fca505c765469cc0c01a9fbc7f73467973fab10ac5877873f84fde985a958a
MD5 f572ac5fe7a879fcf8978da3cf7337f0
BLAKE2b-256 519df92e4691e642c420fd5e3ae84b8b87c6388c2251443b03810684ed5e8678

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