python-protocols_1.0a.svn20070625-7_amd64.deb


Advertisement

Description

python-protocols - Open Protocols and Component Adaptation for Python

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-protocols
Package version: 1.0a.svn20070625
Package release: 7
Package architecture: amd64
Package type: deb
Installed size: 169 B
Download size: 33.70 KB
Official Mirror: archive.ubuntu.com
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.)

Alternatives

    Download

    Source package: pyprotocols

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-protocols deb package:
      # sudo apt-get install python-protocols

    Files

    • /usr/lib/python2.7/dist-packages/PyProtocols-1.0a0dev_r0.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/PyProtocols-1.0a0dev_r0.egg-info/SOURCES.txt
    • /usr/lib/python2.7/dist-packages/PyProtocols-1.0a0dev_r0.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/PyProtocols-1.0a0dev_r0.egg-info/requires.txt
    • /usr/lib/python2.7/dist-packages/PyProtocols-1.0a0dev_r0.egg-info/top_level.txt
    • /usr/lib/python2.7/dist-packages/PyProtocols-1.0a0dev_r0.egg-info/zip-safe
    • /usr/lib/python2.7/dist-packages/protocols/__init__.py
    • /usr/lib/python2.7/dist-packages/protocols/_speedups.so
    • /usr/lib/python2.7/dist-packages/protocols/adapters.py
    • /usr/lib/python2.7/dist-packages/protocols/advice.py
    • /usr/lib/python2.7/dist-packages/protocols/api.py
    • /usr/lib/python2.7/dist-packages/protocols/classic.py
    • /usr/lib/python2.7/dist-packages/protocols/generate.py
    • /usr/lib/python2.7/dist-packages/protocols/interfaces.py
    • /usr/lib/python2.7/dist-packages/protocols/twisted_support.py
    • /usr/lib/python2.7/dist-packages/protocols/zope_support.py
    • /usr/lib/python2.7/dist-packages/protocols/tests/__init__.py
    • /usr/lib/python2.7/dist-packages/protocols/tests/checks.py
    • /usr/lib/python2.7/dist-packages/protocols/tests/test_advice.py
    • /usr/lib/python2.7/dist-packages/protocols/tests/test_classes.py
    • /usr/lib/python2.7/dist-packages/protocols/tests/test_direct.py
    • /usr/lib/python2.7/dist-packages/protocols/tests/test_twisted.py
    • /usr/lib/python2.7/dist-packages/protocols/tests/test_zope.py
    • /usr/share/doc/python-protocols/changelog.Debian.gz
    • /usr/share/doc/python-protocols/copyright

    Changelog

    2014-07-13 - Matthias Klose <doko@debian.org> pyprotocols (1.0a.svn20070625-7) unstable; urgency=medium * QA upload. * Build using dh_python2

    2014-02-09 - Chris Lamb <lamby@debian.org> pyprotocols (1.0a.svn20070625-6) unstable; urgency=low * Orphaning package. * Don't rely on _speedups.pyx from being compilable anymore with Pyrex. * Update Vcs-{Git,Browser}. * Bump Standards-Version to 3.9.1. * Bump Standards-Version to 3.9.2.

    2009-12-01 - Chris Lamb <lamby@debian.org> pyprotocols (1.0a.svn20070625-5) unstable; urgency=low * Remove (unused) doctest embedded code copy. (Closes: #555433) * New maintainer email address. * Use minimal dh7 style. * Add description to 00_remove_ezsetup_usage.diff. * debian/control: - Add ${misc:Depends} to debhelper-based binary package. - Bump Standards-Version to 3.8.3.

    2008-09-02 - Chris Lamb <chris@chris-lamb.co.uk> pyprotocols (1.0a.svn20070625-4) unstable; urgency=low * New maintainer (Closes: #493804) * Move from CDBS to Debhelper 7 and Quilt. * Move to machine-parsable debian/copyright. * Remove versioned dependencies where the version is available in Etch. * Add ${shlibs:Depends} to avoid missing dependency on libc. * Bump Standards-Version to 3.8.0.

    2008-08-04 - Gustavo Noronha Silva <kov@debian.org> pyprotocols (1.0a.svn20070625-3) unstable; urgency=low [ Piotr O┼╝arowski ] * Vcs-Browser and Homepage fields added * XS-Vcs-Svn field renamed to Vcs-Svn [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field [ Jan Dittberner ] * add debian/watch [ Gustavo Noronha Silva ] * Orphaning.

    2007-09-11 - Gustavo Noronha Silva <kov@debian.org> pyprotocols (1.0a.svn20070625-2) unstable; urgency=low * Releasing to unstable.

    2007-06-25 - Gustavo Noronha Silva <kov@debian.org> pyprotocols (1.0a.svn20070625-1) experimental; urgency=low * Upstream snapshot; since upstream does not release versions I decided to follow SVN to some extent * debian/copyright: - updated to reflect the real source of the code: the svn repository * debian/patches/00_remove_ezsetup_usage.diff: - added; setup.py now uses ez_setup, which is actually not needed or sane to use in the debian package * debian/control: - add dependency on python-decoratortools >= 1.3

    2007-05-19 - Gustavo Noronha Silva <kov@debian.org> pyprotocols (1.0a0dev-6) unstable; urgency=low * debian/control: - updated build-deps of python-support and python-all-dev according to policy python-support requirement also involves the egg-info fix bellow * debian/rules: - remove hack to move the egg-info directory from the rules file; this is now handled by python-support, since 0.6.4 (Closes: #424440) * debian/pycompat: - removed; no longer needed

    2006-12-04 - Gustavo Noronha Silva <kov@debian.org> pyprotocols (1.0a0dev-5) unstable; urgency=low * Piotr Ozarowski <ozarow@gmail.com>: - Added XS-Vcs-Svn field * Gustavo Noronha: - debian/rules: + fix code to handle the case in which the egg-info directory is in /usr/share/python-support already (Closes: #401166) - debian/control: + add build-depends on python-support >= 0.3.4

    2006-08-21 - Gustavo Noronha Silva <kov@debian.org> pyprotocols (1.0a0dev-4) unstable; urgency=low * debian/control: - added XS-Python-Version again, since vorlon convinced me it can be useful - make debhelper dependency more strict, to avoid problems with generated dependencies being too strict (Closes: #383302)

    Advertisement
    Advertisement