Skip to main content

A small meditation timer for vipassana

Project description

vipassana-timer

Meditation timer for vipassana (insight meditation) with different postures.

For context - this package was originally created to work with Yuttadhammo Bhikkhu's online meditation style, which includes (optional) prostration at the beginning of the meditation, then walking meditation and then sitting. If you just want to do 'normal' sitting practice, you can still use this package, just type 's' followed by the minutes you want to do. Also, you can add your own 'postures' if you want multiple bells in the sitting session - see below.

Requirements

  • playsound

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

Uploaded Source

Built Distribution

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

vipassana_timer-1.1-py3-none-any.whl (737.6 kB view details)

Uploaded Python 3

File details

Details for the file vipassana-timer-1.1.tar.gz.

File metadata

  • Download URL: vipassana-timer-1.1.tar.gz
  • Upload date:
  • Size: 739.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for vipassana-timer-1.1.tar.gz
Algorithm Hash digest
SHA256 0fd9039a768f9072f9a6331e48bf2293b8e2cee4ee74ec5ab2a20220edb4c5c0
MD5 9ef76197576459b525962ba53fdf413e
BLAKE2b-256 7f258bb2f412eaf0d8b1a5ac783999356fa817e85310baa56b63bced1dc87a1d

See more details on using hashes here.

File details

Details for the file vipassana_timer-1.1-py3-none-any.whl.

File metadata

  • Download URL: vipassana_timer-1.1-py3-none-any.whl
  • Upload date:
  • Size: 737.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for vipassana_timer-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb4ece038dd42fe240f66e1403f261238ff6ebe8a956bbe131d865ec704b520c
MD5 93f8c444333f692c105b45d8e97c3850
BLAKE2b-256 e667b535d5d204a75cc9972d86d9d8080756cf493ae27b61730131eb86053462

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