all options
wheezy  ] [  jessie  ] [  stretch  ] [  buster  ] [  sid  ]
[ Source: pyprotocols  ]

Package: python-protocols (1.0a.svn20070625-7 and others)

Links for python-protocols


Debian Resources:

Download Source Package pyprotocols:


External Resources:

Similar packages:

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.)

Other Packages Related to python-protocols

  • depends
  • recommends
  • suggests
  • enhances

Download python-protocols

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 1.0a.svn20070625-7 36.7 kB180.0 kB [list of files]
amd64 1.0a.svn20070625-7 37.4 kB172.0 kB [list of files]
arm64 1.0a.svn20070625-7 35.3 kB172.0 kB [list of files]
armel 1.0a.svn20070625-7 35.3 kB170.0 kB [list of files]
armhf 1.0a.svn20070625-7 35.5 kB158.0 kB [list of files]
hppa (unofficial port) 1.0a.svn20070625-7 37.2 kB179.0 kB [list of files]
hurd-i386 1.0a.svn20070625-7 37.3 kB171.0 kB [list of files]
i386 1.0a.svn20070625-7 37.0 kB124.0 kB [list of files]
kfreebsd-amd64 1.0a.svn20070625-7 37.2 kB130.0 kB [list of files]
kfreebsd-i386 1.0a.svn20070625-7 37.3 kB129.0 kB [list of files]
m68k (unofficial port) 1.0a.svn20070625-7 35.1 kB123.0 kB [list of files]
mips 1.0a.svn20070625-7 35.6 kB175.0 kB [list of files]
mips64el 1.0a.svn20070625-7 36.0 kB159.0 kB [list of files]
mipsel 1.0a.svn20070625-7 35.8 kB175.0 kB [list of files]
powerpc 1.0a.svn20070625-7 35.1 kB174.0 kB [list of files]
powerpcspe (unofficial port) 1.0a.svn20070625-7 35.0 kB183.0 kB [list of files]
ppc64 (unofficial port) 1.0a.svn20070625-7+b1 36.1 kB186.0 kB [list of files]
ppc64el 1.0a.svn20070625-7 36.1 kB133.0 kB [list of files]
s390x 1.0a.svn20070625-7+b1 37.0 kB184.0 kB [list of files]
sh4 (unofficial port) 1.0a.svn20070625-7 37.6 kB195.0 kB [list of files]
sparc64 (unofficial port) 1.0a.svn20070625-7 35.3 kB181.0 kB [list of files]
x32 (unofficial port) 1.0a.svn20070625-7 38.0 kB171.0 kB [list of files]