bagof-core-magic
Core tools used by magic converters, validators, factories, etc.
It provides the type-hint introspection machinery shared by those
packages - functions such as issubhint, ishintstance, unwrap, and
get_default for inspecting and comparing typing hints at runtime -
along with the MagicHint base class and MagicError exception that
magic objects are built on.
It also lets registries (the dicts get_from_registry searches) be keyed
lazily: defer(registry, ForwardRef("dask.array.Array"), value, context)
registers value once someone else has imported dask.array, without
ever importing it - so a package can register values for optional
libraries without paying their import time. lazy_import and
has_module help define such classes without importing the library.
Metadata
Release files for bagof-core-magic 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bagof_core_magic-0.2.0.tar.gz | 48.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bagof_core_magic-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 78.3 kB
Release files / bagof_core_magic-0.2.0.tar.gz
| Download URL | bagof_core_magic-0.2.0.tar.gz |
|---|---|
| Size | 48.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7758db4eecdf3bdfd0be3280664a2250a6480f72c5331731e144fc3a58bc6de3
|
|
BLAKE2b-256 checksum How to use checksums |
7c54d6d117f5747e97e81edf5a5b4a4eb89a2ebe00e1b9cc6efc0896d362ed60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / bagof_core_magic-0.2.0-py3-none-any.whl
| Download URL | bagof_core_magic-0.2.0-py3-none-any.whl |
|---|---|
| Size | 29.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9af1aa49edda405742f1161ec1c74bbbe8ed442d20937379dea30fcbfbc80e7
|
|
BLAKE2b-256 checksum How to use checksums |
f834ca59c908f8a6c1b937bf45f5688eb25940d085ee1571334056f5bb641998
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|