Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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

  1. 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.

  2. Install the ScienceIO Python SDK.

    pip install scienceio
    
  3. 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 is C:\\Users\{username}) Inside this directory, create a text file called config containing your credentials:

    [SETTINGS]
    KEY_ID={your ScienceIO API key ID}
    KEY_SECRET={your ScienceIO API key secret}
    
  4. 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)
    

Release files for scienceio 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scienceio 2.2.0
File Size Uploaded
scienceio-2.2.0.tar.gz 59.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scienceio 2.2.0
File Interpreter ABI Platform
scienceio-2.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 64.6 kB

Release files / scienceio-2.2.0.tar.gz

Download URL scienceio-2.2.0.tar.gz
Size 59.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b3cc811be3c70f96283169b2fab6584af23b6e426d81eb850a2346eddbd2427b
BLAKE2b-256 checksum
How to use checksums
82821b6ddd2c010136051fdd041a006cdd11678572c58b45280ef66f1742284a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.2

Release files / scienceio-2.2.0-py3-none-any.whl

Download URL scienceio-2.2.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f34bc748e7d7af84fedf5aa6ceb6ea558534030c6a6d2b0c4ed14c82a7fd137
BLAKE2b-256 checksum
How to use checksums
1fa762658ccc393cb547c4b74ef7d005c109a5fb91e4dc7a49caa5295fd51ed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page