Skip to main content

661 VGS - Package to collate 2965D log sheets into a master log, database, and dashboard.

Project description

Log Keeper

661 VGS - All-in-one log keeper for the Viking fleet. Records launches from 2965D log sheets, uploads to MongoDB Atlas, and provides a web interface for viewing statistics.

image

Contents

  1. Installation
  2. Usage
  3. Contribution
  4. Testing
  5. Support
  6. License

Installation

  1. Sync your squadron sharepoint using OneDrive:

    image

  2. Create a directory on your sharepoint to store the log sheets e.g. Log Sheets.

  3. Save the 2965D_YYMMDD_ZEXXX.xlsx template (See docs/) into the Log Sheets directory.

    image

  4. Get started with creating some log sheets to test it out. Note, you will need to update the hidden INPUT_DATA sheet to add your aircraft and pilots:

    image

  5. Sign up to MongoDB Atlas. Contact the project owner for access to the database.

Usage

Normal Usage

  1. Login to the dashboard:

    Dashboard login

  2. Upload your completed log sheets. Note, the re-uploading log sheets will overwrite the existing data:

    Upload page

Python Dashboard

  1. The log keeper comes with a python dashboard for viewing statistics. To run the dashboard, setup the secrets. NOTE, you must have a MongoDB Atlas account and access to the database (get this from the project owner).:

    echo "MONGO_URI=<YOUR_MONGO_URI>" > .streamlit/secrets.toml
    
  2. run the following command:

    viking-dashboard
    

    image

Contribution

image

Testing

To run the tests, run the following commands:

playwright install
python -m pytest

Support

For questions and assistance, consider raising an issue on the issue tracker. All other queries can be directed to mjennings061@gmail.com

License

The project is licensed under the MIT License.

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

viking-log-keeper-2.2.0.tar.gz (90.6 kB view details)

Uploaded Source

Built Distribution

viking_log_keeper-2.2.0-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

Details for the file viking-log-keeper-2.2.0.tar.gz.

File metadata

  • Download URL: viking-log-keeper-2.2.0.tar.gz
  • Upload date:
  • Size: 90.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for viking-log-keeper-2.2.0.tar.gz
Algorithm Hash digest
SHA256 1521e0aac89a9e0b47faeabf25b04729ec292125aa4c8b4a838aa5dd002e15d4
MD5 456be99567e30645585cf19395eaae51
BLAKE2b-256 9facb54ceec4505ff1bbc88fc15b69f595dc9dd52b1bf1f0674d8e25108f3113

See more details on using hashes here.

File details

Details for the file viking_log_keeper-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for viking_log_keeper-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1622769a19dee960eb8b820313a49585d98bc237d43883029ef2dc18c1cb6851
MD5 723485367b1495601aea3920da872de2
BLAKE2b-256 e18cdbed44d0ed86108ff2b098e0065f1edc88591ff742d81e3fd8e9ea806480

See more details on using hashes here.

Supported by

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