Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nanobox-io/nanobox-engine-python

Engine for running Python apps on Nanobox
https://github.com/nanobox-io/nanobox-engine-python

boxfile developer-tools development-environment devtools docker nanobox python-apps python-engine python-runtime

Last synced: about 2 months ago
JSON representation

Engine for running Python apps on Nanobox

Awesome Lists containing this project

README

        

# Python

This is a Python engine for developing python apps on [Nanobox](http://nanobox.io).

## Usage
To use the Python engine, specify `python` as your `engine` in your boxfile.yml

```yaml
run.config:
engine: python
```

## Configuration Options
This engine exposes configuration options through the [boxfile.yml](https://docs.nanobox.io/boxfile/), a yaml config file used to provision and configure your app's infrastructure when using Nanobox.

### Python Settings
The following setting allows you to define your Python runtime environment.

#### runtime
Specifies which Python runtime and version to use. The following runtimes are available:

- python-2.7
- python-3.4
- python-3.5
- python-3.6

```yaml
run.config:
engine.config:
runtime: python-3.5
```

#### pip_install
Allows for a custom user-defined pip install command.

note: The custom pip install command should always include `-I` to ensure the binaries get copied on each build.

```yaml
run.config:
engine.config:
pip_install: 'pip install --index-url https://my.custom.index -r requirements/private.txt -I'
```

## Help & Support
This is a Python engine provided by [Nanobox](http://nanobox.io). If you need help with this engine, you can reach out to us in the [#nanobox IRC channel](http://webchat.freenode.net/?channels=nanobox). If you are running into an issue with the engine, feel free to [create a new issue on this project](https://github.com/pagodabox/nanobox-engine-python/issues/new).