Skip to main content

cli-gms is a command-line gym management system (GMS) application. It provides a user-friendly interface for managing members, their plans, packages, and payments. The application also allows you to view member details, payment history, and plan details. The CLI application is built using Python and leverages the Click library for command-line interface functionality. It stores data in a MySQL database and uses the Rich library for enhanced user interface experience.

Project description

GMS (Gym Management System)

A Command-Line Interface (CLI) Application for Managing Gym Members and thier Plans

Overview

cli-gms is a command-line gym management system (GMS) application. It provides a user-friendly interface for managing members, their plans, packages, and payments. The application also allows you to view member details, payment history, and plan details.

The CLI application is built using Python and leverages the Click library for command-line interface functionality. It stores data in a MySQL database and uses the Rich library for enhanced user interface experience.

Features

  • Manage members and packages: add, modify, delete
  • Manage member plans: create, renew, remove, make payment
  • View member details, payment history, and plan details
  • Store data in a MySQL database
  • Enhanced user interface experience using Rich library

Compatibility

cli-gms runs on Linux, macOS, and Windows. Spotidex requires Python 3.9.5 or above.

Installation

Install GMS via pipx:

pipx install gms-cli

if you dont have pipx installed then install via:

pip install pipx

Usage

To use GMS, run the following command:

gms <command> [options]

Demo

https://github.com/user-attachments/assets/91cfdb71-384e-42e0-820e-03dc6344e327

Available Commands

  • gms view-members: View gym members

  • gms view-member_plan <member_id>: View a member's plan

  • gms manage-members: Manage gym members

    • add : Add a new member

    • modify: Modify an existing member

    • delete: Delete a member

  • gms manage-member-plan <member_id>: Manage a member's plan

    • create : Create a new plan for the member

    • renew : Renew the member's existing plan

    • remove : Remove the member's plan

    • make payment: Make a payment for the member's plan

  • gms view-packages: View packages

  • gms manage-packages: Manage packages

    • add : Add a new package

    • modify: Modify an existing package

    • delete: Delete a package

  • gms view-payment-history: View payment history

  • gms reset_database: Reset the database

License

GMS is licensed under the MIT License.

Author

Libin Lalu libinlalu000@gmail.com

Acknowledgments

  • Click library for command-line interface functionality
  • Rich library for enhanced user interface experience
  • MySQL database for storing data
  • mysql-connector-python library for connecting to MySQL database
  • keyring library for storing sensitive data
  • questionary library for prompting user input

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

gms_cli-3.0.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

gms_cli-3.0.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file gms_cli-3.0.0.tar.gz.

File metadata

  • Download URL: gms_cli-3.0.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.4 Windows/11

File hashes

Hashes for gms_cli-3.0.0.tar.gz
Algorithm Hash digest
SHA256 1e6971b8206e2e74f27f71e895ec8eaac2535b88b98e022dacd0cb50215c4c64
MD5 8841af94f2cd18eabc0c82ff3da9eb3f
BLAKE2b-256 ff085f22f4a1c3b16e2739e01a8b1db1434af15627cfb4e2a9f5f6010a5b4304

See more details on using hashes here.

File details

Details for the file gms_cli-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: gms_cli-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.4 Windows/11

File hashes

Hashes for gms_cli-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a34dba95fda6e2c4fb7c24dfff6142e5bda20d024df473a56d7f10b76e4e9bd8
MD5 208dca926f0bf664701d04e24a0db6d3
BLAKE2b-256 2b4b6cd05531546cb6be5a1b117578f7037f1eabefe4ba44b94d8d448d1da9d8

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