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.2.1.tar.gz
(10.9 kB
view hashes)
Built Distribution
dimcli-0.2.1-py2.py3-none-any.whl
(14.3 kB
view hashes)
Close
Hashes for dimcli-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc9360e45a537b9c61d45a0effd487f8f5dc5007d3edeee56fbf315395797b24 |
|
MD5 | 1cb24d5589422bdfacb396df9aa435c8 |
|
BLAKE2b-256 | 2c6f940304689ed8194012272df2d6f62e9c4d3d111abb0e5e1f9b9a129c014e |