This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# soda-pylib

This is a bucket of Pythonic utilities to help developing and maintaining
projets at SODA Virtual.


## soda.deploy

A collection of Fabric tasks that will aid deploying projects to *Virtual
Private Servers*. They will require an `env.roledefs` to work properly:

```python
from fabric.api import env

env.roledefs = {
'dev': {
'app_path': '/path/to/project/repository', # Full path!
'hosts': ['my_app.sodateste.com.br'], # Can be more than one
'service_name': 'my_app', # Supervisor service name
'settings_module': 'my_app.settings_dev', # Django settings module
'user': 'soda', # System user to perform operations
'venv_path': '/path/to/project/venv', # Virtualenv path
},
'prod': {
# ...
},
}
```

The following tasks are available for use:

### `git.display_version`

Display the active revision at the remote host.

```python
from fabric.api import execute
from soda.deploy import git
execute(git.display_version)
```


### `git.update_sources`

Fetch sources from the default remote (acquired by `git remote`) and checkout
to specified revision.

```python
from fabric.api import execute
from soda.deploy import git
execute(git.update_sources, 'master')
```


### `supervisor.stop`

Stop the app's Supervisor main service.

```python
from fabric.api import execute
from soda.deploy import supervisor
execute(supervisor.stop)
```


### `supervisor.start`

Start the app's Supervisor main service.

```python
from fabric.api import execute
from soda.deploy import supervisor
execute(supervisor.start)
```


### `deps.install_python_libs`

Install Python dependencies as defined in the project's `requirements.txt`.

```python
from fabric.api import execute
from soda.deploy import deps
execute(deps.install_python_libs)
```


### `deps.install_bower_libs`

Install front-end dependencies from Bower, as defined in the project's
`bower.json`.

```python
from fabric.api import execute
from soda.deploy import deps
execute(deps.install_python_libs)
```


### `django.collectstatic`

Run Django's `collectstatic` management command.

```python
from fabric.api import execute
from soda.deploy import django
execute(django.collectstatic)
```


### `django.migrate`

Run Django's `migrate` management command.

```python
from fabric.api import execute
from soda.deploy import django
execute(django.migrate)
```


### `opbeat.register_deploy`

Register a deployment to the Opbeat integration.

```python
from fabric.api import execute
from soda.deploy import opbeat
execute(opbeat.register_deploy)
```
Release History

Release History

1.3.5

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.3.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.3.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.3.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
soda-pylib-1.3.5.tar.gz (7.9 kB) Copy SHA256 Checksum SHA256 Source Oct 3, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting