How to be Pythonic? Design a Query Language in Python
summary
TerminustDB ships a Python client called WOQLpy that builds native WOQL queries as Python objects, converts results to pandas DataFrames, and renders interactive graphs via D3 inside Jupyter visualization. Schema creation moves from manual JSON-LD to a class-based schema builder with Python type annotations, overloaded operators (e.g. + and |) for composition, and a planned schema checker and CSV→schema import. The library is open source on PyPI/GitHub and is actively under development.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:19What Pythonic means
- 3:50Pythonic code benefits
- 5:33TerminusDB and graph databases
- 7:59Designing Waco query language
- 9:23Developing Wakupai Python client
- 11:51Building schemas in Python
- 13:15JavaScript-to-Python translation challenges
- 14:18Jupyter Notebook integration
- 15:22Redesigning schema builder
- 16:46Future plans for Python client
- 18:32Closing and resources








