gpkit-models
This repository contains those GP-/SP-compatible models that we consider well documented and general enough to be useful to multiple projects.
- Simple models with in-depth explanations (good for learning GPkit)
- SimPleAC: a basic aircraft model that captures the fundamental design tradeoffs
- Economic Order Quantity: tradeoff between setup and holding costs
- Cylindrical Beam Moment of Inertia: GP approximation of cylindrical beam MOI
- Net Present Value: financial tradeoff between cash and equipment
- Raymer Weights: rule-of-thumb weight relations for aircraft design
- GP models
- Aircraft
- Wing Structural and Aero Models
- Empennage: TailBoom, HorizontalTail, and VerticalTail inherit from the Wing model
- Mission: models that unify subsystems and flight profiles
- Fuselage: elliptical and cylindrical fuselage models
- IC Gas Engine Model
- Bending Beam: discretized beam for distributed loads
- Aircraft
- SP models
- Aircraft
- Atmosphere
- Tony Tao's fits as (efficient) signomial equalities. Valid until 10,000m of altitude.
Releasing
Versions are derived automatically from git tags (via hatch-vcs) — there is no
__version__ to hand-edit and no version-bump PR to remember. gpkitmodels.__version__
reflects whatever tag is checked out:
- On a commit exactly at tag
v0.2.0, with no local changes:0.2.0. - On any other commit:
0.2.1.devN+g<hash>, whereNis commits since the last tag. - With uncommitted local changes: the version always carries a dev/dirty suffix, even
if
HEADis itself tagged — so a cleanX.Y.Zversion only ever comes from a committed, exactly-tagged commit.
To cut a release:
make release V=0.2.0
or directly:
gh release create v0.2.0 --generate-notes
Publishing the release triggers .github/workflows/publish.yml, which builds the
package (version read straight from the new tag) and uploads it to PyPI.
Use plain vMAJOR.MINOR.PATCH tags. Bump PATCH for fixes, MINOR for backwards-compatible
additions, MAJOR for breaking changes.
Metadata
Release files for gpkit-models 0.3.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 |
|---|---|---|---|---|
| gpkit_models-0.3.0.tar.gz | 1.8 MB | Without provenance | Details for gpkit_models-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gpkit_models-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for gpkit_models-0.3.0-py3-none-any.whl |
Total release size: 3.6 MB
Release files / gpkit_models-0.3.0.tar.gz
| Download URL | gpkit_models-0.3.0.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40baf98e02255d09c9f84dbb350ebfaafee9b0d3a96c788442cd89d38d75888e
|
|
BLAKE2b-256 checksum How to use checksums |
6229b5512acab1ee3937a7108ef69e1e92d7e730ab14385dfa508bf734bfc5a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / gpkit_models-0.3.0-py3-none-any.whl
| Download URL | gpkit_models-0.3.0-py3-none-any.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
657c168e4830490addb785d3336f32b856b0ba8b78fdf8c3bf785614b236b280
|
|
BLAKE2b-256 checksum How to use checksums |
93675cad25944bc36e9b1d53e315511d49d1128bd90e4ae42f95ff110a876d89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Security for gpkit-models 0.3.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.