Skip to main content

pyextremes

Extreme Value Analysis (EVA) in Python

Test Coverage PyPI Package Anaconda Package

About

Documentation: https://georgebv.github.io/pyextremes/

License: MIT

Support: ask a question or create an issue, any input is appreciated and would help develop the project

pyextremes is a Python library aimed at performing univariate Extreme Value Analysis (EVA). It provides tools necessary to perform a wide range of tasks required to perform EVA, such as:

  • extraction of extreme events from time series using methods such as Block Maxima (BM) or Peaks Over Threshold (POT)
  • fitting continuous distributions, such as GEVD, GPD, or user-specified continous distributions to the extracted extreme events
  • visualization of model inputs, results, and goodness-of-fit statistics
  • estimation of extreme events of given probability or return period (e.g. 100-year event) and of corresponding confidence intervals
  • tools assisting with model selection and tuning, such as selection of block size in BM and threshold in POT

Check out this repository with Jupyter notebooks used to produce figures for this readme and for the official documentation.

Installation

Get latest version from PyPI:

pip install pyextremes

Install with optional dependencies:

pip install pyextremes[full]

Get latest experimental build from GitHub:

pip install "git+https://github.com/georgebv/pyextremes.git#egg=pyextremes"

Get pyextremes for the Anaconda Python distribution:

conda install -c conda-forge pyextremes

Illustrations

Model diagnostic

Diagnostic plot

Extreme value extraction

Diagnostic plot

Trace plot

Diagnostic plot

Corner plot

Diagnostic plot

Acknowledgements

I wanted to thank Max Larson who has inspired me to start this project and who taught me a lot about extreme value theory.

Metadata

Release files for pyextremes 2.5.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 pyextremes 2.5.0
File Size Uploaded
pyextremes-2.5.0.tar.gz 42.3 kB Details

Built distribution (wheel)

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

Total release size: 101.5 kB

Release files / pyextremes-2.5.0.tar.gz

Download URL pyextremes-2.5.0.tar.gz
Size 42.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1ca62c370935bb19966a6999884743b5c96519fce2a4101d22c04172e3bc8e61
BLAKE2b-256 checksum
How to use checksums
42b6fa8df3ad60a7818d2c844d4eabe38a84436c38fb36cd387795af79789699
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pyextremes-2.5.0-py3-none-any.whl

Download URL pyextremes-2.5.0-py3-none-any.whl
Size 59.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
293049da0bc4656859a5336d6eebfab34d6356969191ef871a8c20134643cfde
BLAKE2b-256 checksum
How to use checksums
78849e80a364631b956046202828e28c8ba9f33d4762ad8eae36655554b378da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

2.5.0 This release

2 release files

2.4.0

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.7

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

1 release file

2.0.1

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

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