Skip to main content

Sync requirements from Pipfile to pyproject.toml

Project description

pyproject-pipenv

ci PyPI pyversions PyPI version Very popular Code style: black

Sync dependencies in Pipfile to pyproject.toml.

Never need again to change dependencies manually in pyproject.toml (or forget to do it and publish a broken package), and enjoy the same dependency locking or semantic versioning.

Also allows just checking to be used as part of CI lint/format steps.

Usage

...

ToDo

  • Handle markers and all that extra crap besides version

Context

For some reason, neither pyproject nor pipenv interact with each other:

  • You use pipenv (and Pipfile) while developing, because it's great
  • You add all the package details to pyproject.toml
  • You work on the code and add new dependencies
  • Then you publish the new version only to notice you forgot to add the dependencies also to pyproject dependencies entry...

dephell seemed to be a solution but it is dead. Forking it sounds too much, as it supports many different things than I need.

pipenv-setup seems to be the same but for setup.py instead of pyproject.toml. Probably a good source for inspiration after this initial version.

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

pyproject-pipenv-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

pyproject_pipenv-1.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pyproject-pipenv-1.0.0.tar.gz.

File metadata

  • Download URL: pyproject-pipenv-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for pyproject-pipenv-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b7f6737f92073f880870f948326131544f2a8a177647ed42fdfdefc423e71bef
MD5 5881d18c00ca0c6202ffc909d2a421df
BLAKE2b-256 65bdb99f5b00d865f781d77c598e7075d4142568c7506d2cab6985fbdd4ed074

See more details on using hashes here.

File details

Details for the file pyproject_pipenv-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyproject_pipenv-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81b2436f5fe4679d7faed75388ed6cf3fee9e65853babd4972082f4aa64b1dab
MD5 187f179bb9669c91812d4e7fde769c99
BLAKE2b-256 2a6fb00f42fc5fe820f2fcae54f69ca40c15e2fe6cbaa9a72bd7e41a7776d2dc

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