Skip to main content

Run Zappa commands with Python virtual environments.

Project description

Zappa Env

Zappa-env is a simple package that allows you to call Zappa commands from a custom virtualenv for build purposes

Installing & Usage

Install zappa pip install zappa-env

Run your Zappa commands with zappa-env followed by your virtualenv and Zappa command zappa-env my-virtual-env zappa update prod

Requirements

Zappa-env currently assumes that your virtualenvs are installed with the virtualenvwrapper package and located in $HOME/.virtualenvs/. Currently this is unable to be changed unless you modify the source code.

Why?

The reason I made this project was because I was getting annoyed activating a special deployment virtualenv just to deploy or package my Zappa repo. This small project combines the workon virtualenv and zappa commands so I can run my Zappa commands in just one line.

Contributions

Submit an issue or pull request and I'll do my best to merge the PR or help with the issue.

To-do

  • Support running zappa commands with a requirements.txt file (eliminates need for virtualenvs)
  • Support Anaconda
  • Support stock Python virtualenvs

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

zappa-env-0.252.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

zappa_env-0.252-py2.py3-none-any.whl (4.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file zappa-env-0.252.tar.gz.

File metadata

  • Download URL: zappa-env-0.252.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for zappa-env-0.252.tar.gz
Algorithm Hash digest
SHA256 663813f9fe43a712e32583b3b34cbf51099fc432919ae25b6a1c173a4f94cd4d
MD5 7e1437d72d74460fed4c7ef55fbb655c
BLAKE2b-256 186217b653af6af8cb5213f04f9c33871f99b25838a6fd264cd9c2ae9222b1e1

See more details on using hashes here.

File details

Details for the file zappa_env-0.252-py2.py3-none-any.whl.

File metadata

  • Download URL: zappa_env-0.252-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for zappa_env-0.252-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e385f9e16fdb4f924896f5e58ef64f12fefd692a93039c6de7ea96ae5113f384
MD5 8d35800888e63819890455fff3336a1a
BLAKE2b-256 6d720c066b34b5810f7814b4c878cacbb9894b3800f11d972bf377788c3df89b

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