Skip to main content

This tool makes it easier to update your strict peep-ready requirements.txt file.

If you want to add a package or edit the version of one you’re currently using you have to do the following steps:

  1. Go to pypi for that package

  2. Download the .tgz file

  3. Possibly download the .whl file

  4. Run peep hash downloadedpackage-1.2.3.tgz

  5. Run peep hash downloadedpackage-1.2.3.whl

  6. Edit requirements.txt

This script does all those things. Hackishly wonderfully so.

Installation

This is something you only do or ever need in a development environment. Ie. your laptop.

pip install peepin

How to use it

Suppose you want to install futures. You can either do this:

peepin futures

Which will download the latest version tarball (and wheel) and calculate their peep hash and edit your requirements.txt file.

Or you can be specific about exactly which version you want:

peepin "futures==2.1.3"

Suppose you don’t have a requirements.txt right there in the same directory you can do this:

peepin "futures==2.1.3" stuff/requirementst/prod.txt

If there’s not output. It worked. Check how it edited your requirements files.

Ode to Erik Rose

Just in case you didn’t know; peep is awesome. It makes it possible to confidently leave third-party packages to be installed on the server without needing to be checked into some sort of “vendor” directory.

Having said that, if you don’t care about security or repeatability. Then Erik is just a dude with a goatee.

Version History

0.1
  • Works

Metadata

Release files for peepin 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for peepin 0.1
File Size Uploaded
peepin-0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for peepin 0.1
File Interpreter ABI Platform
peepin-0.1-py2-none-any.whl Python 2 none any Details

Total release size: 9.2 kB

Release files / peepin-0.1.tar.gz

Download URL peepin-0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
de34a2143c74ed66d083b193afa1e84615e8a4f41981b95d4973c4a1dedd8a32
BLAKE2b-256 checksum
How to use checksums
9deb975738232a68dd3437e6756f1c42a58adcda374e40c666ed82e64d4b1f10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / peepin-0.1-py2-none-any.whl

Download URL peepin-0.1-py2-none-any.whl
Size 5.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
44dc223f46379cebd7a4a0f792ec8501024b7f5fc338afbfc82fdbf584a54f2d
BLAKE2b-256 checksum
How to use checksums
71670c01f7aa9158a24391cdf67085d2c270779ae1e8c9d12bd352007b4dc966
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.14

2 release files

0.13

3 release files

0.12

3 release files

0.11

3 release files

0.10

3 release files

0.9

3 release files

0.8

3 release files

0.7

3 release files

0.6

3 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page