Skip to main content

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

  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)
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scienceio-2.1.1.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scienceio-2.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file scienceio-2.1.1.tar.gz.

File metadata

  • Download URL: scienceio-2.1.1.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for scienceio-2.1.1.tar.gz
Algorithm Hash digest
SHA256 e93964bc890f5a10968014c485cf4b741437905b2777c47b9c0aa14ca56bccd5
MD5 01e959a489e20eb8db2600f8f6fbcc48
BLAKE2b-256 c9b017efcba0c2806bb295075c140b1f7fe1064680f673f2e40a9823b4280b59

See more details on using hashes here.

File details

Details for the file scienceio-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: scienceio-2.1.1-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

Hashes for scienceio-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05ceb4ddfc24443699bb0d07ec5b8670f2e53749eb0b41282537df269e8d8045
MD5 9f74e3bc86258d05d3698d8aacf579ec
BLAKE2b-256 764d5f3f71798546d28517651cb286c6f0959ebdd2e4d5b3962d8a0d07d086aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page