Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
b8a76cc
chore: update metadata in the project TOML
sr-murthy Apr 17, 2026
15018cb
ci: rename test workflow to `test.yml`
sr-murthy Apr 17, 2026
36a2261
ci: tidy up the pre-commit and test workflows
sr-murthy Apr 17, 2026
60412c0
ci: add build workflow for building of local package artifacts and a …
sr-murthy Apr 17, 2026
ace567d
chore(deps): refresh pylock TOML
sr-murthy Apr 17, 2026
b72a788
ci: set minimal runner timeouts on all jobs + remove exact version pi…
sr-murthy Apr 17, 2026
33ca87d
ci: simplify build workflow - use PyPA `build` instead of PDM
sr-murthy Apr 17, 2026
5792950
ci: increase job timeouts
sr-murthy Apr 17, 2026
d83bff1
chore: rename the core libs + update refs in tests
sr-murthy Apr 17, 2026
3a5b1cb
chore: bump version to `0.2.0`
sr-murthy Apr 20, 2026
71d3719
chore: type hinting, docstrings, and tidying up in `visualisation`
sr-murthy Apr 21, 2026
0c36135
test: unit tests for most `visualisation` functions, and a few functi…
sr-murthy Apr 24, 2026
ff3df66
docs: add RTD YML + `docs/requirements.txt`
sr-murthy May 1, 2026
03b1ba8
style: docstrings and type hinting for core libs
sr-murthy May 5, 2026
fd9c300
docs: initial version of Sphinx docs with complete API reference
sr-murthy May 5, 2026
ee68afe
Refresh RTD PR build
sr-murthy May 5, 2026
be22f38
docs: add some more stuff to index RST
sr-murthy May 5, 2026
5f343e9
docs: enable light mode and turn off dark mode
sr-murthy May 6, 2026
78ba1c0
lint
sr-murthy May 6, 2026
3d78b72
test: update conversion table
sr-murthy May 6, 2026
22d21a4
chore: switch license to MIT and add citation file
sr-murthy May 7, 2026
a3cf371
ci: tidy up workflow chaining for test and build workflows
sr-murthy May 8, 2026
c02929a
docs: remove static `docs/requirements.txt` + enable docs deps instal…
sr-murthy May 8, 2026
e867ce6
chore: add PyPI classifiers to project TOML
sr-murthy May 8, 2026
a494f38
linting fix
sr-murthy May 8, 2026
af9cad3
docs: add placeholder pages for analytics and REDCap data extraction …
sr-murthy May 8, 2026
c96fdf1
docs: fix Intersphinx problem with the Plotly docs domain + docstring…
sr-murthy May 8, 2026
802c753
ci: remove workflow chaining due to lack of full GitHub support on PRs
sr-murthy May 8, 2026
25dd019
chore: remove pylock TOML
sr-murthy May 8, 2026
2af87e7
test: a small fix in `redcap_data` tests
sr-murthy May 8, 2026
5b22f26
chore: fix test workflow badge in README
sr-murthy May 8, 2026
7ac5ed8
docs: a few more improvements for the conf and index page
sr-murthy May 13, 2026
8b6faf7
docs: tidy up conf
sr-murthy May 13, 2026
8c4ca0c
chore: update README
sr-murthy May 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build

on:
push:
branches: main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- run: |
echo "github.event_name=${{ github.event_name }}"
echo "github.event.workflow_run.conclusion=${{ github.event.workflow_run.conclusion }}"
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install build dependencies
run: |
pip install -U pip build

- name: Build package artifacts and install wheel
run: |
python -m build
pip install dist/isaricanalytics*.whl

- name: Test wheel import
run: |
python -c "import isaricanalytics; print(isaricanalytics.__version__)"

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment thread
sr-murthy marked this conversation as resolved.
Fixed
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment on lines +10 to +31
7 changes: 4 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ name: pre-commit

on:
push:
branches: [main]
branches: main
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: "3.11"

Expand Down
53 changes: 0 additions & 53 deletions .github/workflows/test-python-versions-coverage.yml

This file was deleted.

