Comparison
pydantic-spark vs sparkdantic vs tinsel
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Converting pydantic classes to spark schemas
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install pydantic-sparkA pydantic -> spark schema library
Actively maintained. Last release 7 weeks ago. A safe choice.
$
pip install sparkdanticPySpark schema generator
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install tinselIn short
- pydantic-spark is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- tinsel looks abandoned: avoid it for new projects.
- sparkdantic is the most used: 816.9K downloads a month, 6.8× more than pydantic-spark.
- sparkdantic also has the best Pythie’s Index (84).
- Safe default for a new project: sparkdantic.
Side by side
| Metric | pydantic-spark | sparkdantic | tinsel |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | 84 |