PropulPy
Rocket motor design and inverse design, built to complement RocketPy.
Diseño y diseño inverso de motores cohete, como complemento de RocketPy.
RocketPy answers "how does this rocket fly with this motor?". PropulPy answers the inverse question: "which motor — with exact dimensions — do I need to meet my goals?"
| Layer | What it does |
|---|---|
| Forward model | Design (propellant, grains, nozzle, chamber) → F(t), Pc(t), ṁ(t), m(t), ready for RocketPy |
| Inverse design | Objectives + constraints (apogee, impulse, Isp, exit pressure, thrust profile, manufacturing limits) → grain, nozzle and chamber geometry |
Ambient conditions come from a rocketpy.Environment, so motors can be
evaluated at any launch site and date.
⚠️ Pre-alpha. Foundations only (v0.1 in progress). APIs will change.
Status
| Module | State |
|---|---|
nozzle.isentropic, ConicalNozzle |
✅ |
Propellant, SaintRobert, PiecewiseSaintRobert, KNSB |
✅ |
grains.BATES, EndBurner, Finocyl, Star, Chamber |
✅ |
AmbientConditions (float or rocketpy.Environment) |
✅ |
SolidMotor.simulate(), SolidMotor.from_ric(), MotorResults, to_rocketpy(), .eng/.ric/.csv export |
✅ |
analysis.checks (check_motor_design, safety audit) |
✅ |
design.nozzle (dimension_nozzle, trajectory optimization) |
✅ |
flight & design.mission (MotorRequirements, RocketPy apogee check, find_grain_length_for_apogee) |
✅ |
cad (MotorGeometryBuilder, parametric 3D STEP AP214 & STL export via CadQuery) |
✅ |
Quick start
git clone https://github.com/UltraLuminics/PropulPy.git
cd PropulPy
pip install -e ".[dev]"
pytest
from propulpy import BATES, KNSB, AmbientConditions
from propulpy.nozzle import ConicalNozzle
prop = KNSB(cstar_efficiency=0.95)
grain = BATES(diameter=38e-3, core_diameter=12.5e-3, length=62e-3)
nozzle = ConicalNozzle(throat_diameter=5.88e-3, exit_diameter=13.8e-3, efficiency=0.90)
kn = 2 * grain.burn_area(0.0) / nozzle.throat_area
pc = prop.equilibrium_pressure(kn)
pa = AmbientConditions(101325.0).ground_pressure
print(f"Kn = {kn:.1f}, Pc = {pc/1e5:.1f} bar, F = {nozzle.thrust(prop.k, pc, pa):.1f} N")
Units
SI everywhere internally (m, Pa, kg, s). Helpers in propulpy.units convert at the boundaries.
Contributing
See CONTRIBUTING.md. Developed by UltraLuminics, Universidad Nacional de Colombia, inspired by the work of Projeto Jupiter (USP) on RocketPy.
License
Metadata
Release files for propulpy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| propulpy-0.2.0.tar.gz | 189.4 kB | Without provenance | Details for propulpy-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| propulpy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for propulpy-0.2.0-py3-none-any.whl |
Total release size: 241.4 kB
Release files / propulpy-0.2.0.tar.gz
| Download URL | propulpy-0.2.0.tar.gz |
|---|---|
| Size | 189.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86b8d5b37e9225c242c636e403f08a6778b0ee49bf6237be7af48d6bd042bddd
|
|
BLAKE2b-256 checksum How to use checksums |
ff8c4694394a7eb25bd097fd4905aaabaf486e2c156fc1491491d1c2cac003a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / propulpy-0.2.0-py3-none-any.whl
| Download URL | propulpy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 52.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66c3f3d5208e0746ca05171768bb39594559a7c89c7ef4d1e21cab1167b0ea5c
|
|
BLAKE2b-256 checksum How to use checksums |
8cfd088716699073c547b873a073858d7c1e9c2af36ce0f23ab59383e9608f05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for propulpy 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.