Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Troll abstract storage layer

Project Description

The troll.storage package provides an abstract approach for the storage problematics. It defines a simple, yet exhaustive, api to deal with all kind of storage.

It provides :

  • A clear API as interfaces
  • A base class adapter that provides a basic implementation.
  • A demonstrative, yet functional, annotation descriptor, to handle annotation storages.

How does it work?

The system uses the basic zope3 components system to be flexible and pluggable. There are 3 main parts :

  • the Handler : the straightforward API to store, retrieve and delete. It’s implemented as an adapter.
  • the Storage : a storage object that implements IStorage. It can be a zope container or a layer to write in a relational database.
  • the Stored Item : a very lightly contrained object that is to be stored in Storage.

Learn more

Nothing is like code reading to understand how to use it and why to use it. I recommand you read the tests. They demonstrate all the basic usecases.

Release History

Release History

This version
History Node

0.4

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
troll.storage-0.4.tar.gz (5.1 kB) Copy SHA256 Checksum SHA256 Source Feb 22, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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