aiogrobid


Nameaiogrobid JSON
Version 0.1.11 PyPI version JSON
download
home_pagehttps://github.com/izihawa/aiogrobid
Summary
upload_time2023-06-25 09:10:05
maintainer
docs_urlNone
authorPasha Podolsky
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # aiogrobid

Asynchronous client for Grobid API

## Example

```python
import asyncio

from aiogrobid import GrobidClient

async def works(doi):
    client = GrobidClient()
    return await client.works(doi)

response = asyncio.get_event_loop().run_until_complete(works('10.21100/compass.v11i2.812'))
assert(response == { 
  'DOI': '10.21100/compass.v11i2.812',
  'ISSN': ['2044-0081', '2044-0073'],
  'URL': 'http://dx.doi.org/10.21100/compass.v11i2.812',
  'abstract': '<jats:p>Abstract: Educational policy and provision is '
              'ever-changing; but how does pedagogy need to adapt to respond '
              'to transhumanism? This opinion piece discusses transhumanism, '
              'questions what it will mean to be posthuman, and considers the '
              'implications of this on the future of education.</jats:p>',
  'author': [ { 'affiliation': [],
                'family': 'Gibson',
                'given': 'Poppy Frances',
                'sequence': 'first'}],
  'container-title': ['Compass: Journal of Learning and Teaching'],
  'content-domain': {'crossmark-restriction': False, 'domain': []},
  'created': { 'date-parts': [[2018, 12, 17]],
               'date-time': '2018-12-17T09:42:26Z',
               'timestamp': 1545039746000},
  'deposited': { 'date-parts': [[2019, 6, 11]],
                 'date-time': '2019-06-11T10:29:57Z',
                 'timestamp': 1560248997000},
  'indexed': { 'date-parts': [[2020, 4, 14]],
               'date-time': '2020-04-14T14:52:16Z',
               'timestamp': 1586875936184},
  'is-referenced-by-count': 0,
  'issn-type': [ {'type': 'print', 'value': '2044-0073'},
                 {'type': 'electronic', 'value': '2044-0081'}],
  'issue': '2',
  'issued': {'date-parts': [[2018, 12, 10]]},
  'journal-issue': { 'issue': '2',
                     'published-online': {'date-parts': [[2018, 12, 10]]}},
  'link': [ { 'URL': 'https://journals.gre.ac.uk/index.php/compass/article/viewFile/812/pdf',
              'content-type': 'application/pdf',
              'content-version': 'vor',
              'intended-application': 'text-mining'},
            { 'URL': 'https://journals.gre.ac.uk/index.php/compass/article/viewFile/812/pdf',
              'content-type': 'unspecified',
              'content-version': 'vor',
              'intended-application': 'similarity-checking'}],
  'member': '8854',
  'original-title': [],
  'prefix': '10.21100',
  'published-online': {'date-parts': [[2018, 12, 10]]},
  'publisher': 'Educational Development Unit, University of Greenwich',
  'reference-count': 0,
  'references-count': 0,
  'relation': {},
  'score': 1.0,
  'short-container-title': ['Compass'],
  'short-title': [],
  'source': 'Crossref',
  'subtitle': [],
  'title': [ 'From Humanities to Metahumanities: Transhumanism and the Future '
             'of Education'],
  'type': 'journal-article',
  'volume': '11'})
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/izihawa/aiogrobid",
    "name": "aiogrobid",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Pasha Podolsky",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b7/99/2468008e393697af3559a7afe84d322d159b9ce22121216c867e0171aa38/aiogrobid-0.1.11.tar.gz",
    "platform": null,
    "description": "# aiogrobid\n\nAsynchronous client for Grobid API\n\n## Example\n\n```python\nimport asyncio\n\nfrom aiogrobid import GrobidClient\n\nasync def works(doi):\n    client = GrobidClient()\n    return await client.works(doi)\n\nresponse = asyncio.get_event_loop().run_until_complete(works('10.21100/compass.v11i2.812'))\nassert(response == { \n  'DOI': '10.21100/compass.v11i2.812',\n  'ISSN': ['2044-0081', '2044-0073'],\n  'URL': 'http://dx.doi.org/10.21100/compass.v11i2.812',\n  'abstract': '<jats:p>Abstract: Educational policy and provision is '\n              'ever-changing; but how does pedagogy need to adapt to respond '\n              'to transhumanism? This opinion piece discusses transhumanism, '\n              'questions what it will mean to be posthuman, and considers the '\n              'implications of this on the future of education.</jats:p>',\n  'author': [ { 'affiliation': [],\n                'family': 'Gibson',\n                'given': 'Poppy Frances',\n                'sequence': 'first'}],\n  'container-title': ['Compass: Journal of Learning and Teaching'],\n  'content-domain': {'crossmark-restriction': False, 'domain': []},\n  'created': { 'date-parts': [[2018, 12, 17]],\n               'date-time': '2018-12-17T09:42:26Z',\n               'timestamp': 1545039746000},\n  'deposited': { 'date-parts': [[2019, 6, 11]],\n                 'date-time': '2019-06-11T10:29:57Z',\n                 'timestamp': 1560248997000},\n  'indexed': { 'date-parts': [[2020, 4, 14]],\n               'date-time': '2020-04-14T14:52:16Z',\n               'timestamp': 1586875936184},\n  'is-referenced-by-count': 0,\n  'issn-type': [ {'type': 'print', 'value': '2044-0073'},\n                 {'type': 'electronic', 'value': '2044-0081'}],\n  'issue': '2',\n  'issued': {'date-parts': [[2018, 12, 10]]},\n  'journal-issue': { 'issue': '2',\n                     'published-online': {'date-parts': [[2018, 12, 10]]}},\n  'link': [ { 'URL': 'https://journals.gre.ac.uk/index.php/compass/article/viewFile/812/pdf',\n              'content-type': 'application/pdf',\n              'content-version': 'vor',\n              'intended-application': 'text-mining'},\n            { 'URL': 'https://journals.gre.ac.uk/index.php/compass/article/viewFile/812/pdf',\n              'content-type': 'unspecified',\n              'content-version': 'vor',\n              'intended-application': 'similarity-checking'}],\n  'member': '8854',\n  'original-title': [],\n  'prefix': '10.21100',\n  'published-online': {'date-parts': [[2018, 12, 10]]},\n  'publisher': 'Educational Development Unit, University of Greenwich',\n  'reference-count': 0,\n  'references-count': 0,\n  'relation': {},\n  'score': 1.0,\n  'short-container-title': ['Compass'],\n  'short-title': [],\n  'source': 'Crossref',\n  'subtitle': [],\n  'title': [ 'From Humanities to Metahumanities: Transhumanism and the Future '\n             'of Education'],\n  'type': 'journal-article',\n  'volume': '11'})\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "0.1.11",
    "project_urls": {
        "Homepage": "https://github.com/izihawa/aiogrobid"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4cf9cd0393d5b7837092593381306c8e8a5fbca48ea925cb2bc97a5c94b2e449",
                "md5": "834c67b72785a795084bd36633784748",
                "sha256": "239a60f4e36e6be92e6b9a917a423d552b45be60bb1a237142089ef7faf30fc5"
            },
            "downloads": -1,
            "filename": "aiogrobid-0.1.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "834c67b72785a795084bd36633784748",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5391,
            "upload_time": "2023-06-25T09:10:02",
            "upload_time_iso_8601": "2023-06-25T09:10:02.769164Z",
            "url": "https://files.pythonhosted.org/packages/4c/f9/cd0393d5b7837092593381306c8e8a5fbca48ea925cb2bc97a5c94b2e449/aiogrobid-0.1.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b7992468008e393697af3559a7afe84d322d159b9ce22121216c867e0171aa38",
                "md5": "30c8b11d309bb71afb1364d60764bfd8",
                "sha256": "7151e8512080d8c38be9086f1f97325060772f23742f317ebb737552c0991706"
            },
            "downloads": -1,
            "filename": "aiogrobid-0.1.11.tar.gz",
            "has_sig": false,
            "md5_digest": "30c8b11d309bb71afb1364d60764bfd8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4576,
            "upload_time": "2023-06-25T09:10:05",
            "upload_time_iso_8601": "2023-06-25T09:10:05.491341Z",
            "url": "https://files.pythonhosted.org/packages/b7/99/2468008e393697af3559a7afe84d322d159b9ce22121216c867e0171aa38/aiogrobid-0.1.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-25 09:10:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "izihawa",
    "github_project": "aiogrobid",
    "github_not_found": true,
    "lcname": "aiogrobid"
}
        
Elapsed time: 0.12746s