Skip to main content

mendokusai

A fast finite-element solver for bridges and structures — in a few lines of Python.

DISCLAIMER — hobby project; no warranty, no liability. mendokusai is a personal, experimental hobby project, provided free and as is, with no warranty and no liability or responsibility of any kind. It is not certified or validated engineering software and must not be used for real structural design, construction, or any safety-critical decision — always have results independently verified by a qualified, licensed engineer. Use entirely at your own risk.

mendokusai lets you build a structural model and run a full finite-element analysis straight from Python — statics, traffic loads, prestressing, construction phasing, dynamics, buckling, nonlinear analysis, cables, thin-walled sections, seismic, and fire. Install it with pip, import mendokusai, and go. Results are deterministic and reproducible run to run.

Installation

pip install mendokusai

Prebuilt for Windows, macOS, and Linux (Python 3.9+). Nothing to compile and no extra tools — just pip install.

Quickstart

import mendokusai

m = mendokusai.Model(option="spatiale")
mat = m.add_material(E=210e9, nu=0.3, rho=7850.0)                 # steel
sec = m.add_section(sx=5e-3, iy=8e-5, iz=8e-5, ix=1e-6, ipol=1.6e-4)

n1 = m.add_node(0.0, 0.0, 0.0)
n2 = m.add_node(2.0, 0.0, 0.0)
m.add_bar(n1, n2, section=sec, material=mat, beta=0.0)
m.support(n1, dofs="dx dy dz rx ry rz")                          # fully fixed end

lc = m.load_case("tip load")
lc.nodal_force(n2, fz=-1000.0)

res = m.solve()
print(res.node_disp(n2, "dz"))      # cantilever tip deflection

What it can do

  • Statics — 3D/2D frames; end releases, rigid offsets, eccentricities.
  • Supports & soil — rigid/elastic and lift-off (unilateral) supports; elastic (Winkler) foundations.
  • Traffic — influence lines & surfaces; Eurocode EN 1991-2 (LM1–LM4), railway models, Fascicule-61; multi-lane / Courbon transverse distribution.
  • Prestressing & cables — tendons with friction, anchorage-set and relaxation losses; exact-catenary cable elements with form-finding and tension tuning.
  • Construction phasing — staged activation, jacking, hinge placement, grouting; time-dependent creep & shrinkage.
  • Dynamics — modal analysis, buckling, time-history (Newmark / HHT), response spectrum, seismic isolation.
  • Nonlinear — large-displacement (P-Δ / corotational) and material (fiber plasticity).
  • Sections — thin-walled (torsion / shear / warping) and fiber sections.
  • Fire — thermal transient + structural response.
  • Results — query forces and displacements in Python; export to ParaView (VTU / XDMF) or JSON.

License

mendokusai is free for non-commercial use under the PolyForm Noncommercial 1.0.0 license (personal, research, academic, and non-profit use). Commercial use requires a separate license — please contact pavlishenku@gmail.com.

Copyright (c) 2026 Pavlishenku.

Release files for mendokusai 1.2.1

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

Built distributions (wheels)

Table of built distributions (wheels) for mendokusai 1.2.1
File Interpreter ABI Platform
mendokusai-1.2.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
mendokusai-1.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
mendokusai-1.2.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 9.9 MB

Release files / mendokusai-1.2.1-cp39-abi3-win_amd64.whl

Download URL mendokusai-1.2.1-cp39-abi3-win_amd64.whl
Size 3.4 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
77cc7ad2a2b564c8d36cbad5a3a383899ed00b909cdf9c328d13c195733b0195
BLAKE2b-256 checksum
How to use checksums
58a2a954514e9d7c9f6187b078a1f3aec14af2db5dccf42e97295d94b057699f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release files / mendokusai-1.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mendokusai-1.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
7ba6b48667aeac8ae071424b4d5500290ee54228ee87caff427f80c74703d811
BLAKE2b-256 checksum
How to use checksums
d5487bf357517fb4f3674b1b2751d28dda805a4b98fc8266d735eaaec55d99ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release files / mendokusai-1.2.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL mendokusai-1.2.1-cp39-abi3-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7bb14fdd087ad20e12a85a9b7d8bc0732763a1394b15373346312333278545c1
BLAKE2b-256 checksum
How to use checksums
21c07750394874cb5d25a385eee78b3e62a1c4c17041fbe972cb38555874a675
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release history Release notifications | RSS feed

This release

1.2.1 This release

3 release files

1.2.0

3 release files

1.1.0

3 release files

1.0.0

3 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