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 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() input_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.structure(input_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
File details
Details for the file scienceio-2.2.0.tar.gz
.
File metadata
- Download URL: scienceio-2.2.0.tar.gz
- Upload date:
- Size: 59.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b3cc811be3c70f96283169b2fab6584af23b6e426d81eb850a2346eddbd2427b
|
|
MD5 |
b635250eb483cd33707a722122c12703
|
|
BLAKE2b-256 |
82821b6ddd2c010136051fdd041a006cdd11678572c58b45280ef66f1742284a
|
File details
Details for the file scienceio-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: scienceio-2.2.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3f34bc748e7d7af84fedf5aa6ceb6ea558534030c6a6d2b0c4ed14c82a7fd137
|
|
MD5 |
6496bee38413e3012993e314bfa24816
|
|
BLAKE2b-256 |
1fa762658ccc393cb547c4b74ef7d005c109a5fb91e4dc7a49caa5295fd51ed8
|