Skip to main content

Generate Pipfile from pyproject.toml

Project description

Poetrip

Generate Pipfile from pyproject.toml.

Version License Python


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetrip-1.0.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

poetrip-1.0.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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