Skip to main content

HΛZΛRDOUS

Predictive Competing Risks and Survival Analysis.

Tests

Installation and usage

Installation:

pip install 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.

Metadata

Release files for hazardous 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hazardous 0.2.0
File Size Uploaded Provenance
hazardous-0.2.0.tar.gz 10.1 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hazardous 0.2.0
File Interpreter ABI Platform
hazardous-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 MB

Release files / hazardous-0.2.0.tar.gz

Download URL hazardous-0.2.0.tar.gz
Size 10.1 MB
Tags Source
SHA-256 checksum
How to use checksums
4cb8fbe3e5a328ad012bd936b2345b53027ce4fb69162391d4a7af2473332199
BLAKE2b-256 checksum
How to use checksums
726ae3ea3de3808047ae9c73ed72c07895bb3621f21e5f5b1d95b2b84a3cea0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / hazardous-0.2.0-py3-none-any.whl

Download URL hazardous-0.2.0-py3-none-any.whl
Size 11.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0c25c1b2f76f14bf2d50f68abe762283c01b2c83341420b95302b13cdd94c86f
BLAKE2b-256 checksum
How to use checksums
6a06c97a4efb355fbcf6980f08183a720ed12016e4c09025942a70e3857bba94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Security for hazardous 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page