Skip to content

rte-france/relife

Repository files navigation


An open-source Python library for optimizing large-scale infrastructure investment decisions.

Some explanations might be missing until we finish the documentation properly, so do not hesitate to open an issue.

Installation

From PyPi

$ python -m pip install relife

From source

$ git clone https://github.com/rte-france/relife.git
$ cd relife
$ python -m pip install .

For developpers

The project has two dependency groups, dev and doc.

If you wish to work on the codebase, install ReLife with the packages included in the dev group. Using the editable mode (-e) is recommanded.

$ git clone https://github.com/rte-france/relife.git
$ cd relife
$ python -m pip install -e . --group dev

If you wish to work on the documentation, install ReLife with the packages included in the doc group.

$ git clone https://github.com/rte-france/relife.git
$ cd relife
$ python -m pip install . --group doc

Development tools

We use ruff as linter and formatter. We currently use basedpyright as Python type checker and LSP server. In a near future, we may move to ty.

Citing

@misc{relife,
    author = {T. Guillon},
    title = {ReLife: a Python package for asset management based on reliability theory and lifetime data analysis.},
    year = {2022},
    journal = {GitHub},
    howpublished = {\url{https://github.com/rte-france/relife}},
}

Credits

About

ReLife is an open source Python library for asset management based on reliability theory and lifetime data analysis.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages