Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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.

Project details


Release history Release notifications

This version
History Node

0.4

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
troll.storage-0.4.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None Feb 22, 2009

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page