zope.interface compliant ordered dictionary.
Project description
zodict
Ordered dictionary which implements the corresponding zope.interface.common.mapping interface.:
>>> from zope.interface.common.mapping import IFullMapping >>> from zodict import zodict >>> zod = zodict() >>> IFullMapping.providedBy(zod) True
Node
This is a zodict which provides a location.:
>>> from zope.location.interface import ILocation >>> from zodict.node import Node >>> root = Node('root') >>> ILocation.providedBy(Node) True >>> root['child'] = Node() >>> root['child'].path ['root', 'child'] >>> child = root['child'] >>> child.__name__ 'child' >>> child.__parent__ <Node object 'root' at ...>
Changes
- -Add filtereditems function to Node
rnix, 2009-03-22
- -Add node interface and implementation
rnix, 2009-03-18
Credits
-Written by Robert Niederreiter <rnix@squarewave.at> (2009-03-17)
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
zodict-1.2.tar.gz
(3.2 kB
view details)
File details
Details for the file zodict-1.2.tar.gz
.
File metadata
- Download URL: zodict-1.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 470c3eb0398ee01adf384f890cae8eba8ff4c42d24626c1c59b0a61936eed60c |
|
MD5 | 6b8252a086a29831a522c1079efcadd4 |
|
BLAKE2b-256 | 2a4362fb3ed32bfc991b1ceb0e28dabb690ebb1165b703903f42c9ea82491ad2 |