pyprotocols 1.0a.svn20070625-7 source package in Ubuntu
Changelog
pyprotocols (1.0a.svn20070625-7) unstable; urgency=medium * QA upload. * Build using dh_python2 -- Matthias Klose <email address hidden> Sun, 13 Jul 2014 15:55:22 +0000
Upload details
- Uploaded by:
- Debian QA Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian QA Group
- Architectures:
- any
- Section:
- python
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Xenial | release | universe | python |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
pyprotocols_1.0a.svn20070625-7.dsc | 1.3 KiB | ad3acf87c03f6662050c5c9f20d2608e6d1f17d84c5305c76e0d93b1dd86eaf7 |
pyprotocols_1.0a.svn20070625.orig.tar.gz | 104.8 KiB | b3ba649f11919ce61851f68f32bcc56f7bb9a4d440c485026ec0b59a4c5ba013 |
pyprotocols_1.0a.svn20070625-7.diff.gz | 4.1 KiB | 56151951767c7791d61ba2a29be91acc3cd9b08fb1135806b94096697856fdfe |
Available diffs
No changes file available.
Binary packages built by this source
- python-protocols: Open Protocols and Component Adaptation for Python
Do 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.)