Skip to main content

Python REPL/API for accessing dimensions.ai.

Project description

dimcli

unofficial version, still in development

Python library for accessing the Dimensions DSL.

Install

pip install dimcli

Develop

Note: requires virtualenvwrapper.

$ mkvirtualenv dimcli
$ pip install --editable .
$ ./run-shell # iPython with library preloaded so you can play with it!

Example

In [1]: import dimcli

In [2]: dimcli.Dsl('live', show_results=True, rich_display=False)
Out[2]: <dimcli.dimensions.Dsl at 0x10880a1d0>

In [3]: dsl = _

In [4]: dsl.query("search grants return grants")

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

dimcli-0.3.1.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

dimcli-0.3.1-py2.py3-none-any.whl (16.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page