← Back to Labs
Labs · Open-source · Eurocode library
EuroLib
An open-source Python library providing verified, test-covered Eurocode calculation routines for structural engineers and software developers. Every function is cross-validated against published worked examples and independent software benchmarks.
Versionv2.1 Stable
LanguagePython 3.8+
Test coverage97%
LicenceMIT
StatusStable release
Capabilities
What EuroLib provides
Every module covers a specific Eurocode domain with consistent API design - parametric inputs, clearly documented assumptions and verified numerical outputs.
EC2 - Concrete
Bending, shear, axial and combined cross-section resistance for RC members per EN 1992-1-1. Crack width, deflection and punching shear. Full interaction diagram generation.
EC3 - Steel
Cross-section classification, flexural and lateral-torsional buckling resistance, connection capacity checks per EN 1993-1-1, 1-8 and 1-9. Fatigue damage accumulation.
EC8 - Seismic
Elastic response spectrum generation, behaviour factor determination and ductility class checks per EN 1998-1. Capacity design force amplification for DC-M and DC-H systems.
Verified & benchmarked
Every function validated against published Eurocode worked examples and independent commercial software. 97% automated test coverage enforced on every commit.
pip installable · documented
Install with a single pip command. Comprehensive documentation with worked examples, Jupyter notebook tutorials and integration guides.
Open contributions
MIT licence with open contributor model. PR review process and a growing community of structural engineers from Poland and across Europe contributing modules
Interface preview
Library in use
EC3 flexural buckling · χ = 0.73 · UC = 0.68
eurolib v2.1 · Python
Jupyter notebook tutorials
Step-by-step worked examples for each module — from basic section checks to full column design iterations.
97% test coverage
Automated test suite validates every function against published Eurocode examples on every commit.
Development status
Roadmap & research
EuroLib v2.1 is stable and actively maintained. The next major version will add EC5 (timber) and EC6 (masonry) modules, a CLI tool for batch calculations and a Polish national annex layer.
01
EC2 core module
02
EC3 core + fatigue module
03
EC8 seismic module
04
Jupyter example suite
05
EC5 timber module
06
Polish national annex layer
07
EC6 masonry module
08
CLI batch tool