Skip to main content

A small meditation timer for vipassana

Project description

vipassana-timer

Meditation timer for vipassana (insight meditation) with different postures

Requirements

  • simpleaudio

Installation

pip install vipassana-timer

or

git clone https://github.com/toxicologist/vipassana-timer
cd vipassana-timer
python setup.py install

Usage

>meditate -h
usage: meditate [-h] [times]

Simple vipassana meditation timer

positional arguments:
  times                 Times for each meditation posture (format: 'p5w30s30')

optional arguments:
  -h, --help            show this help message and exit

The script takes inputs for the three postures: prostration, walking, and sitting - represented by the letters 'p', 'w', 's', each followed by the desired time, in minutes.

For example, if one wanted to do 10 minutes walking and 10 sitting:

# example usage
>meditate w10s10

#or
>meditate
Enter times (format: 'p5w30s30'): w10s10

#result

Times:
Walking: 10
Sitting: 10

Walking: 10:00 remaining

Or, to do 35 minutes of sitting:

>meditate s35

Times:
Sitting: 35

Sitting: 35:00 remaining

If you want to add your own posture, just edit the POSTURES variable in __init__.py.

Good luck meditating! :)

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

vipassana-timer-1.0.3.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

vipassana_timer-1.0.3.1-py3-none-any.whl (737.2 kB view hashes)

Uploaded Python 3

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