Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cyberlis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
1.
▲
by
cyberlis
8y ago
You need to learn `ObjectPath` query language. In `dictquery` I use simple and easy to understand language. BUT My project is exercise and it is obviously not a competitor to mature, community supported libs. That is why i do not want to co
2.
▲
by
cyberlis
8y ago
fixed by `mattcaldwell`
3.
▲
by
cyberlis
8y ago
Yes. You are right. But I wanted the way to store my queries in any major database. And I wanted natural simple queries. If I need to check my dictionary I want to use something similar to natural language. lambdas and filters are greate, b
4.
▲
by
cyberlis
8y ago
Yes, I wanted SQL like syntax and I'm happy it feels like this
5.
▲
by
cyberlis
8y ago
I can use other symbol than back tick. But what symbol fits here better? what symbol would you use?
6.
▲
by
cyberlis
8y ago
if you need a nested key value, you can use function: def get_dict_value(query_dict, dict_key, use_nested_keys=True, key_separator='.', raise_keyerror=False): theoretically i can make alternative s
7.
▲
by
cyberlis
8y ago
Recently I was interested in parsing. Real parsing with grammars BNF LL LR.. :) As exercise I implemented a library to query dicts. This is my first python library and I'm looking for feedback and criticism Especially, I need advice ab
8.
▲
Show HN: Need feedback for my Python library to query dicts
(github.com)
21 points
by
cyberlis
8y ago
|
25 comments