Skip to main content

A minimal CLI to keep you inspired during your workout!

Project description

PyWorkout
PyWorkout

A minimal CLI to keep you inspired during your workout!

Docker Build State PyPI Build State Pylint State CodeQL State GitHub Version GitHub Issues GitHub Pull Requests Discord Server ID Downloads GitHub Languages

Key FeaturesDownloadHow To UseSupportContributingChangelogCredits & Contributors

screenshot

Key Features

  • Easy to run and understand with simple commands.
  • Large list of muscle groups and workout activities.
  • Automatic workout selection by day.
  • Time and percentage complete indicators.
  • Step by step guide through a workout program.
  • Statistics view.
  • Can skip unlikeable workouts.
  • Able to customize number of workouts, muscle groups, type of workout and more.
  • Cross platform.

Download

You can download the source code to run the scripts from the command line on Windows, macOS and Linux. This will require Python.

You can download the latest executable version of PyWorkout for Windows. This does not require Python.

How To Use

To run the application, you can use Git and the Python Interpreter, which allows you to clone and run the application, pip to create a command line application, or Docker to create a container of the application.

Git

To clone and run this application, you'll need Git and Python installed on your computer. If you would rather not use Git, you can just download the script from GitHub above. From your command line:

# Clone this repository
$ git clone https://github.com/Dog-Face-Development/PyWorkout

# Go into the repository
$ cd PyWorkout

# Run the CLI
$ python main.py

pip

You can install the program from the Python Package Index through pip.

# Install via pip
$ pip install pyworkout

# Run the CLI
$ pyworkout

Docker

You can pull the Docker image from GitHub Packages. From your command line:

# Pull image
$ docker pull ghcr.io/dog-face-development/pyworkout:main

# Run container
$ docker run -i -t ghcr.io/dog-face-development/pyworkout:main python main.py

Support

The following commands are available (can be generated by using the help command):

list    Lists the workout activities by muscle group.
start   Starts the workout and displays the first workout activity.
next    Moves to the next workout activity.
skip    Skips the current workout activity.
end     Completes the workout and display full workout statistics.
stats   Shows workout statistics at any point (does not work with the `skip` command).
video   Opens the workout video assigned to each muscle group.
license Shows the license.
help    Prints this help text.
quit    Ends the program.

Note: the skip command cannot be used in conjunction with the stats command.

To use the video command, you must change the video variables. To do so:

  1. Open main.py in a text editor.
  2. Change the Video File Paths variables to the absolute path for each video by muscle group (double slashes (\\) are only necessary on Windows).
# Video File Paths
abs_video = "D:\\Videos\\Workout Videos\\10 Minute Ab Workout.mp4" # change these to personal video path
  1. Running the video command will now include your local workout videos.

Customizing the list of workouts, workout activities and number of activities can be found in CUSTOMIZATION.md. More documentation is available in the Documentation and on the Wiki. If more support is required, please open a GitHub Discussion or join our Discord.

Contributing

Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.

Please read CONTRIBUTING for details on our CODE OF CONDUCT, and the process for submitting pull requests to us (including how to sign our CLA).

Changelog

See the CHANGELOG file for details.

Credits

This software uses the following open source packages, projects, services or websites:

GitHub PSF PyInstaller Carbon
GitHub Python Software Foundation PyInstaller Carbon
Web - Plans Web - Donate Web - Donate Web

Contributors

You may also like...

  • ProgramVer - An open-source, Python GUI version window to show copyright info and licenses.
  • Periodic Table Info - Print all the elements in the Periodic Table of the Elements, with an interactive prompt to learn more.
  • PyAvatar - Easily display all of your creative avatars to keep them consistent across websites.

License

This project is licensed under the GNU General Public License - see the LICENSE file for details. See the Privacy Policy, Terms and Conditions, and EULA for legal information.

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

PyWorkout-1.2.0.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

PyWorkout-1.2.0-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file PyWorkout-1.2.0.tar.gz.

File metadata

  • Download URL: PyWorkout-1.2.0.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for PyWorkout-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8c2dbe275f7ff112226506d9205ac35cb9d5d5655fa4b7c93a8127516743271c
MD5 1b16fa5cbad0ae9025f81b7deac8db50
BLAKE2b-256 22560d1447c54aefed00e06cc2f7732c35275aa7305c61de535053286334393f

See more details on using hashes here.

File details

Details for the file PyWorkout-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: PyWorkout-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 31.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for PyWorkout-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ad6826f3584eb8677c97ef787ff82b3cae6d8385457f60855bc7748797f8be7
MD5 eb82255a55bde8e763b4330999b636de
BLAKE2b-256 5721db7b9c57b90da65197ae17d898e1956c350fd8b95376f7cbc523dca22f69

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