DEBFIND Suche nach Debian-Paketen

Suchplatform für Softwarepakete und Archive Debian-basierter Linux-Distributionen

beta ! Diese website wird noch weiterentwickelt.

Liste aller Kategorien/Sektionen | Suchmaske | Haftungsausschluß

Paketbeschreibung


Paketnamepython-protocols
BeschreibungOpen Protocols and Component Adaptation for Python
Archiv/RepositoryOffizielles Debian Archiv squeeze (main)
Version1.0a.svn20070625-5+b1
Sektionpython
Prioritätoptional
Installierte Größe288 Byte
Hängt ab vonpython (<< 2.7), python (>= 2.5), python-support (>= 0.90.0), libc6 (>= 2.3.6-6~), python-decoratort
Empfohlene Pakete
PaketbetreuerChris Lamb
Quellepyprotocols (1.0a.svn20070625-5)
Paketgröße48258 Byte
Prüfsumme MD52f416cc71482fbc934827b9b66f9e1ef
Prüfsumme SHA1b6c0526001536146918bcaee4fc2c466c21641ce
Prüfsumme SHA256a1cf70c79421206378ae24e3c482690951f22c1c3b8819dafffae49f88cbdb9a
Link zum Herunterladenpython-protocols_1.0a.svn20070625-5+b1_i386.deb
Ausführliche BeschreibungDo you hate having to write lots of if-then logic to test what type something is? Wouldn't it be nice if you could just declare "I want this object to have this behavior" and magically convert whatever value you have, to the type you need? PyProtocols lets you do just that, cleanly, quickly, and robustly -- even with built-in types or other people's classes. . PyProtocols extends the PEP 246 adapt() function with a new "declaration API" that lets you easily define your own protocols and adapters, and declare what adapters should be used to adapt what types, objects, or protocols. In addition to its own Interface type, PyProtocols can also use Twisted and Zope's Interface types too. (Of course, since Twisted and Zope interfaces aren't as flexible, only a subset of the PyProtocols API works with them. Specific limitations are listed in the documentation.)


Impressum
Linux is a registered trademark of Linus Torvalds