Skip to main content

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

Project description

Ringing Room Bot

A bot for Ringing Room that can fill in any set of bells to increase the scope of potential practices.

This bot is designed to be a 'ninja helper with no ego'.

It will ring all unassigned bells perfectly whilst fitting into whatever you are doing, adjusting to your changes in rhythm. It will never try to take control of the ringing by giving instructions or powering on with a different rhythm to everyone else (unless you tell it to). However, by default it will adjust only to changes to overall rhythm - it will ignore individual bells holding up and ring in the 'right' place regardless.

Only one ringer needs to run the command and it will ring with you after anyone calls Look to in Ringing Room. It will understand 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 it doesn't interact with a browser to talk to Ringing Room

Contributing

Contributions are very welcome! See here for guidance.

Quickstart

Installation (using Pip)

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

    pip3 install --upgrade rr-bot
    

    (use pip install --upgrade rr-bot on Windows).

  2. Pick an example below to run the bot!

Examples

Run the bot with rr-bot [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):

    rr-bot [ID NUMBER] --method "Plain Bob Major"
    
  • Make the bot ring 'up, down and in' rather than waiting for 'go':

    rr-bot --up-down-in --id [ID NUMBER] --method "Plain Bob Major"
    # or
    rr-bot [ID NUMBER] -u --method "Plain Bob Major"
    
  • Make the bot ring full handbell style, i.e. 'up, down and in' and standing at rounds (-H is equivalent to -us):

    rr-bot [ID NUMBER] --up-down-in --stop-at-rounds --method "Plain Bob Major"
    # or
    rr-bot [ID NUMBER] -us --method "Plain Bob Major"
    # or
    rr-bot [ID NUMBER] -H --method "Plain Bob Major"
    
  • Join a server other than ringingroom.com:

    rr-bot [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:

    rr-bot [ID NUMBER] --comp 65034
    
  • Make the bot wait for people to ring rather than pushing on with the rhythm:

    rr-bot [ID NUMBER] --method "Plain Bob Major" --wait
    
  • Make the bot completely ignore other users' changes in rhythm (useful if it's ringing most of the bells and you don't want it to randomly change speed when you make mistakes):

    rr-bot [ID NUMBER] --method "Plain Bob Major" --inertia 1.0
    # or
    rr-bot [ID NUMBER] --method "Plain Bob Major" -i 1.0
    
  • Print a nice help string:

    rr-bot --help
    # or
    rr-bot -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

rr-bot-0.1.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

rr_bot-0.1.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file rr-bot-0.1.0.tar.gz.

File metadata

  • Download URL: rr-bot-0.1.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for rr-bot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b76fa14a333406528f3f9494f2b2ed89c10c337cadf8d3d782f2cfb399a7e3e1
MD5 28721b0e90dc8e5ecf1219a81728f6fe
BLAKE2b-256 3450c58aa9c61cade5f42eb6635ab2b44e1e19d96047ec655719b028782dde5d

See more details on using hashes here.

File details

Details for the file rr_bot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rr_bot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.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/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for rr_bot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f1f6370ee65e5f1454793f0f9040425da95d3df1061d9cde92756ed51db5d95
MD5 9d37575582a58a4eac92a7ab3f3d8232
BLAKE2b-256 c3431cd25d9779eace9edda401bfe46a9479a57232bf1e213e08e4d2847bc9d3

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