Skip to content

Releases: ryan-rozario/pipreqs-action

Automatic requirements.txt for Python

08 Aug 20:30
d49032f
Compare
Choose a tag to compare

What's Changed

  • Updated the alpine image
  • Updated the README
  • Updated script

Automatic requirements.txt for Python

11 Dec 13:21
071f0f2
Compare
Choose a tag to compare

Automatic requirements.txt for Python Projects on Github

pipreqs - Generates pip requirements.txt file based on imports of any project.

This action will automatically create the requirements.txt file for a python project using the pipreqs tool.

You can specify the location of your project folder that contains all the python files within your repository.
You can specify the path to which your requirement.txt has to be saved.

Usage

Example workflow

name: Integration Test
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Self test
        id: selftest

        uses: ryan-rozario/pipreqs-action-cpy@master

        # Put an example of mandatory inputs here
        with:
          PROJECT_PATH: project_folder   #default is the root of the repository
          REQUIREMENT_PATH: project_folder/requirements.txt  #default is requirement.txt in the root of your repository 

Inputs

Input Description Default
PROJECT_PATH Gives the path to the project folder that contains the python files .
REQUIREMENT_PATH Gives the path to the location where requirements.txt has to be saved, including the requirements.txt file name requirements.txt
PROJECT_NAME Includes the project name in the commit project_name

Automatic requirement.txt for Python

15 Sep 18:21
79a9909
Compare
Choose a tag to compare

Automatic requirement.txt for Python Projects on Github

pipreqs - Generates pip requirements.txt file based on imports of any project.

This action will automatically create the requirements.txt file for a python project using the pipreqs tool.

You can specify the location of your project folder that contains all the python files within your repository.
You can specify the path to which your requirement.txt has to be saved.

Usage

Example workflow

name: Integration Test
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Self test
        id: selftest

        uses: ryan-rozario/pipreqs-action-cpy@master

        # Put an example of mandatory inputs here
        with:
          PROJECT_PATH: project_folder   #default is the root of the repository
          REQUIREMENT_PATH: project_folder/requirements.txt  #default is requirement.txt in the root of your repository 

Inputs

Input Description Default
PROJECT_PATH Gives the path to the project folder that contains the python files .
REQUIREMENT_PATH Gives the path to the location where requirements.txt has to be saved, including the requirements.txt file name requirements.txt
PROJECT_NAME Includes the project name in the commit project_name

Automatic requirement.txt for Python

30 Mar 20:04
5e8d45a
Compare
Choose a tag to compare

Automatic requirement.txt for Python Projects on Github

Actions Status
Actions Status

pipreqs - Generates pip requirements.txt file based on imports of any project.

This action will automatically create the requirement.txt file for a python project using the pipreqs tool.

You can specify the location of your project folder that contains all the python files within your repository.
You can specify the path to which your requirement.txt has to be saved.

Usage

Example workflow

name: Integration Test
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Self test
        id: selftest

        uses: ryan-rozario/pipreqs-action-cpy@master

        # Put an example of mandatory inputs here
        with:
          PROJECT_PATH: project_folder   #default is the root of the repository
          REQUIREMENT_PATH: project_folder/requirement.txt  #default is requirement.txt in the root of your repository 

Inputs

Input Description Default
PROJECT_PATH Gives the path to the project folder that contains the python files .
REQUIREMENT_PATH Gives the path to the location where requirement.txt has to be saved, including the requirement.txt file

Automatic requirement.txt for Python

30 Mar 19:53
Compare
Choose a tag to compare

Automatic requirement.txt for Python Projects using Pipreqs

Actions Status
Actions Status

pipreqs - Generates pip requirements.txt file based on imports of any project.

This action will automatically create the requirement.txt file for a python project using the pipreqs tool.

You can specify the location of your project folder that contains all the python files within your repository.
You can specify the path to which your requirement.txt has to be saved.

Usage

Example workflow

name: Integration Test
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Self test
        id: selftest

        uses: ryan-rozario/pipreqs-action-cpy@master

        # Put an example of mandatory inputs here
        with:
          PROJECT_PATH: project_folder   #default is the root of the repository
          REQUIREMENT_PATH: project_folder/requirement.txt  #default is requirement.txt in the root of your repository 

Inputs

Input Description Default
PROJECT_PATH Gives the path to the project folder that contains the python files .
REQUIREMENT_PATH Gives the path to the location where requirement.txt has to be saved, including the requirement.txt file name requirement.txt