GitHub: https://github.com/sijokun/PyByntic
Works with annotated Pydantic models and gives you: – .serialize() -> bytes – .deserialize(bytes) -> Model
Curious to hear whether others here have hit similar problems and how you solved it?
P.S. Project was a Telegram MiniApp with 10m+ MAU, we were storing cached user objects in Redis Cluster
This would have been a super nice to have back then.
I wonder though how much sense it would make to get something like this mainlined into upstream Pydantic? as having this downstream would give many continuity and dependency lock concerns. And having it as part of the main library would significantly drive adoption rate.
I used Kaitai in a IoT project for building data ingress parsers and it was great. But not having write support was a bummer.
Sorry, nope.
Slacking off while waiting for some performance tests to run (Shoutout to Locust.io!) with my big 27" screen full of terminals for each runner, server logs etc.
...And then on my laptop screen I honestly was just slacking off and reading Reddit.
'VP Of Technology' comes over "I dont know what you are doing, but it's the most impressive thing I've seen in a while".
...Yes sir!
And remember for things like looking up git commands or even a lot of your dependency documentation, you do not need a web browser. Git comes with manpages, many libraries will have docs in .md or whatever in them.