python-decorator_4.1.2-1_all.deb


Advertisement

Description

python-decorator - simplify usage of Python decorators by programmers

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name python-decorator
Package version 4.1.2
Package release 1
Package architecture all
Package type deb
Installed size 39 B
Download size 9.08 KB
Official Mirror archive.ubuntu.com
Python 2.4 decorators have significantly changed the way Python programs are
structured.
* decorators help reduce boilerplate code;
* decorators help the separation of concerns;
* decorators enhance readability and maintainability;
* decorators are very explicit.
Still, as of now, writing custom decorators correctly requires some
experience and is not as easy as it could be. For instance, typical
implementations of decorators involve nested functions and we all know that
flat is better than nested.
The aim of the decorator module it to simplify the usage of decorators for
the average programmer and to popularize decorators usage giving examples of
useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc.

Alternatives

Package Version Architecture Repository
python-decorator_4.1.2-1_all.deb 4.1.2 all Ubuntu Main
python-decorator - - -

Requires

Name Value
python:any >= 2.7.5-5~
python:any << 2.8

Download

Type URL
Binary Package python-decorator_4.1.2-1_all.deb
Source Package python-decorator

Install Howto

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

Files

Path
/usr/lib/python2.7/dist-packages/decorator.py
/usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/not-zip-safe
/usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/pbr.json
/usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/top_level.txt
/usr/share/doc/python-decorator/changelog.Debian.gz
/usr/share/doc/python-decorator/copyright

Changelog

2017-09-29 - Piotr Ożarowski <piotr@debian.org>
python-decorator (4.1.2-1) unstable; urgency=medium
* New upstream release (closes: 869560)
* Standards-Version bumped to 4.1.1 (no changes needed)
2017-07-20 - Piotr Ożarowski <piotr@debian.org>
python-decorator (4.1.1-1) unstable; urgency=medium
* New upstream release
* Standards-Version bumped to 4.0.0 (no changes needed)
2017-01-23 - Piotr Ożarowski <piotr@debian.org>
python-decorator (4.0.11-1) unstable; urgency=medium
* New upstream release
2016-12-21 - Piotr Ożarowski <piotr@debian.org>
python-decorator (4.0.10-1) unstable; urgency=medium
[ Ondřej Nový ]
* Fixed homepage (https)
* Fixed VCS URL (https)
[ Piotr Ożarowski ]
* New upstream release
* Standards-Version bumped to 3.9.8 (no changes needed)
* debian/compat changed to 10 and debian/clean removed
* Remove Oleksandr from Uploaders, thanks for all your work! (closes: 820133)
2015-12-27 - Piotr Ożarowski <piotr@debian.org>
python-decorator (4.0.6-1) unstable; urgency=medium
* New upstream release
2015-08-01 - Piotr Ożarowski <piotr@debian.org>
python-decorator (4.0.2-1) unstable; urgency=medium
* New upstream release
* Rewrite debian/rules to use dh sequencer and pybuild buildsystem
* debhelper compat level bumped to 9
* documentation.py no longer installed
* debian/watch: use pypi.debian.net redirector
* Standards-Version bumped to 3.9.6 (no changes needed due to debian/rules
rewrite)
2013-05-21 - Piotr Ożarowski <piotr@debian.org>
python-decorator (3.4.0-2) unstable; urgency=low
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
[ Piotr Ożarowski ]
* Remove egg-info direcotry in clean target (Closes: #671192)
2012-10-18 - Piotr Ożarowski <piotr@debian.org>
python-decorator (3.4.0-1) experimental; urgency=low
* New upstream release
2012-04-23 - Piotr Ożarowski <piotr@debian.org>
python-decorator (3.3.3-1) unstable; urgency=low
* New upstream release
* Standards-Version bumped to 3.9.3 (no changes needed)
2011-09-05 - Piotr Ożarowski <piotr@debian.org>
python-decorator (3.3.2-1) unstable; urgency=low
* New upstream release
- documentation.py installed instead of pdf and html file (which are no
longer available)
* New binary package: python3-decorator
* Switch from dh_pysupport to dh_python2 (Closes: #631402)
* Homepage field updated (Closes: #626325)
* debian/compat bumped to 7, debian/clean added
* Source format changed to 3.0 (quilt)
* Standards-Version bumped to 3.9.2 (no changes needed)

See Also

Package Description
python-defusedxml_0.5.0-1ubuntu1_all.deb XML bomb protection for Python stdlib modules (for Python 2)
python-deprecation_1.0.1-0ubuntu1_all.deb A library to handle automated deprecations
python-designate_6.0.0-0ubuntu1_all.deb OpenStack DNS as a Service - Python libs
python-designateclient-doc_2.9.0-0ubuntu1_all.deb client library for the OpenStack Designate API - doc
python-designateclient_2.9.0-0ubuntu1_all.deb client library for the OpenStack Designate API - Python 2.7
python-dev_2.7.15~rc1-1_amd64.deb header files and a static library for Python (default)
python-django-appconf-doc_1.0.2-3_all.deb helper class handling configuration defaults of apps - doc
python-django-appconf_1.0.2-3_all.deb helper class handling configuration defaults of apps - Python 2.7
python-django-common_1.11.11-1ubuntu1_all.deb High-level Python web development framework (common)
python-django-compressor_2.2-4_all.deb Compresses linked, inline JS or CSS into single cached files - Python 2.7
python-django-doc_1.11.11-1ubuntu1_all.deb High-level Python web development framework (documentation)
python-django-horizon_13.0.0-0ubuntu1_all.deb Django module providing web based interaction with OpenStack
python-django-openstack-auth_13.0.0-0ubuntu1_all.deb Django authentication backend for Openstack - Python 2.7
python-django-pyscss_2.0.2-8_all.deb makes it easier to use PySCSS in Django - Python 2.7
python-django_1.11.11-1ubuntu1_all.deb High-level Python web development framework (Python 2 version)
Advertisement
Advertisement