Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Distribute Archived Python

Install with

pip install darpy

darpy isn’t better than shell scripting. It is shell scripting. No illusions, no lies, no false abstractions.

Why?

  1. Pre-baking a virtualenv and shipping it around is full of woes. (e.g. -relocatable only kind of works, but virtualenv may have abspaths in it)

  2. Want to be able to bundle dependencies of an application so that you can have them openly specified in requirements.txt, but reproducibly deploy the same exact dependencies

How?

Use tar, pip download, pip install, to make python archives which can unpack and install without network access.

Works best if you darpy pack and darpy unpack on the same platform version, python version, and architecture. darpy pack may fetch arch or platform-specific binary packages based on the platform where it runs.

Usage

Pack it Up

If you have a package in dir $HOME/myproject

darpy pack --src "$HOME/myproject"

If you want to use a requirements.txt outside of setup.py

darpy pack --requirements "$HOME/myproject/requirements.txt"

or use both

darpy pack --src "$HOME/myproject" --requirements "$HOME/myproject/requirements.txt"

Unpack It

Works best if done on the same platform

Unpack into current virtualenv with

darpy unpack darpy-pack.tgz

Unpack into target virtualenv with

darpy unpack darpy-pack.tgz --virtualenv "$HOME/myvirtualenv"

Release files for darpy 0.2.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 darpy 0.2.1
File Size Uploaded
darpy-0.2.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for darpy 0.2.1
File Interpreter ABI Platform
darpy-0.2.1-py2.7.egg Legacy Egg format - - Details

Total release size: 11.7 kB

Release files / darpy-0.2.1.tar.gz

Download URL darpy-0.2.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2b003390ac632be5dd61c537c5a47fa29186c976b8d7809448cd4fe2c1592532
BLAKE2b-256 checksum
How to use checksums
7c76860e1181871a5f96d31235a50d3a7519a2cd26fa1998824359f899407d6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / darpy-0.2.1-py2.7.egg

Download URL darpy-0.2.1-py2.7.egg
Size 8.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
45c20512a0320e2063a9eabc3c341aa1f79576d8ef5103e8b10d9a64c6af44e8
BLAKE2b-256 checksum
How to use checksums
7b31d78e15e64bb870ff33e5ec968a937d16c8e24bd5ed077ed1d0f8f530ce27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.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