Predictive Competing Risks and Survival Analysis.
Project description
HΛZΛRDOUS
Predictive Competing Risks and Survival Analysis.
Installation and usage
XXX: the following will work only once the 0.1.0 release is out!
pip install hazardous
or
conda install -c conda-forge hazardous
Then browse the online documentation
and run the examples/ to get started.
Development and testing
Install in "editable" mode in your current Python env (after a standard installation to install the dependencies):
pip install flit
pip install . -v
pip install -e ".[dev]" --no-build-isolation -v
pre-commit install
Run the tests with nox to test in an environment that matches exactly on specific CI build, for instance:
nox -p 3.11 -s test_latest_from_pypi -r
The -r flag makes it possible to reuse an existing env.
You can also install the test dependencies in the current env and use pytest
directly with arbitrary command line arguments:
pip install -e ".[test]" --no-build-isolation -v
pytest -vl -x -k test_name_pattern
Building the doc
Using nox:
nox -s doc -r
or manually:
pip install -e ".[doc]" --no-build-isolation -v
cd doc
make html
The resulting html files are generated under the doc/_build folder.
Building a release
pip install build
python -m build
ls dist/
TODO: make it possible to automate a release using GitHub Actions for a given tag.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hazardous-0.1.0.tar.gz.
File metadata
- Download URL: hazardous-0.1.0.tar.gz
- Upload date:
- Size: 9.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f39bb02b4f1d261197f7c279ae369ed6480b1c1ee4632a686b0b9057b8616fa7
|
|
| MD5 |
0e33274ea9a7697008c5b62cc6f33e30
|
|
| BLAKE2b-256 |
b8681d1d510d6523cd06a7306007308e3f1db4ae395829eb6ab199639c8732eb
|
File details
Details for the file hazardous-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hazardous-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
230230e9fd358f10d23581b5ac039b99033f6240f3ff93de6f5d18d403deb30e
|
|
| MD5 |
9b0412f8be7714b243ce428b8833bb50
|
|
| BLAKE2b-256 |
6ce08db87ff451c74690858fc468fe60584bbb9d99460ee4bc5fc399d4858fe0
|