Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
1–10 of 34 posts
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#2Hmm this is pretty interesting. Going to check this out.
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#3Rather reminds me of ZODB[0].
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#4Rather reminds me of ZODB[0]. [0] http://www.zodb.org
It's superficially similar, but also a very different animal. This here is more of a toy database, or perhaps a better way to navigate huge JSON documents, while ZODB is a/the "real deal" object database.
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#5Rather reminds me of ZODB[0]. [0] http://www.zodb.org
The interface reminds me of tied hashes and lists in Perl, or something like this[1] for Python.
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#6It might not hold up to heavy use cases, but I can already imagine a bunch of ways this would make my life easier (I use Python scripts to handle a bunch of social media stuff and basic analytics, for instance, where I use either text files or some other proxy to handle state.)
The only request I'd have is a syntactically saccharine way of spinning up the server within the client itself, which is in general an awful idea but would make my life easier for toy use cases.
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#7Looks like a better shelve https://docs.python.org/3.6/library/shelve.html
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#8You could use `-e git://github.com/asrp/undoable` in requirements.txt to save some steps.
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#9Seems like this could be a good idea for small personal or temporary dashboards. Especially those with viz powered by packages that work natively with Python data structures like bokeh or plotly .
Re: Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
#10What's the purpose/gain of layering ZMQ into this? I read the architecture bit but I'm still unclear as to what benefit this brings. I guess it allows for multiple clients to use the database at the same time? I can see how the queueing thing is useful for writes if you don't want to have to handle more than one at the same time for the sake of complexity, but wouldn't doing this for reading slow things down unnecessarily?