jacebrowning / jacebrowning/datafiles
Integration with schema validation libraries
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 213
- Forks
- 23
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
Hi,
I discovered this project 2 days ago and I thing it's pretty cool.
However, I still yet haven't found how to properly integrate it with dataclasses using Schemas libraries.
I am using marshmallow-dataclass but we could also think about people using Pythdantic dataclasses.
For example, how to properly:
- load-data from files, deserialize using marshmallow Shema().load()
- write data to file coming from marshmallow Shema().dump(,...)
I think that combining your library with such libraries would make the whole thing amazing.
Any idea on how to do this well?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points; start by locating the dataclass file-loading and file-writing paths. Compare those flows with marshmallow-dataclass Schema.load and Schema.dump, then define the supported integration and tests covering deserialization and serialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100