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

Homepage: https://github.com/FocusLab/django-albertson

Integration library for Django and Albertson.

Use

DjangoSettingsMixin

dj_albertson.mixins.DjangoSettingsMixin

This mixin provides automatic loading of default settings for a CounterPool from the django settings module.

Below is an example use:

from albertson import CounterPool
from dj_albertson.mixins import DjangoSettingsMixin

class MyCounter(DjangoSettingsMixin, CounterPool):
    '''
    That's it, your done!
    '''

Once you’ve added this mixin to your counter pool classes, the following settings will be used:

ALBERTSON_AWS_ACCESS_KEY
The AWS access key id that will be used to access DynamoDB. This is the setting that will be used if both AWS_ACCESS_KEY_ID and ALBERTSON_AWS_ACCESS_KEY are provided.
ALBERTSON_AWS_SECRET_KEY
The AWS secet key that will be used to access DynamoDB. This is the setting that will be used if both AWS_SECRET_ACCESS_KEY and ALBERTSON_AWS_SECRET_KEY are provided.
AWS_ACCESS_KEY_ID
A more generic form of ALBERTSON_AWS_ACCESS_KEY
AWS_SECRET_ACCESS_KEY
A more generic form of ALBERTSON_AWS_SECRET_KEY
ALBERTSON_DEFAULT_READ_UNITS

The default read throughput that will be set on newly created tables.

default: 3

ALBERTSON_DEFAULT_WRITE_UNITS

The default write throughput that will be set on newly created tables.

default: 5

ALBERTSON_AUTO_CREATE_TABLE

A flag to control how Albertson should behave when it tries to use a table that doesn’t exist. If set to True, Albertson will create a new table. If set to False, Albertson will allow the underlying boto exception to bubble up through the stack.

default: True

Release History

Release History

0.1.1

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

0.1.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
django-albertson-0.1.1.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Feb 21, 2012

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