Skip to main content

muto is a client/server system for cloud-based image manipulation in Django projects

Project description

muto-server
===========

**muto** is a client/server system for cloud-based image manipulation in
[Django] projects. It uses [easy-thumbnails] for the manipulation part and
[boto] for accessing and storing images on [S3].

This is the server part. The client package is called [muto-client].


Installation
------------

You can install the package from PyPI using pip or easy_install:

```bash
$ pip install muto-server
```

Or you can install from the latest source version:

```bash
$ git clone git://github.com/philippbosch/muto-server.git
$ cd muto-server/
$ python setup.py install
```

Add `mutoserver` to your `INSTALLED_APPS` in **settings.py**:

```python
INSTALLED_APPS = (
# ...
'mutoserver',
)
```

You also need a [Redis] instance in place.


Configuration
-------------

There are a few configuration settings you can set in your **settings.py**:

* `MUTO_REDIS_URL` – The URL to a Redis instance (defaults to `redis://:6379`)
* `MUTO_AWS_STORAGE_BUCKET_NAME` - The S3 bucket used to store and retrieve images (falls back to `AWS_STORAGE_BUCKET_NAME` if not defined)
* `MUTO_AWS_ACCESS_KEY_ID` and `MUTO_AWS_SECRET_ACCESS_KEY` – Your S3 credentials used to upload to S3 (fall back to `AWS_ACCESS_KEY_ID` or `AWS_SECRET_ACCESS_KEY` respectively if not defined)


Usage
-----

**muto-server** is basically a management command that runs a worker process
and waits for incoming image transformation requests by watching a queue in
Redis. Start the worker like this:

```bash
$ python manage.py watchqueue
```

That's it.


License
-------

[MIT]



[Django]: http://www.djangoproject.com/
[easy-thumbnails]: https://github.com/SmileyChris/easy_thumbnails
[boto]: https://github.com/boto/boto
[S3]: https://aws.amazon.com/s3/
[muto-client]: https://github.com/philippbosch/muto-client
[Redis]: http://redis.io/
[MIT]: http://philippbosch.mit-license.org/

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

muto-server-0.1.4.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file muto-server-0.1.4.tar.gz.

File metadata

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

File hashes

Hashes for muto-server-0.1.4.tar.gz
Algorithm Hash digest
SHA256 40d1bec9ecf54356bddc3920bcea60cb3a138213592584283bdd1ba57192ff00
MD5 18e8eed1a2157c1759947bdd583e79e9
BLAKE2b-256 302c20e0f38b71cec52e635f29a9234c63f2cc6ad9563760e3f1eca5e2af8a07

See more details on using hashes here.

Supported by

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