Skip to main content

``dataql`` is for "Data Query Language". It allows to query data in a simple way.

Project description

Python backend for “Data Query Languages” (like GraphQL and others

What is it?

dataql is for “Data Query Language”. It allows to query data in a simple way.

It is heavily inspired by GraphQL, from Facebook

I didn’t want to force people to think “graph”, and I chose a language that is different in some ways. But this library is written with a base, and we provide a generic parser, but other parsers could easily be written!

How it works?

For example, the default generic parser included, DataQLParser, allows to ask for data with this example query:

User.get('Elon Musk') {

And to get data like that:

    'name': 'Elon Musk',
    'birthday': '06/28/71',
    'companies': [
            'name': 'Paypal',
            'date': 1999
            'name': 'Space X',
            'date': 2002

The main use is for an API, letting the client asking what it really needs, in only one http query, without having to update the API endpoints.

The only thing to do on the server side is to define, via a registry, what objects and attributes are allowed.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dataql-0.1.4-py3-none-any.whl (76.6 kB) Copy SHA256 hash SHA256 Wheel 3.4 Aug 23, 2015
dataql-0.1.4.tar.gz (34.4 kB) Copy SHA256 hash SHA256 Source None Aug 23, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page