Skip to main content

pipenv-poetry-migrate

This is simple migration script, migrate pipenv to poetry.

Usage

$ pipenv-poetry-migrate -f Pipfile -t pyproject.toml

Example

This is an example of a Pipfile to be migrated.

[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
requests = "*"

[dev-packages]
pytest = "^5.2"

Migrate the above file to the following pyproject.toml.

[tool.poetry]
name = "migration-sample"
version = "0.1.0"
description = ""
authors = ["Yoshiyuki HINO <yhinoz@gmail.com>"]

[tool.poetry.dependencies]
python = "^3.7"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

By executing this script, pyproject.toml is rewritten as follows.

[tool.poetry]
name = "migration-sample"
version = "0.1.0"
description = ""
authors = ["Yoshiyuki HINO <yhinoz@gmail.com>"]

[tool.poetry.dependencies]
python = "^3.7"
requests = "*"

[tool.poetry.dev-dependencies]
pytest = "^5.2"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

Download files

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

Source Distribution

pipenv-poetry-migrate-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipenv_poetry_migrate-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file pipenv-poetry-migrate-0.1.0.tar.gz.

File metadata

  • Download URL: pipenv-poetry-migrate-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0

File hashes

Hashes for pipenv-poetry-migrate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 797ceeed08ac8a768e1efc244d3981396fdb52aed609f8acc919dc13cb1db6a3
MD5 0b3e900afd5a68e277eefaf2d9f8fb8d
BLAKE2b-256 5cdc6920f5784c60e1c081df5364701b8ddbc7b118fa52d5ba9520001a68333d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pipenv_poetry_migrate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1211191f8617513f1b2c0d7421bca3f6d251121f332a5eecaf1635b3dcd32011
MD5 bb28e02f4da763c6794683f1c3bb4780
BLAKE2b-256 c9d653e1bc162390a82f8c08f7ef092247bb43c485fc9be62ff047163fad404d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page