A program that will ring any set of bells in Ringing Room.
Project description
Wheatley
A bot for Ringing Room that can fill in any set of bells to increase the scope of potential practices.
Wheatley is designed to be a 'ninja helper with no ego'.
He'll ring all unassigned bells perfectly whilst fitting in with whatever you are doing, adjusting to your changes in rhythm. He'll also never try to take control of the ringing by giving instructions or powering on with a different rhythm to everyone else (unless you tell him to). However, by default he'll adjust only to changes to overall rhythm – ignoring individual bells holding up and ringing in the 'right' place regardless.
Only one ringer needs to run the command and Wheatley will ring with you after anyone calls
Look to
in Ringing Room.
He understands all Ringing Room calls – Go
, Look to
, That's all
and Stand next
will
take effect the handstroke after they are called, and Bob
and Single
will result in 14
and
1234
lead end calls.
Notable features
- Configurable rhythm detection that updates in real time
- Automatic correction for Ringing Room using multiple server URLs for load balancing
- Very light resource footprint, as Wheatley doesn't interact with a browser to communicate with Ringing Room
Contributing
Contributions are very welcome! See here for guidance.
If you have any issues/suggestions, either make an issue, or drop me a message on Facebook.
Quickstart
Installation (using Pip)
-
Run the following command to install or update to the latest version of Wheatley:
pip install --upgrade wheatley
-
Pick an example below to run Wheatley!
Examples
Run the bot with wheatley [ARGS]
.
-
Join a
ringingroom.com
tower with (9 digit) ID[ID NUMBER]
and ring Plain Bob Major (tower bell style – wait forGo
andThat's all
):wheatley [ID NUMBER] --method "Plain Bob Major"
-
Ring 'up, down and in' rather than waiting for 'go':
wheatley --up-down-in --id [ID NUMBER] --method "Plain Bob Major" # or wheatley [ID NUMBER] -u --method "Plain Bob Major"
-
Ring full handbell style, i.e. 'up, down and in' and standing at rounds (
-H
is equivalent to-us
):wheatley [ID NUMBER] --up-down-in --stop-at-rounds --method "Plain Bob Major" # or wheatley [ID NUMBER] -us --method "Plain Bob Major" # or wheatley [ID NUMBER] -H --method "Plain Bob Major"
-
Join a server other than
ringingroom.com
:wheatley [ID NUMBER] --url otherserver.com --method [METHOD TITLE]
-
Ring rows taken from a (public) composition from complib.org, in this case https://complib.org/composition/65034:
wheatley [ID NUMBER] --comp 65034
-
Ring at a peal speed of 3 hours 30 minutes (i.e. quite slowly):
wheatley [ID NUMBER] --peal-speed 3h30 # or wheatley [ID NUMBER] -S 3h30
-
Wait for people to ring rather than pushing on with the rhythm:
wheatley [ID NUMBER] --method "Plain Bob Major" --wait
-
Completely ignore other users' changes in rhythm (useful if it's ringing most of the bells and you don't want him to randomly change speed when you make mistakes):
wheatley [ID NUMBER] --method "Plain Bob Major" --inertia 1.0 # or wheatley [ID NUMBER] --method "Plain Bob Major" -I 1.0
-
Print a nice help string:
wheatley --help # or wheatley -h
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wheatley-0.2.0.tar.gz
.
File metadata
- Download URL: wheatley-0.2.0.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79a5e28e86460639e7b1cc9ffb34590ca9f6490cb866473f651aec8902aca3e4 |
|
MD5 | 37502975b8002c03569aa7bab9720a60 |
|
BLAKE2b-256 | 8db033cf92c5e5e15ac26b3af114ddb79a9aca9dec312ed7ccbbf3970dc81089 |
File details
Details for the file wheatley-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: wheatley-0.2.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b00c8cadaad740cdb4f23369d6b1e49c19484cc56c19aee04c44ed80064a24a |
|
MD5 | b30ec698998a3a6e52e9420167900984 |
|
BLAKE2b-256 | 6382757cee9438374b5dbbf81f01f3c78c3c217d6317a9fd69765cfa9933570b |