Skip to main content

Package manager that compliments Docker-based workflows

Project description

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 <new-package>
$ pip3 freeze | grep <new-package> >> requirements.txt
$ docker build ... # (A redudant install)

with this:

$ pipflow add <package>

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 <package-name>

Remove a package

pipflow remove <package-name>

Upgrade a package version

pipflow upgrade <package-name>

Upgrade all packages

pipflow upgrade-all

Vew all packages eligible for upgrade

pipflow view-all

License

MIT Copyright (c) 2021 Michael.

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

Pipflow-0.1.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file Pipflow-0.1.2.tar.gz.

File metadata

  • Download URL: Pipflow-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for Pipflow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e40b1d73d0ec25876038b4c0daaeedc21c7a662200ca1d9f942f95817f670110
MD5 a498f075f6241c77b4aeb4ae41ed08e0
BLAKE2b-256 d5d6177d71a6597b571b0bfe70530d70a331e705e85a7f2d0115556ffd090681

See more details on using hashes here.

Supported by

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