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
0.6.4.1
0.6.4
0.6.3
0.6.2.4
0.6.2.3
0.6.2.2
0.6.2.1
0.6.2
0.6.1.2
0.6.1.1
0.6.1
0.6
0.5.9.2
0.5.9.1
0.5.9
0.5.8.1
0.5.8
0.5.7
0.5.6.2
0.5.6.1
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2.1
0.5.2
0.5.1
0.5
0.4.9.1
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5.1
0.4.5
0.4.4.2
0.4.4.1
0.4.4
0.4.3
0.4.2.1
0.4.2
0.4.12
0.4.11
0.4.10
0.4
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3
0.2.1
0.2
0.1
توضیحات
Python REPL/API for accessing dimensions.ai.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dimcli-1.0.2 |
| نام | dimcli |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Michele Pasin @lambdaman |
| ایمیل نویسنده | m.pasin@digital-science.com |
| آدرس صفحه اصلی | https://github.com/digital-science/dimcli |
| آدرس اینترنتی | https://pypi.org/project/dimcli/ |
| مجوز | MIT License |
# Dimcli
Dimcli is a Python client for accessing the Dimensions Analytics API. It makes it easier to authenticate against the API, send queries to it and process the JSON data being returned.
```bash
>>> import dimcli
>>> dimcli.login(key="private-key-here",
endpoint="https://app.dimensions.ai/api/dsl/v2")
>>> dsl = dimcli.Dsl()
>>> res = dsl.query("""search grants for "malaria" return researchers""")
>>> print(res.json)
{'researchers': [{'id': 'ur.01332073522.49',
'count': 75,
'last_name': 'White',
'first_name': 'Nicholas J'},
{'id': 'ur.01343654360.43',
'count': 59,
'last_name': 'Marsh',
'first_name': 'Kevin'},
.............
],
'_stats': {'total_count': 8735}}
```
## CLI
Dimcli includes also a command line interface (CLI) that aims at simplifying the process of learning the grammar of the Dimensions Search Language (DSL).

## Jupyter
Dimcli plays nice with Jupyter notebooks too. It comes with various magic commands for querying the API, transforming JSON data into dataframes and turning them into interactive tables with hyperlinks - so that data can be inspected further on external websites.

## More info
For more information see the [Getting Started with Dimcli](https://digital-science.github.io/dimcli/getting-started.html) tutorial.
Current version: see [pypi homepage](https://pypi.org/project/dimcli/). Source code hosted on [github](https://github.com/digital-science/dimcli).
[](https://pepy.tech/project/dimcli)
## Comments, bug reports
Dimcli lives on [Github](https://github.com/digital-science/dimcli/). You can file [issues]([issues](https://github.com/digital-science/dimcli/issues/new)) or pull requests there. Suggestions, pull requests and improvements welcome!
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
| - | requests |
| - | pygments |
| - | ipython |
| - | prompt-toolkit |
| - | packaging |
| - | numpy |
| - | pandas |
| - | recommonmark |
| - | tqdm |
نحوه نصب
نصب پکیج whl dimcli-1.0.2:
pip install dimcli-1.0.2.whl
نصب پکیج tar.gz dimcli-1.0.2:
pip install dimcli-1.0.2.tar.gz