Skip to main content

Generic blob-data asset manager that provides an API, CLI interface, for managing S3 assets and the respective CloudFront delivery setup.

Project description

# Assetman

[![Latest Version](](
[![Build Status](](
[![Montly Downloads](](
[![Download format](](
[![Coverage Status](](

## Usage
from assetman import (

manager = init(aws_key, aws_secret, my_bucket)
some_data = 'my awsome string / image binary / html / markdown / national secrets'
asset = create_blob(some_data)
asset.public = True # makes the asset publicly accessible over S3

print asset.uuid # returns a 16 character UUID which you can save for later

# ... somewhere over the Mediterranean sea...

my_saved_asset = manager.get_asset(uuid)

'my awsome string / image binary / html / markdown / national secrets'

It is also important to note that there are some convenience Asset Types built in for convenient handling
of meta data and mimetypes.

For example, the ```Image``` asset type will track format and dimensions for you. See tests for example.

## Testing

To install with testing support: ``` pip install -e .[test] ```
This will install with the optional dependencies required for testing. (wand, for example.)
``` nosetests ```

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for assetman, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size assetman-0.0.4.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page