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 details)
Built Distribution
File details
Details for the file nr.metaclass-0.0.6.tar.gz
.
File metadata
- Download URL: nr.metaclass-0.0.6.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d52f8e603e3c2944b9135e5a09593c3c36191f26cf1c29a7c71efb192552b10 |
|
MD5 | bdcf578b48b5dcfcc95c3821ca14cb1d |
|
BLAKE2b-256 | ef2fbe5aaa1431bd1387ebe1909404c12a565155dedb6511733daa73d3613969 |
File details
Details for the file nr.metaclass-0.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: nr.metaclass-0.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d458eb1bddd93373cc74e19981214e7d478c92c9b08fc9732bd430225698a8f0 |
|
MD5 | 0debeaf835405ea3c40f2fbcb5e5492b |
|
BLAKE2b-256 | 7b32cab26bb40782a921eec88c96d1333e5d52dde32b3869afec3e314e5673a6 |