I'm rather disappointed in this response by the developer of peewee to what I thought was a reasonable request. github.com/coleifer/peewee/iss

What's the current recommendation for Python ORM-type stuff? Really I just need basic indexing and queries, and it should support SQLite.

After discussing this with some folks I think I’ll just store everything in an in-memory dict and do sorted dict comprehensions because the actual scaling case doesn’t really call for anything more performant than that.

Follow

This was the most annoying part to write and it will be the most annoying part to rewrite but I feel that Publ will be better for it in the end. And I can still do basic persistence using pickle or whatever.

And later on nothing stops me from adding ordereddict indexes.

Sign in to participate in the conversation
Queer Party!

A silly instance of Mastodon for queer folk and non-queer folk alike. Let's be friends!
Note for folks coming from Tumblr; NSFW content is allowed here, but you must tag your posts as NSFW, and provide a clear content warning for them! NSFW profile pictures or banners, or explicit usernames/display names are not allowed. Please keep it friendly!