Skip to main content

Easily write objects that delegate behavior

Project description

The lazr.delegates package makes it easy to write objects that delegate behavior to another object. The new object adds some property or behavior on to the other object, while still providing the underlying interface, and delegating behavior.

NEWS for lazr.delegates

2.1.1 (2024-12-05)

  • Add support for Python 3.12 and 3.13.

  • Drop support for Python 3.5, 3.6 and 3.7.

2.1.0 (2023-03-20)

  • Officially add support for Python 3.6, 3.7, 3.8, 3.9, 3.10 and 3.11.

  • Drop support for Python 2, 3.2, 3.3, and 3.4.

  • Test using zope.testrunner rather than nose.

  • Bring coverage to 100%.

  • Switch to declarative setuptools configuration.

  • Add linters.

  • Fix the woke linter.

2.0.4 (2017-10-20)

  • Adjust versioning strategy to avoid importing pkg_resources, which is slow in large environments.

2.0.3 (2015-07-08)

  • Restore the public import of lazr.delegates.Passthrough which was inadvertently lost during the port to Python 3.

  • Officially add support for Python 3.5.

  • Drop official Python 2.6 support.

2.0.2 (2015-01-05)

  • Always use old-style namespace package registration in lazr/__init__.py since the mere presence of this file subverts PEP 420 style namespace packages. (LP: #1407816)

2.0.1 (2014-08-21)

  • Drop the use of distribute in favor of setuptools. (LP: #1359927)

  • Run the test suite with tox.

2.0 (2013-01-10)

  • Port to Python 3, which requires the use of the @delegate_to class decorator instead of the delegates() function call. Officially support Python 2.6, 2.7, 3.2, and 3.3.

1.2.0 (2010-07-16)

  • Extend Passthrough so that it takes an extra (optional) callable argument, used to adapt the context before accessing the delegated attribute.

1.1.0 (2009-08-31)

  • Remove build dependencies on bzr and egg_info

  • remove sys.path hack in setup.py for __version__

1.0.1 (2009-03-24)

  • specify only v3 of LGPL

  • build/developer improvements

1.0 (2008-12-19)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lazr_delegates-2.1.1.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lazr.delegates-2.1.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file lazr_delegates-2.1.1.tar.gz.

File metadata

  • Download URL: lazr_delegates-2.1.1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for lazr_delegates-2.1.1.tar.gz
Algorithm Hash digest
SHA256 aeceb2616e51b73f327fbf12c4ec2b7d7670cb820bd5e4f6851215fb796c02dc
MD5 fc3e25242313947ddbd97ac369a4bdd3
BLAKE2b-256 6c5508f7e5ddb2452f9006186721cdae501906049d847d9611cafca1855d592b

See more details on using hashes here.

File details

Details for the file lazr.delegates-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: lazr.delegates-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for lazr.delegates-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63f595a73fc5521770df7b53515f0cf0c2bc20340101cb325f1bfaa17b765712
MD5 c8a7a9960457d07f8f3421d0c9c1243a
BLAKE2b-256 49fa7b1ad97e60e022f7afca1096661c88cf5c470ad4a2a0427d731b997de77f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page