> Le 28/06/2011 13:13, Thierry Florac a écrit :
>> This last part is handled by zope.intid package, which is used
>> by zope.catalog.
>> When a persistent IntId utility has been created and registered, you can
>> do what you need :
>> - get a unique ID (an integer) for a given object (when persisted !)
>> - get an object for a given ID
> I'm not in zope environment, I use Pyramid + ZODB. Can I use easily this
> tools in my context ?
I think so, zope.intid package only relies on basic Zope and ZODB
zope.* packages which are not in zope.app namespace should be usable quite
easily without a complete Zope machinery...
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org