How to Install and Uninstall python-protocols Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "python-protocols" package

Please follow the instructions below to install python-protocols on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-protocols

2. Uninstall "python-protocols" package

This guide covers the steps necessary to uninstall python-protocols on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-protocols $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-protocols package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-protocols
Priority: optional
Section: universe/python
Installed-Size: 169
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Architecture: amd64
Source: pyprotocols
Version: 1.0a.svn20070625-7
Depends: python (>= 2.7), python (<< 2.8), python-peak.util.decorators, libc6 (>= 2.2.5), python-decoratortools (>= 1.3)
Filename: pool/universe/p/pyprotocols/python-protocols_1.0a.svn20070625-7_amd64.deb
Size: 34512
MD5sum: 939b27b0cf6acf40844dc59e44df35c2
SHA1: e74c7db3dab53de1472eeb1713e19ab2b3f0d895
SHA256: fbbfef7a2adb82406e6f7fe32552e4fcf3a7fa1df688c2e96dec5060b16b9fed
Description-en: 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.)
Description-md5: 615f0fc86acb48afd27a5b1569c2038f
Homepage: http://peak.telecommunity.com/PyProtocols.html
Python-Version: 2.7
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu