pyterrier-services


Namepyterrier-services JSON
Version 0.3.3 PyPI version JSON
download
home_pageNone
SummaryPyTerrier components for API Services
upload_time2025-03-10 22:41:04
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements python-terrier pyterrier-alpha requests
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyterrier-services

PyTerrier components for online retrieval services, including:

 - DBLP
 - Pinecone
 - Semantic Scholar

More information can be found in the [documentation](https://pyterrier.readthedocs.io/en/latest/ext/pyterrier-services).

## Example: Retrieval from Semantic Scholar

[Semantic Scholar](https://www.semanticscholar.org/me/research) is a scientific literature
search engine provided by the [Allen Institute for AI](https://allenai.org/).

`SemanticScholarApi()` provides access to the [search API](https://www.semanticscholar.org/product/api).

Example:

```python
>>> from pyterrier_services import SemanticScholarApi
>>> service = SemanticScholarApi()
>>> retriever = service.retriever()
>>> retriever.search('PyTerrier')
# qid      query                                     docno  score  rank                                              title                                           abstract
#   1  pyterrier  7fa92ed08eee68a945884b8744e7db9887aed9d3      0     0  PyTerrier: Declarative Experimentation in Pyth...  PyTerrier is a Python-based retrieval framewor...
#   1  pyterrier  a6b1126e058262c57d36012d0fdedc2417ad04e1     -1     1  Declarative Experimentation in Information Ret...  The advent of deep machine learning platforms ...
#   1  pyterrier  833b453c621099bccca028752aaa74262123706a     -2     2  PyTerrier-based Research Data Recommendations ...  Research data is of high importance in scienti...
#   1  pyterrier  73feb5cfe491342d52d47e8817d113c072067306     -3     3      The Information Retrieval Experiment Platform  We integrate irdatasets, ir_measures, and PyTe...
#   1  pyterrier  90b8a1adae2761e48c87fdeb68a595dc11161970     -4     4  QPPTK@TIREx: Simplified Query Performance Pred...  We describe our software submission to the ECI...
#   1  pyterrier  6659b3daabfb7e8e6dd8c4f47e2a774816888a9d     -5     5  Retrieving Comparative Arguments using Ensembl...  In this paper, we present a submission to the ...
#   1  pyterrier  2e503f3c23384a2112c84986c0a38c9cf6bf2488     -6     6      The Information Retrieval Experiment Platform  In this extended abstract, 1 we present the In...
#   1  pyterrier  4f901502b389e16faaf26eef7c935ecd80700f3d     -7     7  The Information Retrieval Experiment Platform ...  We have built TIREx, the information retrieval...
#   1  pyterrier  12c9b48d013255248378f23b7078e1788b5b1ef6     -8     8  Axiomatic Retrieval Experimentation with ir_ax...  Axiomatic approaches to information retrieval ...
#   1  pyterrier  b7da554d9f1f51e13a852ab0270dcd0d824c52e8     -9     9                        A Python Interface to PISA!  PISA (Performant Indexes and Search for Academ...
#   1  pyterrier  e57c05d3eb9c2d32332dc539d32e78f2b1fb05a6    -10    10  University of Glasgow Terrier Team and UFMG at...  For TREC 2020, we explore different re-ranking...
#   1  pyterrier  81ec8a40deb82470438d978b013a0f6094ec8843    -11    11  IR From Bag-of-words to BERT and Beyond throug...  The task of adhoc search is undergoing a renai...
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyterrier-services",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "Sean MacAvaney <sean.macavaney@glasgow.ac.uk>",
    "keywords": null,
    "author": null,
    "author_email": "Sean MacAvaney <sean.macavaney@glasgow.ac.uk>",
    "download_url": "https://files.pythonhosted.org/packages/43/29/e4c05e98b272c369c1945cdd339a39a77e6edcec2ba78319557d31dc2715/pyterrier_services-0.3.3.tar.gz",
    "platform": null,
    "description": "# pyterrier-services\n\nPyTerrier components for online retrieval services, including:\n\n - DBLP\n - Pinecone\n - Semantic Scholar\n\nMore information can be found in the [documentation](https://pyterrier.readthedocs.io/en/latest/ext/pyterrier-services).\n\n## Example: Retrieval from Semantic Scholar\n\n[Semantic Scholar](https://www.semanticscholar.org/me/research) is a scientific literature\nsearch engine provided by the [Allen Institute for AI](https://allenai.org/).\n\n`SemanticScholarApi()` provides access to the [search API](https://www.semanticscholar.org/product/api).\n\nExample:\n\n```python\n>>> from pyterrier_services import SemanticScholarApi\n>>> service = SemanticScholarApi()\n>>> retriever = service.retriever()\n>>> retriever.search('PyTerrier')\n# qid      query                                     docno  score  rank                                              title                                           abstract\n#   1  pyterrier  7fa92ed08eee68a945884b8744e7db9887aed9d3      0     0  PyTerrier: Declarative Experimentation in Pyth...  PyTerrier is a Python-based retrieval framewor...\n#   1  pyterrier  a6b1126e058262c57d36012d0fdedc2417ad04e1     -1     1  Declarative Experimentation in Information Ret...  The advent of deep machine learning platforms ...\n#   1  pyterrier  833b453c621099bccca028752aaa74262123706a     -2     2  PyTerrier-based Research Data Recommendations ...  Research data is of high importance in scienti...\n#   1  pyterrier  73feb5cfe491342d52d47e8817d113c072067306     -3     3      The Information Retrieval Experiment Platform  We integrate irdatasets, ir_measures, and PyTe...\n#   1  pyterrier  90b8a1adae2761e48c87fdeb68a595dc11161970     -4     4  QPPTK@TIREx: Simplified Query Performance Pred...  We describe our software submission to the ECI...\n#   1  pyterrier  6659b3daabfb7e8e6dd8c4f47e2a774816888a9d     -5     5  Retrieving Comparative Arguments using Ensembl...  In this paper, we present a submission to the ...\n#   1  pyterrier  2e503f3c23384a2112c84986c0a38c9cf6bf2488     -6     6      The Information Retrieval Experiment Platform  In this extended abstract, 1 we present the In...\n#   1  pyterrier  4f901502b389e16faaf26eef7c935ecd80700f3d     -7     7  The Information Retrieval Experiment Platform ...  We have built TIREx, the information retrieval...\n#   1  pyterrier  12c9b48d013255248378f23b7078e1788b5b1ef6     -8     8  Axiomatic Retrieval Experimentation with ir_ax...  Axiomatic approaches to information retrieval ...\n#   1  pyterrier  b7da554d9f1f51e13a852ab0270dcd0d824c52e8     -9     9                        A Python Interface to PISA!  PISA (Performant Indexes and Search for Academ...\n#   1  pyterrier  e57c05d3eb9c2d32332dc539d32e78f2b1fb05a6    -10    10  University of Glasgow Terrier Team and UFMG at...  For TREC 2020, we explore different re-ranking...\n#   1  pyterrier  81ec8a40deb82470438d978b013a0f6094ec8843    -11    11  IR From Bag-of-words to BERT and Beyond throug...  The task of adhoc search is undergoing a renai...\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "PyTerrier components for API Services",
    "version": "0.3.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/seanmacavaney/pyterrier-services/issues",
        "Repository": "https://github.com/seanmacavaney/pyterrier-services"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "06fd9105e4e494f4494acb9efde9a17ddb70a0cb21e093bac62cf29cc5a657cf",
                "md5": "fb103e58236637097e68b541cd2ded88",
                "sha256": "3c6f06568be6a6bfb0904f1e1f795199fa3c2a44ff07b15e45483cdaa21bf744"
            },
            "downloads": -1,
            "filename": "pyterrier_services-0.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fb103e58236637097e68b541cd2ded88",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 14305,
            "upload_time": "2025-03-10T22:41:03",
            "upload_time_iso_8601": "2025-03-10T22:41:03.309057Z",
            "url": "https://files.pythonhosted.org/packages/06/fd/9105e4e494f4494acb9efde9a17ddb70a0cb21e093bac62cf29cc5a657cf/pyterrier_services-0.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4329e4c05e98b272c369c1945cdd339a39a77e6edcec2ba78319557d31dc2715",
                "md5": "2e728c4b72b991b210db554d9200d387",
                "sha256": "08f7fe896bae26feb27ae7f29fb7e65d6e6e5d43b9c3f916103ff0dafe6418b6"
            },
            "downloads": -1,
            "filename": "pyterrier_services-0.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "2e728c4b72b991b210db554d9200d387",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 12887,
            "upload_time": "2025-03-10T22:41:04",
            "upload_time_iso_8601": "2025-03-10T22:41:04.615001Z",
            "url": "https://files.pythonhosted.org/packages/43/29/e4c05e98b272c369c1945cdd339a39a77e6edcec2ba78319557d31dc2715/pyterrier_services-0.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-03-10 22:41:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "seanmacavaney",
    "github_project": "pyterrier-services",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "python-terrier",
            "specs": []
        },
        {
            "name": "pyterrier-alpha",
            "specs": []
        },
        {
            "name": "requests",
            "specs": []
        }
    ],
    "lcname": "pyterrier-services"
}
        
Elapsed time: 0.60233s