Sync requirements from Pipfile to pyproject.toml
Project description
pyproject-pipenv
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
(andPipfile
) 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
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
File details
Details for the file pyproject-pipenv-0.0.2.tar.gz
.
File metadata
- Download URL: pyproject-pipenv-0.0.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227dc7e37304eb6d50321a6de61c75bcd9c780815db39b4d708b49047f931768 |
|
MD5 | 54ac63adba69185c0f2a898922c96abb |
|
BLAKE2b-256 | cf8b3dfb669fe6bdf3ec2696b81658179535cd1fd7dce9c368952f9af96b3728 |
File details
Details for the file pyproject_pipenv-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pyproject_pipenv-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7173f87dbfb5d4e656251b530b0c15167b3423af2763147db5fd8816af2244a8 |
|
MD5 | 5bd25b9fc33665ccbbe804ccd7124be5 |
|
BLAKE2b-256 | c879ebc318542024640eecf5c00827cc29b9c8b0c29e5289458f42cc252ded1b |