Skip to main content
https://img.shields.io/pypi/v/outpak.svg https://travis-ci.org/chrismaille/outpak.svg?branch=master https://img.shields.io/pypi/pyversions/outpak.svg https://coveralls.io/repos/github/chrismaille/outpak/badge.svg?branch=master Documentation Status https://api.codacy.com/project/badge/Grade/752016eb6b864a01af676a2c9548090b:target:https://www.codacy.com/app/chrismaille/outpak?utm_source=github.com&utm_medium=referral&utm_content=chrismaille/outpak&utm_campaign=Badge_Grade Maintainability Requirements Status

Outpak is a tool for installing packages inside requirements.txt using Git Personal Tokens or Bitbucket App Passwords, instead of using SSH keys. This is specially important on Docker projects, if you don’t want to copy the SSH keys inside the containers.

Install Outpak

Install Outpak using the command:

$ pip install outpak

Create the pak.yml file

For a simple example, let’s consider the following environment for your project, loaded in the .bashrc file:

$ export MY_ENVIRONMENT="docker"
$ export MY_GIT_TOKEN="12345abcde"

Based on these values, we can create the pak.yml configuration file:

version: "1"
github_key: MY_GIT_TOKEN
env_key: MY_ENVIRONMENT
envs:
  Docker:
    key_value: docker
    clone_dir: /opt/src
    files:
      - requirements.txt
      - requirements_test.txt

Save this file on same path where is your requirements.txt files are located.

Run Outpak

After create the configuration file, you can start install packages with the command:

$ pak install --config /path/to/pak/file

If you do not inform the path for the pak.yml file, Outpak will attempt to find it in the current directory. You can also you can set the OUTPAK_FILE environment variable for where the pak.yml file is located.

Further reading

Please check full documentation in http://outpak.readthedocs.io/

Metadata

Release files for outpak 1.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 outpak 1.0.1
File Size Uploaded
outpak-1.0.1.tar.gz 9.5 kB Details

Release files / outpak-1.0.1.tar.gz

Download URL outpak-1.0.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f2a29b5d530e2d4ead023177b4c0e8b23efc7e5f0872a4f4f831158afdea40b2
BLAKE2b-256 checksum
How to use checksums
87e9cd4d3e426f792ef7c3878029eb4400c7e9eb0e1d0ae7e1f81d4c3654b4a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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