ScienceIO Python SDK
Project description
ScienceIO
The official ScienceIO Python SDK for the ScienceIO API.
This package is available via Pypi:scienceIO. View full documentation at ScienceIO Docs.
Usage and examples
-
Create a ScienceIO API key. Both the API key ID and the key secret will be needed in order to set up the ScienceIO Python SDK for use.
-
Install the ScienceIO Python SDK.
pip install scienceio
-
Create a directory
.scienceio
in your home directory (Mac users, your home directory is/Users/{username}
. Linux users, your home directory is/home/{username}
. Windows users, your home directory isC:\\Users\{username})
Inside this directory, create a text file calledconfig
containing your credentials:[SETTINGS] KEY_ID={your ScienceIO API key ID} KEY_SECRET={your ScienceIO API key secret}
-
Use the ScienceIO Python SDK to annotate text:
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
Hashes for scienceio-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8678abc95d6587eb6282e53caaa7a7fd5045b2f75424054b20bf2f81a2814b41 |
|
MD5 | a1a2d9a28b3965fd6f1493f374c4fdc6 |
|
BLAKE2b-256 | a3e9284d4f37325a8b5ed02d79c1eee137cf0c0704905c77372ae1a8eca2e8ef |