Skip to main content

Goole App Engine Virtualenv tools

Project description

Google App Engine virtual environment
===========================

``gaeenv`` (Google App Engine virtual environment) is a tool to integrate
Google App Engine SDK into existing environments built by virtualenv_

Install
-------

Global installation
^^^^^^^^^^^^^^^^^^^

You can install gaeenv globally with `easy_install`_::

$ sudo easy_install gaeenv

or `pip`_::

$ sudo pip install gaeenv

Local installation
^^^^^^^^^^^^^^^^^^

Using virtualenv_ you can install gaeenv via pip_/easy_install_ inside any
virtual environment built with virtualenv_ or virtualenv_wrapper_::

$ virtualenv --no-site-packages env
$ . env/bin/activate
(env) $ pip install gaeenv
(env) $ gaeenv --version
0.1.0

If you want to work with the latest version of the gaeenv you can
install it from the github `repository`_::

$ git clone https://github.com/llinder/gaeenv.git
$ ./gaeenv/gaeenv/main.py --help

.. _repository: https://github.com/llinder/gaeenv
.. _pip: http://pypi.python.org/pypi/pip
.. _easy_install: http://pypi.python.org/pypi/setuptools


Dependency
----------

For gaeenv
^^^^^^^^^^^

* python
* requests

Usage
-----

Basic
^^^^^

Activate existing environment::

$ . env/bin/activate

Or activate existing environment with virtualenvwrapper::

$ workon env

Install latest Google App Engine SDK into environment::

(env) $ gaeenv install sdk

Check location of main utilities::

(env) $ which dev_appserver.py
VIRTUAL_ENV/lib/google_appengine/dev_appserver.py

(env) $ which appcfg.py
VIRTUAL_ENV/lib/google_appengine/appcfg.py

Deactivate environment::

(env) $ deactivate_gae

Advanced
^^^^^^^^

Get available SDK versions::

$ gaeenv list sdk
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.7
1.7.6
1.7.5
1.7.4

Install App Engine SDK "1.8.1"::

$ gaeenv install sdk --version=1.8.1

Link all packages in requirements.txt into src/lib::

$ . env/bin/activate
(env)$ pip install -r requirements.txt
(env)$ gaeenv install requirements -r requirements.txt


Gaeenv changelog
=================

Version 0.1.0
-------------

- Initial release

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

gaeenv-0.1.4.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file gaeenv-0.1.4.tar.gz.

File metadata

  • Download URL: gaeenv-0.1.4.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gaeenv-0.1.4.tar.gz
Algorithm Hash digest
SHA256 21764685b97ad26bdd4b6c8e13b3f77732493967ea1c6d0b2246b6a07b6ab8c2
MD5 c65bc6c2daafd0942181cf3d8447bc45
BLAKE2b-256 a4bdd77776afcd5f75a04743e0676c7c13d41d07e897c18d5a74efea6a5f86e5

See more details on using hashes here.

Supported by

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