> Le 28/06/2011 13:13, Thierry Florac a écrit : > >> This last part is handled by zope.intid package, which is used >> internally >> 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 dependencies. zope.* packages which are not in zope.app namespace should be usable quite easily without a complete Zope machinery... Regards, Thierry _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev