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 theInlineMetaclassBase
, 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)
Built Distribution
Close
Hashes for nr.metaclass-0.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d458eb1bddd93373cc74e19981214e7d478c92c9b08fc9732bd430225698a8f0 |
|
MD5 | 0debeaf835405ea3c40f2fbcb5e5492b |
|
BLAKE2b-256 | 7b32cab26bb40782a921eec88c96d1333e5d52dde32b3869afec3e314e5673a6 |