Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adsharma/fquery
A graph query engine
https://github.com/adsharma/fquery
async graph python python3 query
Last synced: 2 months ago
JSON representation
A graph query engine
- Host: GitHub
- URL: https://github.com/adsharma/fquery
- Owner: adsharma
- License: mit
- Created: 2021-04-26T21:27:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-05T21:09:46.000Z (9 months ago)
- Last Synced: 2024-05-06T17:41:18.465Z (9 months ago)
- Topics: async, graph, python, python3, query
- Language: Python
- Homepage:
- Size: 91.8 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Overview
Projects such as Django and Flask ship with what is known as ORM (object
relational mappers). These abstractions expose much of the underlying
relational behavior (both in schema and queries).This project on the
other hand allows a programmer to stay entirely in the object domain
(hiding any relational functionality contained within), while still
allowing transparent mapping to a relational database.Only basic transparent mapping of fqueries to SQL is supported:
[Demo](https://github.com/adsharma/fquery/blob/main/tests/test_sql.py).Only basic transparent mapping of fqueries to [malloy](https://www.malloydata.dev/) is supported:
[Demo](https://github.com/adsharma/fquery/blob/main/tests/test_malloy.py).# Installation
Requires python3.x
```
pip3 install fquery
```Running tests:
```
alias t=pytest-3
t
```You can also run it via tox.
# Tutorial
[Intro](https://adsharma.github.io/fquery/): What is fquery, sample queries
and some information on internals.[Blog post](https://adsharma.github.io/django-fquery/) on how to use
fquery with Django and get easy access to graphql functionality# License
This project is made available under the Apache License, version 2.0.
See [LICENSE.txt](license.txt) for details.