v0.4.6
v0.4.6
First public. Alpha. import fs_schema as fss. Python 3.10–3.14.
- Declare — mapping;
name|fmt|match; counts, alias, sort; one-base inherit/replace.
Schema,Layout,File,Dir,FILES,dt
Defining schemas - Bind — first failure; extras ignored.
Schema.bind,SchemaRoot.bind,MismatchErr,is_mismatch,raise_mismatch
Applying schemas - Read — attr/item access;
PathLike.
Located,Match,exists_opt,.path,__fspath__,.exists,.read_bytes,.read_text,.args,.kwargs,.filter,.find,.where,.get
Using schemas - Write — plan then bind; JSON dataclasses via extras
mashumaro,orjson.
Schema.relative_to,SchemaRoot,.format,.root,.put,.load,put,raise_exn
Creating with schemas - Types — generated child attrs; dynamic names stay a union.
SchemaRoot[S],__version__
Static typing