geoffreynyaga / aerocalc

aerocalc that supports python3

Home Page:https://aerocalc3.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to aerocalc3 โœˆ๏ธ๐Ÿงฎ documentation

Netlify Status

aerocalc3 Aeronautical Engineering Calculations

aerocalc3 is a python utility package that performs various aeronautical engineering calculations.

Currently it provides:

  • airspeed conversions,
  • static source error correction calculations
  • standard atmosphere calculations and
  • unit conversions.

Full Documentation

GitHub Pages

Table of Contents

Airspeed Conversions Docs โ†—๏ธ

Default Values Docs โ†—๏ธ

Physical Properties (density, pressure etc) Conversion Docs โ†—๏ธ

Original aerocalc:

For original documentation visit kilohotel

Installation ๐Ÿ“ฅ

pip install aerocalc3==0.10

Alternatively:

Download the files https://github.com/geoffreynyaga/aerocalc/archive/v_01.tar.gz, decompress it and use setup.py to install.

wget https://github.com/geoffreynyaga/aerocalc/archive/v_01.tar.gz

tar xf v0.11-py3.tar.gz

cd aerocalc-0.11-py3

python setup.py install

Project layout

    .
    โ”œโ”€โ”€ aerocalc # Source code folder.
    โ”‚   โ””โ”€โ”€ tests
    โ”œโ”€โ”€ docs # The documentation directory.
    โ”œโ”€โ”€ htmlcov # Test coverage folder.
    โ”œโ”€โ”€ site # Documentation build for deployment.
    โ”‚   โ”œโ”€โ”€ about
    โ”‚   โ”œโ”€โ”€ css
    โ”‚   โ”œโ”€โ”€ fonts
    โ”‚   โ”œโ”€โ”€ img
    โ”‚   โ”œโ”€โ”€ js
    โ”‚   โ””โ”€โ”€ search
    โ””โ”€โ”€ venv # Your generated virtual environment.

Testing ๐Ÿงช๐Ÿงช

The projects uses pytest and black as the formatting option. The tests also check for consistencies on code format.

To initiate tests follow the steps below:

  1. Its advised to create a virtual environment
virtualenv venv
  1. Activate the environent. For Linux/MacOS users use the command below
source venv/bin/activate

for windows users

cd venv/Scripts

activate.bat
  1. Install the requirements
pip install -r requirements.txt
  1. Run the pytest command
pytest

The testing results will be displayed and there will also be a htmlcov folder generated inside the project that will contain the code coverage details.

โ”œโ”€โ”€ aerocalc3
โ”‚   โ”œโ”€โ”€ __pycache__
โ”‚   โ””โ”€โ”€ test
โ”œโ”€โ”€  htmlcov
โ””โ”€โ”€ venv

Open up the folder and open the index.html in your browser to see this information.

About

aerocalc that supports python3

https://aerocalc3.netlify.com

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 46.3%Language:JavaScript 26.4%Language:HTML 25.8%Language:CSS 1.5%