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 cli-gms

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-2.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-2.0.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gms_cli-2.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-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7aac4c5af30cffd497cdec2ec54682edd2653dfb95815129e113e84ea4644a8f
MD5 fe90591a625c17acdec0f12829fb250d
BLAKE2b-256 1b11eafc52246124d9f4098384f659cc4b3e4862cefb3820d13c2370a8205b4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gms_cli-2.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-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c16359c590d2933a8adfa704624c29f93d1e296e98187da60793cc9be5fea5e
MD5 adf9dd25d1b97fb6a87d3e33977404db
BLAKE2b-256 563a249e314dd6b5205db90e51eb89ec32d85f8a64b32236eca16d9bc6fd544f

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