Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markus-k/pipfile-util
Command line utility for working with pipenv's Pipfiles
https://github.com/markus-k/pipfile-util
pipenv pipfile python-tools rust
Last synced: about 1 month ago
JSON representation
Command line utility for working with pipenv's Pipfiles
- Host: GitHub
- URL: https://github.com/markus-k/pipfile-util
- Owner: markus-k
- License: apache-2.0
- Created: 2022-10-27T10:04:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T14:00:39.000Z (almost 2 years ago)
- Last Synced: 2024-06-11T20:19:36.606Z (7 months ago)
- Topics: pipenv, pipfile, python-tools, rust
- Language: Rust
- Homepage: https://crates.io/crates/pipfile-util
- Size: 54.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `pipfile-util`
[![CI](https://github.com/markus-k/pipfile-util/actions/workflows/rust.yml/badge.svg)](https://github.com/markus-k/pipfile-util/actions/workflows/rust.yml)
![License](https://img.shields.io/github/license/markus-k/s3-proxy)
[![Crates.io](https://img.shields.io/crates/v/pipfile-util)](https://crates.io/crates/pipfile-util)A command line utility for working with pipenv's Pipfile's.
Current features:
* List changed versions of a freshly locked `Pipfile.lock` against it's latest Git version`pipfile-util` is still in early development and not feature-complete. Breaking changes are expected before version 1.0.
## Usage
To compare a freshly locked `Pipfile.lock` to the latest committed one, run
```
$ pipfile-util diff path/to/Pipfile.lockDefault:
Changed:
certifi: 2022.5.18.1 => 2022.9.24
lxml: 4.9.0 => 4.9.1
tinycss2: 1.1.1 => 1.2.1Development:
Changed:
pylint: 2.12.2 => 2.15.5
New:
tomlkit: 0.11.6
tomli: 2.0.1
Deleted:
setuptools: 62.3.2
toml: 0.10.2
```The output from `pipfile-util diff` can also be easily used to create commit messages:
```sh
# lock your Pipfile to install updates
pipenv lock
git add Pipfile.lock
# create a commit, with the output from pipfile-util as a template
git commit -t <(pipfile-util diff)# or for fish-shell (and others not supporting <(..) syntax):
git commit -t (pipfile-util diff | psub)
```For more information, run `pipfile-util --help`.
## Installation
If you have Rust installed on your machine, you can install `pipfile-util` with Cargo:
```sh
cargo install pipfile-util
```## License
`pipfile-util` is licensed under the Apache-2.0 license.