A compatibility layer for dataclass-like libraries (dataclasses, attrs, pydantic, etc.), providing unified utilities such as fields(), is_dataclass(), and asdict(). Current version 0.2.0, stable but early in development.
pip install fieldzNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage with standard dataclasses.
Use fieldz-specific attributes (e.g., Field.name, Field.type) rather than library-specific ones.
Check the documentation for supported features; fall back to the library's own functions if needed.
Import all public functions directly from fieldz.
Use 'from fieldz import fields' instead of 'from fieldz.fields import fields'.
Use the library-specific function for such arguments; fieldz.fields() only accepts basic parameters.
Ensure the object is decorated with @dataclass, @attr.s, or is a pydantic BaseModel.
No dependency data recorded yet.
No resource links recorded.