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.7.0.tar.gz (398.6 kB view details)

Uploaded Source

Built Distribution

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

viking_log_keeper-2.7.0-py3-none-any.whl (391.1 kB view details)

Uploaded Python 3

File details

Details for the file viking_log_keeper-2.7.0.tar.gz.

File metadata

  • Download URL: viking_log_keeper-2.7.0.tar.gz
  • Upload date:
  • Size: 398.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for viking_log_keeper-2.7.0.tar.gz
Algorithm Hash digest
SHA256 ac2f8f4b1eb97500af9243d06cff5541b123236160bd760fd916fc3f0431a35f
MD5 18f9dd4918201aa4104f5869f03eb686
BLAKE2b-256 88883c4c3adb73a439cea522631473b950411e4ef64a56892ef6d47b32e37b7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for viking_log_keeper-2.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f905ebfdc92807514a8f175850a99fd4c5907c0fb8a28544255b1f08d373238f
MD5 8f8fee4469bce15bda9d1fef9c71c2f2
BLAKE2b-256 c73e4e9b6a6ccc8c54cbc67add2f3cc45b6e3f8b0bed2cbcf8f50905df1c7470

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