Skip to main content

Metaclass utilities.

Project description

Note: This package is in the dangerous land of 0.x.y versions and may be subject to breaking changes with minor version increments.

nr.metaclass

This module provides utilities for Python classes and metaclasses.

  • nr.metaclass.copy – Copy a class, while optionally updating some properties (for example the base classes).
  • nr.metaclass.deconflict – Functions to determine conflicting metaclasses and deconflicting them.
  • nr.metaclass.inline – Provides the InlineMetaclassBase, allowing you to implement __new__() and __init__() of a metaclass in a class through __metanew__() and __metainit__().

Copyright © 2020 Niklas Rosenstein

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

nr.metaclass-0.0.6.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

nr.metaclass-0.0.6-py2.py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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