Interact with the Deep Search platform for new knowledge explorations and discoveries
The Deep Search Toolkit is a Python SDK allowing a user to interact with the Deep Search platform. The Toolkit provides easy-to-use functionalities for several common processes such as document conversion, graph creation and querying.
Using poetry
in your project? Add the toolkit with:
$ poetry add deepsearch-toolkit
New to poetry
? Visit https://python-poetry.org/ or our CONTRIBUTING.md section.
Using pip
:
$ pip install deepsearch-toolkit
Python 3.8+
// Login to Deep Search,
// see https://ds4sd.github.io/deepsearch-toolkit/getting_started/#authentication
$ deepsearch login
...
// Convert a document
// for more details, see https://ds4sd.github.io/deepsearch-toolkit/guide/convert_doc/
$ deepsearch documents convert -p 1234567890abcdefghijklmnopqrstvwyz123456 -u https://arxiv.org/pdf/2206.00785.pdf
Submitting input: : 100%|██████████████████████████████| 1/1 [00:01<00:00, 1.52s/it]
Converting input: : 100%|██████████████████████████████| 1/1 [00:33<00:00, 33.80s/it]
Downloading result: : 100%|██████████████████████████████| 1/1 [00:01<00:00, 1.11s/it]
Total online documents 1
Successfully converted documents 1
Please feel free to connect with us using the discussion section.
Please read Contributing to Deep Search Toolkit for details.
If you use Deep Search
in your projects, please consider citing the following:
@software{Deep Search Toolkit,
author = {Deep Search Team},
month = {6},
title = {{Deep Search Toolkit}},
url = {https://github.com/DS4SD/deepsearch-toolkit},
version = {main},
year = {2022}
}
The Deep Search Toolkit
codebase is under MIT license.
For individual model usage, please refer to the model licenses found in the original packages.