Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imerica/pipflow
Cloud native Python package manager.
https://github.com/imerica/pipflow
cli cloud-native command-line-tool container docker package-manager pip python
Last synced: 2 months ago
JSON representation
Cloud native Python package manager.
- Host: GitHub
- URL: https://github.com/imerica/pipflow
- Owner: iMerica
- License: mit
- Created: 2020-01-05T19:50:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T00:52:28.000Z (over 1 year ago)
- Last Synced: 2024-09-16T05:05:14.316Z (3 months ago)
- Topics: cli, cloud-native, command-line-tool, container, docker, package-manager, pip, python
- Language: Python
- Homepage: https://dev.to/imichael/introducing-pipflow-5e3d
- Size: 15.6 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PipFlow
## Background
Pipflow is built for developers who deploy their Python software using Docker and Cloud Native technologies. When
building docker images our constraints are:- The more slim the image, the better.
- The less image layers, the better.
- Don't reinvent the wheel by installing a new package manager in your Dockerfile. These tools tend to use
lock files, which are fine in general, but in Docker they are redundant because we already have a way to
pin dependencies: Docker image layers.
This leave us with one option: Continue to use plain old `pip`, but create some new workflows that improve the
developer experience.For example, Pipflow replaces this workflow:
$ pip3 install
$ pip3 freeze | grep >> requirements.txt
$ docker build ... # (A redudant install)with this:
$ pipflow add
## Setup
Install `pipflow` on your *HOST OS only* (macOS, Windows, Linux etc). Do not add Pipflow to your `requirements.txt`.pip3 install pipflow
## Usage
Add a new package
pipflow add
Remove a package
pipflow remove
Upgrade a package versionpipflow upgrade
Upgrade all packages
pipflow upgrade-all
Vew all packages eligible for upgrade
pipflow view-all
## License
MIT Copyright (c) 2021 Michael.