Generate Pipfile from pyproject.toml
Project description
Poetrip
Generate Pipfile from pyproject.toml.
Source Code: https://github.com/Joffreybvn/poetrip
Pypi: https://pypi.org/project/poetrip/
Poetrip is a small library and CLI to quickly create Pipfile from existing pyproject.toml.
Installation
Poetrip requires Python 3.6 or greater.
Using pip:
pip install poetrip
Using poetry:
poetry add --dev poetrip
CLI Quickstart
Get a Pipfile from a pyproject.toml:
$ poetrip --from pyproject.toml --to Pipfile
Or simply:
$ poetrip
Takes the pyproject.toml in the current folder and generate a Pipfile.
API Quickstart
Get a Pipfile from a pyproject.toml:
from poetrip import PyProject
# Load and transform
pyproject = PyProject.from_file("./pyproject.toml")
pipfile = pyproject.to_pipfile()
# Write to disk
pipfile.to_file("./Pipfile")
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
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 poetrip-1.0.0.tar.gz.
File metadata
- Download URL: poetrip-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.4.0-124-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58847578f5e44a1854b84a03f820f4d1f8c5470aaa8580e0a80fe9d8fc3b25d9
|
|
| MD5 |
c260581eb1f5ad6e1c73246b5c8c20fb
|
|
| BLAKE2b-256 |
6f690d0d23a0246cbb0fe6449ba51d121cc831ef0d808c7bc9c499a789ed2e0a
|
File details
Details for the file poetrip-1.0.0-py3-none-any.whl.
File metadata
- Download URL: poetrip-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.4.0-124-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94120252a0ae3a327f51b8e98ea2fe425ff028a499019a0883d8119ce2c011e7
|
|
| MD5 |
54a1edaa8ca890d79bbcb1fdf70ee352
|
|
| BLAKE2b-256 |
fc5dc435f8820bd22039e3ae553e6a5678524be3aa29a49a8f318047ca224328
|