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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file troll.storage-0.4.tar.gz
.
File metadata
- Download URL: troll.storage-0.4.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7108bf2e38b55b764b8905e54608b6cb5c0786eb383a7660cbccfc56c3f51d7 |
|
MD5 | be6d17375f4bb35b835a4de38d660792 |
|
BLAKE2b-256 | 917481f5c223a4cc241d1c5c38116eb9bef57e2567b6f604ca257e3d7800d0f8 |