all options
buster  ]
[ Source: pyprotocols  ]

Пакунок: python-protocols (1.0a.svn20070625-8)

Links for python-protocols

Screenshot

Debian Resources:

Download Source Package pyprotocols:

Maintainer:

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

Інші пакунки пов'язані з python-protocols

  • depends
  • recommends
  • suggests
  • enhances

Завантажити python-protocols

Завантаження для всіх доступних архітектур
Архітектура Розмір пакунка Розмір після встановлення Файли
amd64 36.3 kB153.0 kB [список файлів]
arm64 34.7 kB153.0 kB [список файлів]
armhf 34.8 kB139.0 kB [список файлів]
i386 36.3 kB151.0 kB [список файлів]