{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"Datafiles is a file-based ORM that automatically synchronizes Python dataclasses to disk files (YAML, JSON, TOML, JSON5) and back, treating the filesystem as a bidirectional persistence layer with minimal boilerplate.","skillfed_tags":["dataclass-orm","file-persistence","config-management"],"use_cases":["Store application configuration in YAML or TOML files that remain human-editable while staying type-safe in Python.","Load test fixtures from files into dataclass instances, automatically coercing types and validating structure.","Synchronize application state across machines using file-sharing services by treating the filesystem as a shared data layer.","Prototype data models with file-based persistence before migrating to a database backend.","Version-control program state and configuration by keeping dataclass instances synchronized to committed files."],"what_it_does":"Datafiles bridges Python dataclasses and the filesystem by automatically persisting object state to files and reloading changes from disk. You decorate a dataclass with a file path pattern, then read and write the object normally\u2014changes sync bidirectionally without explicit save/load calls. It supports YAML, JSON, TOML, and JSON5 formats, preserving comments and formatting where possible.\n\nThe library is designed for configuration management, test fixtures, version-controlled state, and prototyping data models before committing to a database backend. It depends on ruamel.yaml, tomlkit, json-five, parse, minilog, classproperties, and cached_property to handle format-specific serialization and property introspection.","worth_installing":"Yes. Datafiles is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers a clean, low-friction way to persist dataclasses to disk with bidirectional sync. Install it if you need automatic file-based persistence for configuration, state, or fixtures; skip it if you require a traditional database or need Python versions below 3.10."},"id":"datafiles","links":{"html":"https://skillfed.io/packages/datafiles","md":"https://skillfed.io/packages/datafiles.md","pypi":"https://pypi.org/project/datafiles/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-30","license_spdx":null,"license_treatment":"permissive","name":"datafiles","python_support":"supports_current","summary":"File-based ORM for dataclasses."},"popularity":{"monthly_downloads":133532,"position":11508,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.5"}
