Skip to main content

E6B

Simple python project to perform E6B flight calculations

Installation

$ pip install e6b

Usage

Calculate required flight bearing and final ground speed

from e6b import e6b

windSpeed = 10
windBearing = 90
trueAirSpeed = 15
desiredBearing = 180

correctedBearing,correction = e6b.getCorrectedBearing(windSpeed,windBearing,trueAirSpeed,desiredBearing)
groundSpeed = e6b.getGroundSpeed(windSpeed,windBearing,trueAirSpeed,desiredBearing,correction)

print(correctedBearing)
>>  138.18968510422138
print(groundSpeed)
>>  11.180339887498947

Using radians instead of degrees

from e6b import e6b

windSpeed = 10
windBearing = 1.5708
trueAirSpeed = 15
desiredBearing = 3.14159

correctedBearing,correction = e6b.getCorrectedBearing(windSpeed,windBearing,trueAirSpeed,desiredBearing,True)
groundSpeed = e6b.getGroundSpeed(windSpeed,windBearing,trueAirSpeed,desiredBearing,correction,True)

print(correctedBearing)
>>  2.4118623437909346
print(groundSpeed)
>>  11.180276619728994

Metadata

Release files for e6b 0.0.1

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

Source distribution (sdist)

Source distribution for e6b 0.0.1
File Size Uploaded Provenance Actions
e6b-0.0.1.tar.gz 1.4 kB Without provenance Details for e6b-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 3.7 kB

Release files / e6b-0.0.1.tar.gz

Download URL e6b-0.0.1.tar.gz
Size 1.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ac8551daedd5f290e68bbc8c791b985126ba60bcadd9c90f76dfa644c8e2f4d7
BLAKE2b-256 checksum
How to use checksums
4cbe3422fd55f147637a18579d5ce60850ca93b2745342b4687fba5c76c2db69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

Release files / e6b-0.0.1-py3-none-any.whl

Download URL e6b-0.0.1-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c40a9d7d3df2db734a64e53d8c9b2c480ad2b1e59a2d4f904d1f4cb43ed29be
BLAKE2b-256 checksum
How to use checksums
a6e90986eb35bff66d4100be09ec49fb0cb3eb7bd07591b53e439131801e8527
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

Security for e6b 0.0.1

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.0.1 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