operator-precedence-high-roller


Nameoperator-precedence-high-roller JSON
Version 1.1.4 PyPI version JSON
download
home_pageNone
SummaryA small example package
upload_time2024-08-24 18:24:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Operator Precedence High Roller Package

This is a package for a discord bot. I call it High Roller as a play on its original use for TTRPG rolling, as well as a joking reference to gambling. Also recently I added a !gamble command to make the joke more literal.

How to run -
Enter the main directory in terminal.
python -m operator_precedence_high_roller.high_roller

Commands -

! is the general character to put before a discord message to be read by the bot.

Command => '!' [EXPR]

Command => '!gamble'

Command => [BET]

Command => '!' [RECALL]

EXPR => [EXPR] '+' [EXPR]

EXPR => [EXPR] '-' [EXPR]

EXPR => [EXPR] '\*' [EXPR]

EXPR => [EXPR] '/' [EXPR]

EXPR => '(' [EXPR] ')'

EXPR => [NUM]

EXPR => [ROLL]

ROLL => 'd' [NUM]

ROLL => 'e' [NUM]

NUM => [0..9]+

BET => 'odds'

BET => 'evens'

RECALL => 'h'

RECALL => 'h' '(' [NUM] ',' [ROLL] ')'

Version history -

1.1.2 - everything except RECALL commands works

1.1.3 - now everything works like it should

1.1.4 - small bug-fix

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "operator-precedence-high-roller",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Jade Roberts <jaderobertsg2019@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d4/e0/80db9fb8c8246b1b7856857bad10299339b77bd486e7594f63c2a7f59f9c/operator_precedence_high_roller-1.1.4.tar.gz",
    "platform": null,
    "description": "# Operator Precedence High Roller Package\n\nThis is a package for a discord bot. I call it High Roller as a play on its original use for TTRPG rolling, as well as a joking reference to gambling. Also recently I added a !gamble command to make the joke more literal.\n\nHow to run -\nEnter the main directory in terminal.\npython -m operator_precedence_high_roller.high_roller\n\nCommands -\n\n! is the general character to put before a discord message to be read by the bot.\n\nCommand => '!' [EXPR]\n\nCommand => '!gamble'\n\nCommand => [BET]\n\nCommand => '!' [RECALL]\n\nEXPR => [EXPR] '+' [EXPR]\n\nEXPR => [EXPR] '-' [EXPR]\n\nEXPR => [EXPR] '\\*' [EXPR]\n\nEXPR => [EXPR] '/' [EXPR]\n\nEXPR => '(' [EXPR] ')'\n\nEXPR => [NUM]\n\nEXPR => [ROLL]\n\nROLL => 'd' [NUM]\n\nROLL => 'e' [NUM]\n\nNUM => [0..9]+\n\nBET => 'odds'\n\nBET => 'evens'\n\nRECALL => 'h'\n\nRECALL => 'h' '(' [NUM] ',' [ROLL] ')'\n\nVersion history -\n\n1.1.2 - everything except RECALL commands works\n\n1.1.3 - now everything works like it should\n\n1.1.4 - small bug-fix\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A small example package",
    "version": "1.1.4",
    "project_urls": {
        "Homepage": "https://github.com/carsonrobertsg2019/operator-precedence-high-roller"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02000be8fe2db2508fd557fb380671a5aca08064d2257b5bc04a4a1047f8f73d",
                "md5": "ba4cae88665b013ff58cfb9d7f23352f",
                "sha256": "8cd7130f168b1160b49c9bd7fdffb37d9e3e64b1c57a03b2375dbdacc8ffe73a"
            },
            "downloads": -1,
            "filename": "operator_precedence_high_roller-1.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ba4cae88665b013ff58cfb9d7f23352f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 2500,
            "upload_time": "2024-08-24T18:24:47",
            "upload_time_iso_8601": "2024-08-24T18:24:47.523233Z",
            "url": "https://files.pythonhosted.org/packages/02/00/0be8fe2db2508fd557fb380671a5aca08064d2257b5bc04a4a1047f8f73d/operator_precedence_high_roller-1.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4e080db9fb8c8246b1b7856857bad10299339b77bd486e7594f63c2a7f59f9c",
                "md5": "ac36f98823efe22a95d979e26d5419a2",
                "sha256": "b85b59b01ec57f5e54420452fc350abca6e0260ea9bff3b97ba1fb9607d12c8b"
            },
            "downloads": -1,
            "filename": "operator_precedence_high_roller-1.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "ac36f98823efe22a95d979e26d5419a2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 2804,
            "upload_time": "2024-08-24T18:24:48",
            "upload_time_iso_8601": "2024-08-24T18:24:48.870458Z",
            "url": "https://files.pythonhosted.org/packages/d4/e0/80db9fb8c8246b1b7856857bad10299339b77bd486e7594f63c2a7f59f9c/operator_precedence_high_roller-1.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-24 18:24:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "carsonrobertsg2019",
    "github_project": "operator-precedence-high-roller",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "operator-precedence-high-roller"
}
        
Elapsed time: 0.31802s