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.4.tar.gz (11.4 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.4-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyISARICBasics-1.0.4.tar.gz
  • Upload date:
  • Size: 11.4 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.4.tar.gz
Algorithm Hash digest
SHA256 9539e348694ef5c3f2092da2cb02b0e7231f0bd32f0b6d1ac5a37467602db305
MD5 824113c8801fc6fcc46fbf9ee08cdaca
BLAKE2b-256 186160ec5ebce2a05706563349d87b6cece53faeacf44e3ed9c40634716f0b6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyISARICBasics-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f414173c12dce26bfedf371a889363fcc6a159ce4fa0fdf75c8836051d1ed563
MD5 c062c142ad4d55af1637288d4716d99b
BLAKE2b-256 5de68fd6ebf15c11f90b53b2a0671edf6237c6d3e52bd14fd16cdd393a915258

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