Skip to main content

A program that will ring any set of bells in Ringing Room.

Project description

Wheatley

PyPI version Tests and Linting

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).

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 (unless otherwise specified).

Notable features

  • Configurable rhythm detection that updates in real time
  • Holding up over people when they hesitate
  • 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)

  1. Run the following command to install or update to the latest version of Wheatley:

    pip install --upgrade wheatley
    
  2. 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 for Go and That's all):

    wheatley [ID NUMBER] --method "Plain Bob Major"
    
  • Ring 'up, down and in' rather than waiting for 'go':

    wheatley [ID NUMBER] --use-up-down-in --method [METHOD TITLE]
    # or
    wheatley [ID NUMBER] -u --method [METHOD TITLE]
    
  • Ring full handbell style, i.e. 'up, down and in' and standing at rounds (-H is equivalent to -us):

    wheatley [ID NUMBER] --use-up-down-in --stop-at-rounds --method [METHOD TITLE]
    # or
    wheatley [ID NUMBER] -us --method [METHOD TITLE]
    # or
    wheatley [ID NUMBER] -H --method [METHOD TITLE]
    
  • Join a server other than ringingroom.com:

    wheatley [ID NUMBER] --url otherwebsite.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] --method [METHOD TITLE] --peal-speed 3h30
    # or
    wheatley [ID NUMBER] --method [METHOD TITLE] -S 3h30
    
  • Make Wheatley push on with the rhythm rather than waiting for people to ring.

    wheatley [ID NUMBER] --method [METHOD TITLE] --keep-going
    # or
    wheatley [ID NUMBER] --method [METHOD TITLE] -k
    
  • Completely ignore other users' changes in rhythm (useful if he's ringing most of the bells and you don't want him to randomly change speed when you make mistakes):

    wheatley [ID NUMBER] --method [METHOD TITLE] --inertia 1.0
    # or
    wheatley [ID NUMBER] --method [METHOD TITLE] -I 1.0
    
  • Print a nice help string:

    wheatley --help
    # or
    wheatley -h
    

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

wheatley-0.4.0.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

wheatley-0.4.0-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file wheatley-0.4.0.tar.gz.

File metadata

  • Download URL: wheatley-0.4.0.tar.gz
  • Upload date:
  • Size: 32.7 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.50.0 CPython/3.8.5

File hashes

Hashes for wheatley-0.4.0.tar.gz
Algorithm Hash digest
SHA256 03540d686c7421fc16c09109ef0116d248227d9018297c3fea994ac8a5aa7623
MD5 e428948cbab5113822821e05256bb37c
BLAKE2b-256 f91128fc63067798d936eb074dafa8daee05f8fdbf980ef361defd1010703a0f

See more details on using hashes here.

File details

Details for the file wheatley-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: wheatley-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 41.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.50.0 CPython/3.8.5

File hashes

Hashes for wheatley-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 643e96bb23b8fa0b974c604ae2fa95946ee14af0a47444adc9a2f6953bd44640
MD5 ce3c6cda42cc7ebb020c136eb9c3b2f9
BLAKE2b-256 d6abeceb204d8adefeac6768dcc6eee462a1352c92f3fe36422b00330223a709

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