Hacker GitHub

← All repos

flywhl/cyantic

View on GitHub ↗ ★ 26 Python

Build complex types from simple blueprints with Pydantic

3 mentions on Hacker News by 2 people: 2 stories, 1 comment · first 2025-01-09 · latest 2025-01-31

Mentions per year 3 mentions · busiest year 2025 (3)
20082026
  1. ▲ 4
    Cyantic – an extensible builder pattern for Pydantic
    story by PaulHoule · 2025-01-31 · 0 comments
  2. …`thing.model_validate(...)`, and get a fully-built Tensor in the appropriate field of the model. https://github.com/flywhl/cyantic --- Example: If you write a blueprint like @blueprint(Tensor) class NormalTensor(Blueprint[Tensor]): mean:…
  3. ▲ 2
    Show HN: Cyantic – build complex objects from simple blueprints with pydantic
    story by rorytbyrne · 2025-01-09 · 1 comment