Astral was always going to have to find some way to sustain itself financially. They weren’t going to just make the best free tools in the ecosystem forever. uv is sufficiently entrenched as infrastructure that I’m sure it’ll take no time for a community fork to show up if they do anything stupid with it.
I keep making this argument elsewhere on the Internet, so I thought it would be nice to make my point all in one place. Python is good now, if you weren't paying attention.
Thanks!
And you're right this is true for storage and at the transaction level where nothing smaller than, e.g., a penny is allowed to move or exist in the first place. But when you're working with interest rates and the main calculations involve multiplying by numbers < 1, you still have to figure out rounding.
Author here. I thought was doing what I was supposed to do by using Decimals heavily in my credkit[0] Python library, but I did some testing and discovered it wasn't worth the pain for me. Test code [1] is available for the curious.
The moral of the story is that "best practices" are not a substitute for using your brain.
I work in credit risk and needed to model consumer loans in Python. I couldn't find a tool that made it easy to model simple loans either individually or at the pool level, so I decided to make my own.
It's early (v0.2.0) but works end-to-end and can produce an amortization schedule from loan characteristics
Up next are the actual credit risk features I wanted from the start.