{"id":23500020,"url":"https://github.com/thanaraklee/head-require","last_synced_at":"2025-04-15T18:32:34.964Z","repository":{"id":230610395,"uuid":"779792392","full_name":"Thanaraklee/Head-Require","owner":"Thanaraklee","description":"head-require is a library that aims to simplify the creation of requirements.txt files. head-require generates requirements.txt based on the packages used in your project.","archived":false,"fork":false,"pushed_at":"2024-09-21T09:27:47.000Z","size":135,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T23:34:18.272Z","etag":null,"topics":["library","package-manager","pip","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/head-require/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Thanaraklee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-30T20:00:06.000Z","updated_at":"2024-11-13T12:43:51.000Z","dependencies_parsed_at":"2024-03-30T20:29:44.589Z","dependency_job_id":"7c49d8f2-b3d8-44a8-8405-a6adbf9567b0","html_url":"https://github.com/Thanaraklee/Head-Require","commit_stats":null,"previous_names":["thanaraklee/head-require"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thanaraklee%2FHead-Require","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thanaraklee%2FHead-Require/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thanaraklee%2FHead-Require/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thanaraklee%2FHead-Require/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thanaraklee","download_url":"https://codeload.github.com/Thanaraklee/Head-Require/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249128891,"owners_count":21217237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["library","package-manager","pip","python3"],"created_at":"2024-12-25T06:34:16.041Z","updated_at":"2025-04-15T18:32:34.949Z","avatar_url":"https://github.com/Thanaraklee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Thanaraklee/Head-Require/main/img/logo.jpg\"\u003e\n\u003c/h1\u003e\n\u003cbr\u003e\n\n| Badge | Link |\n|-------|------|\n| ![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg) | [License](https://github.com/Thanaraklee/Head-Require/blob/main/LICENSE) |\n| ![Upload Python Package](https://github.com/Thanaraklee/Head-Require/actions/workflows/python-publish.yml/badge.svg?event=release) | [Python Publish](https://github.com/Thanaraklee/Head-Require/actions/workflows/python-publish.yml) |\n| ![PyPI Downloads](https://img.shields.io/pypi/dm/head-require.svg?label=PyPI%20downloads) | [PyPI Stats](https://pypistats.org/packages/head-require) |\n| ![PyPI Latest Release](https://img.shields.io/pypi/v/head-require.svg) | [PyPI Latest Release](https://pypi.org/project/head-require/) |\n\n\n\n# Head-Require\n\nHead-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.\n\n## How to Use\n\n### Installation\n\nTo install Head-Require, you can use pip:\n\n```bash\npip install head-require\n```\n\n### Usage\n\nOnce installed, you can use the `head-require` command in the current directory of your project. Here are some common usage examples:\n\nTo generate the `requirements.txt` file based on the imported packages in your Python files, simply run:\n\n```bash\nhead-require\n```\n\n#### Help\n\nFor a list of available options and their descriptions, you can use the help option:\n\n```bash\nhead-require -h\n```\n\n### Additional Notes\n\n- Make sure to run the `head-require` command in the root directory of your Python project.\n- Head-Require analyzes Python files (`*.py` and `*.ipynb`) to extract imported packages and their versions.\n\n# Workflow\n\u003ch1 align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Thanaraklee/Head-Require/main/img/workflow.jpg\"\u003e\n\u003c/h1\u003e\n\n❗**Important:**\nThis command must be executed within the `activated environment`. If it's not activated, it will work under the machine's environment.\n\nThank you for using Head-Require! 😊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanaraklee%2Fhead-require","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthanaraklee%2Fhead-require","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanaraklee%2Fhead-require/lists"}