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
pydepby runningsetup.pyinPyDepdirectory
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
pydepcan be used by directly typingpydepin terminal/cmd of project directory- For creating
pyproject.tomlfile, the commandpydep pyprojectis 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.txtfile for the project, the commandpydep dependencyis 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.lockdependency file fromrequirements.txt, the commandpydep convertis 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
Release history Release notifications | RSS feed
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.1.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydep-cli-0.1.1.tar.gz.
File metadata
- Download URL: pydep-cli-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c638bdf81591961593dc0543861917bf0b62f63a17151288b64e637931f7608a
|
|
| MD5 |
22596b154e0c0a7ea1ebd5035e946a08
|
|
| BLAKE2b-256 |
4c9193eef628ce0d1c3a8f8134dd14b4eb9bea0fdc9562062db5f277f7bfbe4e
|
File details
Details for the file pydep_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pydep_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef4bcd9b6c7147f9010fb6ec60eb15585eb360756fb7883c7105307b9328c9c2
|
|
| MD5 |
c91c0366328920beff16b035270ae4f0
|
|
| BLAKE2b-256 |
b6f56cf1e910375d7ffda408fbb63e6c0093d67c795cf961cb9cb06d4002ef89
|