Skip to main content

Distribute ARchived PYthon

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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"

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

darpy-0.2.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

darpy-0.2.1-py2.7.egg (8.4 kB view details)

Uploaded Egg

File details

Details for the file darpy-0.2.1.tar.gz.

File metadata

  • Download URL: darpy-0.2.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for darpy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2b003390ac632be5dd61c537c5a47fa29186c976b8d7809448cd4fe2c1592532
MD5 5d604f1c892c423a21a8e7fef126a8a8
BLAKE2b-256 7c76860e1181871a5f96d31235a50d3a7519a2cd26fa1998824359f899407d6d

See more details on using hashes here.

File details

Details for the file darpy-0.2.1-py2.7.egg.

File metadata

  • Download URL: darpy-0.2.1-py2.7.egg
  • Upload date:
  • Size: 8.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for darpy-0.2.1-py2.7.egg
Algorithm Hash digest
SHA256 45c20512a0320e2063a9eabc3c341aa1f79576d8ef5103e8b10d9a64c6af44e8
MD5 c4150e7449255400a3398446ce797a55
BLAKE2b-256 7b31d78e15e64bb870ff33e5ec968a937d16c8e24bd5ed077ed1d0f8f530ce27

See more details on using hashes here.

Supported by

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