59 changes: 59 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Tests and Coverage

on:
push:
branches:
- main
pull_request:

jobs:
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- run: |
echo "github.event_name=${{ github.event_name }}"
echo "github.event.workflow_run.conclusion=${{ github.event.workflow_run.conclusion }}"
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: "3.11"

- name: Install project and unit test dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"

- name: Run pytest with coverage
env:
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
run: |
python -m pytest \
--code-highlight=yes \
--color=yes \
--verbosity=3 \
-p pytest_cov \
--cov=isaricanalytics \
--cov-report=term-missing \
--cov-report=xml \
--cov-report=html

- name: Upload coverage.xml artifact
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: coverage-xml
path: coverage.xml
if-no-files-found: error

- name: Upload coverage report to Codecov (best effort)
continue-on-error: true
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium test

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment on lines +11 to +59
1 change: 0 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ build:
os: ubuntu-lts-latest
tools:
python: "3.11"

# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
Expand Down
40 changes: 40 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
cff-version: 1.2.0
title: IsaricAnalytics
message: Data analysis toolkit to support fast analysis of clinical data during emerging infectious disease outbreaks.
type: software
authors:
- name-particle: Tom
family-names: Edinburgh
email: tom.edinburgh@ndm.ox.ac.uk
orcid: 0000-0002-3599-7133
- name-particle: Esteban
family-names: Garcia-Gallo
email: esteban.garcia@ndm.ox.ac.uk
orcid: 0000-0002-8030-9985
- name-particle: Igor
family-names: Peres
email: igor.peres@puc-rio.br
orcid:
- name-particle: Tomoe
family-names: Gusberti
email: tomoegusberti@gmail.com
orcid:
- name-particle: Luiz
family-names: Raffaini
email: lemraffaini@gmail.com
orcid:
repository-code: 'https://github.com/ISARICResearch/IsaricAnalytics'
url: 'https://github.com/ISARICResearch/IsaricAnalytics'
abstract: Data analysis toolkit to support fast analysis of clinical data during emerging infectious disease outbreaks.
keywords:
- isaric
- infectious disease
- pandemic
- disease outbreak
- clinical epidemiology
- disease outbreak response
- data analysis
- data analytics
license: MIT
version: 0.2.0
date-released:
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![CodeQL](https://github.com/ISARICResearch/IsaricAnalytics/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/ISARICResearch/IsaricAnalytics/actions/workflows/github-code-scanning/codeql)
[![pre-commit](https://github.com/ISARICResearch/IsaricAnalytics/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/ISARICResearch/IsaricAnalytics/actions/workflows/pre-commit.yml)
[![Tests (python versions)](https://github.com/ISARICResearch/IsaricAnalytics/actions/workflows/test-python-versions-coverage.yml/badge.svg)](https://github.com/ISARICResearch/IsaricAnalytics/actions/workflows/test-python-versions-coverage.yml)
[![Tests (python versions)](https://github.com/ISARICResearch/IsaricAnalytics/actions/workflows/test.yml/badge.svg)](https://github.com/ISARICResearch/IsaricAnalytics/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/ISARICResearch/IsaricAnalytics/graph/badge.svg?token=Q0A84OK6E5)](https://codecov.io/gh/ISARICResearch/IsaricAnalytics)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Expand All @@ -22,3 +22,7 @@ characteristics that allow some automation during research analyses and the re-u
elements of analysis pipelines to similar contexts. This package is designed to support
Reusable Analytical Pipelines for Infectious Diseases (RAPIDs), which is based on the concept
of [Reproducible Analytical Pipelines](https://analysisfunction.civilservice.gov.uk/support/reproducible-analytical-pipelines/).

## Documentation

Project documentation is available at https://isaricanalytics.readthedocs.io/en/latest. It is built with [Sphinx](https://www.sphinx-doc.org/en/) from content and configuration defined in the [`docs`](https://github.com/ISARICResearch/VERTEX/tree/main/docs) subfolder.
3 changes: 3 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.theme-toggle-container {
display: none;
}
Binary file added docs/_static/isaric-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading