Science-parse-api

Latest version: v1.0.1

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

127.0.0.1

port = '8080'
output_dict = parse_pdf(host, test_pdf_paper, port=port)

pp = pprint.PrettyPrinter(indent=4)
pp.pprint(output_dict)


{ 'abstractText': 'The abstract which is normally short.',
'authors': [{'affiliations': [], 'name': 'Andrew Moore'}],
'id': 'SP:045daa3afe8335ca973de6dbed366626376434da',
'references': [ { 'authors': [ 'Tomas Mikolov',
'Greg Corrado',
'Kai Chen',
'Jeffrey Dean.'],
'title': 'Efficient estimation of word '
'representations in vector space',
'venue': 'Proceedings of the International '
'Conference on Learning Representations, '
'pages 1–12.',
'year': 2013}],
'sections': [ { 'text': 'The abstract which is normally short.\n'
'1 Introduction\n'
'Some introduction text.\n'
'2 Section 1\n'
'Here is some example text.'},
{ 'heading': '2.1 Sub Section 1',
'text': 'Some more text but with a reference (Mikolov '
'et al., 2013).\n'
'3 Section 2\n'
'The last section\n'
'References\n'
'Tomas Mikolov, Greg Corrado, Kai Chen, and '
'Jeffrey Dean. 2013. Efficient estimation of '
'word representations in vector space. '
'Proceedings of the International Conference '
'on Learning Representations, pages 1–12.'}],
'title': 'Example paper for testing',
'year': 2021}

1.0.0

This is the first working release of the Science Parse python API.

Functions

It only has one function [`science_parse_api.api.parse_pdf`](https://github.com/UCREL/science_parse_py_api/blob/222fc7d65e42ed1b820997acfe82f69af6905057/science_parse_api/api.py#L14) which takes the following as input:

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.