Skip to main content

A python package for SQLite database creation and some basic data processing

Project description

pyISARICBasics

This package is intended to be a gentle introduction to the ISARIC dataset with the goal of helping researchers access and become familiar with the ISARIC dataset.

The package is in the early stages of development and feature requests are welcomed as are new contributors. If you would like to contribute please make contact!

Install

This package can be installed using pip - the package installer for Python. We suggest creating a virtual environment (using conda or otherwise). Miniconda (https://docs.conda.io/en/latest/miniconda.html) is a minimal installer for Anaconda that is suitable for this purpose.

Once you have installed conda you will need to create a new virtual environment. The steps are as follows (but see https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html for alternatives).

Type the following into a console window:

conda create -n "your_env_name" python=3.8

This will create a new conda environment with Python 3.8.

You should then activate your new environment by entering the following command:

conda activate "your_env_name" 

You then need to install pip using the following command:

conda install pip

You can then type the following command to install the package:

pip install pyISARICBasics

You can then access any pyISARICBasics functionality described in the documentation using IDE or Jupyter Notebook that is configured to use this environment.

While the package is in early development we suggest regularly checking for updates with the following command:

pip install pyISARICBasics --upgrade

Documentation

Package documentation is contained at the following link: https://kyleyoung1997.github.io/pyISARICBasics/

Tutorial

Once you have created a virtual environment to access the tutorial you can download the .ipynb file from this repo.

Create a folder that contains this notebook and another folder containing the raw ISARIC data.

You then need to navigate to your newly created folder and activate your virtual environment. To do this you need to open a console window and use the following command:

cd "path_to_directory" 

(If you're using a mac you can type cd and then drag the folder icon of your newly created folder into the terminal window to get the path)

Then type the following command to open jupyter notebook:

jupyter notebook

Which will launch an interactive browser window. You can then open the tutorial notebook.

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

pyISARICBasics-1.0.3.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

pyISARICBasics-1.0.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file pyISARICBasics-1.0.3.tar.gz.

File metadata

  • Download URL: pyISARICBasics-1.0.3.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for pyISARICBasics-1.0.3.tar.gz
Algorithm Hash digest
SHA256 8ab82bcdb0c2993d0cc060aafdfe7e496c9e21c0535a0ec95abba581b7ad9b07
MD5 a6eed780e74e92626fde3fc92b9e1889
BLAKE2b-256 8b598d0707281ebd4778c20a29f47c10350dba08e425662f422e86f62a8892e0

See more details on using hashes here.

File details

Details for the file pyISARICBasics-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyISARICBasics-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for pyISARICBasics-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d95e262460796fc2ec9d6a45bb50eea61aca8c3305f4985b4721a810c71268e8
MD5 4b4c71adc9a49a6eb92bff3f9fb04b6d
BLAKE2b-256 12834b67d909bfbce33c209f91c5f7649c4fcdd1c16147ba98116370423a85dc

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