Skip to main content

Create pyproject.toml & poetry.lock dependency files from requirements.txt

Project description

PyDep

Create pyproject.toml & poetry.lock dependency files from requirements.txt

Installation

pydep can be installed in the following ways:

Cloning the repository

  • Clone this repository to your local machine
git clone https://github.com/Devansh3712/PyDep.git
  • Install pydep by running setup.py in PyDep directory

Windows

python setup.py install

Linux

python3 setup.py install

Installing as a pip package

  • Using terminal/cmd to install pydep

Windows

pip install pydep-cli

Linux

pip3 install pydep-cli

Usage

Usage: pydep [OPTIONS] COMMAND [ARGS]...

  Create pyproject.toml & poetry.lock dependency files from requirements.txt

Options:
  --help  Show this message and exit.

Commands:
  convert     Create poetry.lock dependency file from requirements.txt
  dependency  Create requirements.txt file for the project, if virtual...
  pyproject   Create pyproject.toml file for the project

pydep commands

  • pydep can be used by directly typing pydep in terminal/cmd of project directory
  • For creating pyproject.toml file, the command pydep pyproject is used, which initiates a new pyproject.toml file
Usage: pydep pyproject [OPTIONS]

  Create pyproject.toml file for the project

Options:
  --help  Show this message and exit.
  • For creating requirements.txt file for the project, the command pydep dependency is used, which creates a requirements.txt file if a virtual environment for the project is activated
Usage: pydep dependency [OPTIONS]

  Create requirements.txt file for the project, if virtual environment is
  activated

Options:
  --help  Show this message and exit.
  • For creating poetry.lock dependency file from requirements.txt, the command pydep convert is used, which adds all dependencies in requirements.txt to pyproject.toml and poetry.lock file
Usage: pydep convert [OPTIONS]

  Create poetry.lock dependency file from requirements.txt

Options:
  --help  Show this message and exit.

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

pydep-cli-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pydep_cli-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pydep-cli-0.1.0.tar.gz.

File metadata

  • Download URL: pydep-cli-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for pydep-cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 778fb0085c6bf29e8517485fedf8433db9a00b98d980b806f3d72e88c0f2aa31
MD5 c67cb29395468934968ca4b2ed9591b5
BLAKE2b-256 6c4e6d45b9dc80ff720d09afa4be4a39b145063c19c2696b679e7c8af067191f

See more details on using hashes here.

File details

Details for the file pydep_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pydep_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for pydep_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 902fb8a93b8a1045db3f5458c72b355f7b0ae95dcf0849fef775c73b5412ac4c
MD5 60de539dd45c442341749e2447ffb66b
BLAKE2b-256 b77caad8d3dde3c16074c3dba4a1c770223979d3b31d02ba2ca86bcf260af2b6

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