Skip to main content

Library of exponential cone compatible sizing models

Project description

gpkit-models

CI Status CI Status

This repository contains those GP-/SP-compatible models that we consider well documented and general enough to be useful to multiple projects.

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>, where N is commits since the last tag.
  • With uncommitted local changes: the version always carries a dev/dirty suffix, even if HEAD is itself tagged — so a clean X.Y.Z version 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpkit_models-0.1.8.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpkit_models-0.1.8-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file gpkit_models-0.1.8.tar.gz.

File metadata

  • Download URL: gpkit_models-0.1.8.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for gpkit_models-0.1.8.tar.gz
Algorithm Hash digest
SHA256 d3c5948cf978d51203403ea5e7efc0bef425a97e7fd85494c4d2c1260634be2a
MD5 b4f2336117749e7b6024d370c2124034
BLAKE2b-256 40328e8ba652eb1c6f7c8b1e3ada5c78d9070f85fad95b0324e7e618bdbb2813

See more details on using hashes here.

File details

Details for the file gpkit_models-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: gpkit_models-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for gpkit_models-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f1eb8c5a6023e96927b4c09ac4b4fb5ca793ae67a3854de04df613c67825e033
MD5 a3952007de38d798be3c45c159f3e73d
BLAKE2b-256 46afc4e3ee9fb685e9f449064302258a7427368f93caf9e4a15740efbeac8b19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page