ScienceIO Python SDK
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
ScienceIO
The official ScienceIO Python SDK for the BioNLP API.
As of today (June 22nd 2021), it supports sending documents to the BioNLP API, and returns the array of spans and the original text. Aggregations are not included.
This package is available via Pypi:scienceIO.
Usage and examples
-
Register:
from scienceio import ScienceIO ScienceIO.register( first_name="Demo name", last_name="Demo lastname", email="your@email.com" )
You will be sent an email asking you to verify your account. As part of the process you will be asked to create a password.
-
Create a configuration file
~/.scio/configwith your credentials (it will be replaced with api keys)[SETTINGS] email=your@email.com -
Email api-help@science.io to activate your account. Provide the email you used to register.
-
Query the BioNLP API:
scio = ScienceIO() query_text = ( 'The COVID-19 pandemic has shown a markedly low proportion of ' 'cases among children 1–4. Age disparities in observed cases could be ' 'explained by children having lower susceptibility to infection, lower ' 'propensity to show clinical symptoms or both.' ) results = scio.annotate(query_text) print(results)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scienceio-0.3.2.tar.gz.
File metadata
- Download URL: scienceio-0.3.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8867a188ab250b048caa48584d117a991d8bb12e4c5f81a819a966031f0dfa7
|
|
| MD5 |
462b1b72bb8c173903e1684aebbaf1b4
|
|
| BLAKE2b-256 |
bc49160bc69be3d51b18b98c5b2c407ca8d7fd8b78dac6188be64a32a05967b0
|
File details
Details for the file scienceio-0.3.2-py3-none-any.whl.
File metadata
- Download URL: scienceio-0.3.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0708063c4ffde034cc7860b0a41500f0c9a2c52062ce06a01d7dbdc2237f7738
|
|
| MD5 |
14db47ac3da0054e0a9ac43aaa3012d9
|
|
| BLAKE2b-256 |
74db6aa25aa2547a6d68002642c5c6137a262b61602dcce0a784be5129c3dcad
|