A comprehensive Python package for fire safety engineering calculations and tools, providing implementations for industry standards like BR 187, BS 9999, CIBSE Guide E, PD 7974, SFPE Handbook, and more.
Project description
OFire - Fire Safety Engineering Library
A comprehensive Python package for fire safety engineering calculations and tools, built on industry standard fire engineering documents and implemented in Rust for performance and reliability.
Overview
OFire provides Python bindings for a wide range of fire engineering calculations from authoritative sources including:
- BR 187 - External Fire Spread (Building Research Establishment)
- BS 9999 - Code of Practice for Fire Safety in the Design, Management and Use of Buildings
- CIBSE Guide E - Fire Safety Engineering
- PD 7974 - Application of Fire Safety Engineering Principles to the Design of Buildings
- SFPE Handbook - Fire Protection Engineering
- Introduction to Fire Dynamics - Fundamental fire behavior principles
- TR 17 - Fire Safety Engineering Technical Reports
All calculations are implemented in Rust and exposed through Python bindings using PyO3 for optimal performance and memory safety.
Installation
Install from PyPI using pip:
pip install ofire
Quick Start
import ofire
# Calculate thermal radiation intensity using BR 187
radiation = ofire.br_187.appendix_a.equation_a2.radiation_intensity_at_receiver(0.15, 50000.0)
print(f"Received radiation: {radiation:.1f} W/m²")
# Calculate view factor for parallel surfaces using BR 187
x = ofire.br_187.appendix_a.equation_a3.x(5.0, 10.0)
y = ofire.br_187.appendix_a.equation_a3.y(3.0, 10.0)
view_factor = ofire.br_187.appendix_a.equation_a3.phi(x, y, True)
print(f"View factor: {view_factor:.4f}")
# Calculate heat release rate at flashover using CIBSE Guide E
flashover_hrr = ofire.cibse_guide_e.chapter_6.equation_6_7.heat_release_rate_flashover(2.0, 2.1)
print(f"Flashover HRR: {flashover_hrr:.1f} kW")
# Calculate mean flame height using CIBSE Guide E
flame_height = ofire.cibse_guide_e.chapter_6.equation_6_55.mean_flame_height(1000.0)
print(f"Mean flame height: {flame_height:.2f} m")
📚 Documentation
📖 Complete API Documentation & Examples →
Find the complete function reference, mathematical formulations, detailed examples, and all supported fire engineering standards and modules in the full documentation.
Links
- 🏠 Homepage: https://www.openfiresoftware.com/
- 📖 Documentation: https://fire-library.github.io/openfire/
- 💻 Source Code: https://github.com/fire-library/openfire
Contributing
We welcome contributions! Please see our Contributing Guidelines for information on how to get started.
License
This project is licensed under the terms specified in the PYTHON_LICENSE file.
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 Distributions
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 ofire-0.1.14.tar.gz.
File metadata
- Download URL: ofire-0.1.14.tar.gz
- Upload date:
- Size: 164.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
270df379993044390a95257931163915699c192a7e3847fb7b3435e6b9918040
|
|
| MD5 |
4a546e47ff683666daded09c26c9494d
|
|
| BLAKE2b-256 |
4de1a5e7696e7c79b3ccce92b1add9246f0c41a1f41cf58b4ace94f9210c818c
|
File details
Details for the file ofire-0.1.14-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: ofire-0.1.14-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 329.0 kB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd6cabe3104b70b4c53598705a6814f6da7780ee1d60708439f4e900031af65b
|
|
| MD5 |
f1e5c516cb57024d69b7af296d0e4781
|
|
| BLAKE2b-256 |
3d1adc1c220dab13b7a7ecf50272282fb59ff5f1bd981f168c651187b1529281
|
File details
Details for the file ofire-0.1.14-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: ofire-0.1.14-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 329.9 kB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59b77068a463499c0611ce0063248c5254302427fb0e19d1b6feac33910a9b63
|
|
| MD5 |
be75b2b4594038b7a6016ee9fa74b344
|
|
| BLAKE2b-256 |
4b797948ab2037a1f5ac440d6bc20988120f48fdb420985e1fab7ef831800e5d
|
File details
Details for the file ofire-0.1.14-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: ofire-0.1.14-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 329.9 kB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c74ca0d432970bb8a09283c5e824726e5bbb6d1febec5f2dee33fe1aa8e4e238
|
|
| MD5 |
c5d070d8beec86c00c574a191c4b4d19
|
|
| BLAKE2b-256 |
d434b29cd6e6c604c2d3eb7c6e3fc4bdc3d7ad0da6b4fe2ade1f82e99e3d6c55
|
File details
Details for the file ofire-0.1.14-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: ofire-0.1.14-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 332.8 kB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bd00bb0539b5d79c211e78e83433aa79a3be77e3db7fce7e5fb90da28037fe0
|
|
| MD5 |
524f86d539cb95a28a1996115544b95c
|
|
| BLAKE2b-256 |
7722ad9b103247a55b50258a7cf03bb5267d31c0c8edfdcabbcc50e648d2beca
|
File details
Details for the file ofire-0.1.14-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: ofire-0.1.14-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 182.7 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3aa704dcde9b57b7923085a8299eac28fa802e31bb91b1353b770f70154ee21
|
|
| MD5 |
0e142dea4139ef420b14926a2a2fd83a
|
|
| BLAKE2b-256 |
9f21a7148a0cf7735dfa4032c27c4529431a08ceae0dfe2464d320a0506ca8c9
|
File details
Details for the file ofire-0.1.14-cp38-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: ofire-0.1.14-cp38-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 335.1 kB
- Tags: CPython 3.8+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d4099237cb9c84ef2ea3766613c760c1a4bbe074623f86fa6c9cbf0db62d38f
|
|
| MD5 |
c2f8fc024b30de2238ee2a996e9cbb3a
|
|
| BLAKE2b-256 |
fe763efacbb41868c358d8eb6d04fdc0ab0dfe18a550635265e9ca8677223387
|
File details
Details for the file ofire-0.1.14-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: ofire-0.1.14-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 333.7 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
776e89808b2d5b9ee288ca7269e9ea14618d1a59013429e75521f3d8cb92c351
|
|
| MD5 |
d644e026d4fb5739a9e133f971a9386e
|
|
| BLAKE2b-256 |
a2110e81ba6e633696792bac2e658b3f92ea1899af33388b19f8c27da39ba7dd
|
File details
Details for the file ofire-0.1.14-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: ofire-0.1.14-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 294.6 kB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a87d17185ca31b4d33c0903561d7273d0452f20effb00bffd07c6f13f7cc70d
|
|
| MD5 |
05beb6a831ec1ec6817d482d42b8ce21
|
|
| BLAKE2b-256 |
5c98532f970483f59211be8c6e2ac88fda79458e5ec4caaa161f0c7f2cc02314
|
File details
Details for the file ofire-0.1.14-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: ofire-0.1.14-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 293.2 kB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aa77083f82cebcaeaf4086ff4baa5ce85c4bb75190f24811f0cdc1cee579430
|
|
| MD5 |
479fd74f0001c7fb6c0f6df33ed5ff1b
|
|
| BLAKE2b-256 |
616ef26130e2d35a0b0f0417c72c5e7df0dadf18f52e6ce4d2926335ffd07c48
|