Skip to main content

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, Chamber ✅
AmbientConditions (float or rocketpy.Environment) ✅
SolidMotor.simulate(), 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

MIT

Metadata

Release files for propulpy 0.1.0

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

Source distribution (sdist)

Source distribution for propulpy 0.1.0
File Size Uploaded Provenance Actions
propulpy-0.1.0.tar.gz 184.8 kB Without provenance Details for propulpy-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for propulpy 0.1.0
File Interpreter ABI Platform Actions
propulpy-0.1.0-py3-none-any.whl Python 3 none any Details for propulpy-0.1.0-py3-none-any.whl

Total release size: 231.9 kB

Release files / propulpy-0.1.0.tar.gz

Download URL propulpy-0.1.0.tar.gz
Size 184.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1882f75746f5cece3deefebdbce43bffab484512fceae15358587739d48b253e
BLAKE2b-256 checksum
How to use checksums
4f29924a81811b445ca76c1309df05cbe01bc97094f60c7ac485b8b7af6cf860
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.1.0-py3-none-any.whl

Download URL propulpy-0.1.0-py3-none-any.whl
Size 47.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbdaf3b759c7f430fc5c3896bbdecbfa6b6b08363478bd90b6ab321667d0bf05
BLAKE2b-256 checksum
How to use checksums
0209967b35e7e5872b5b6fc3507198099d456807a917edcce066adbd0fbd4807
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.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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