rulesheet


Namerulesheet JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/officeofperformancemanagement/rulesheet
SummaryConvert Business Rules defined in a Google Sheet or CSV to Python
upload_time2024-07-17 01:18:17
maintainerNone
docs_urlNone
authorDaniel J. Dufour
requires_pythonNone
licenseNone
keywords business data python rules
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rulesheet (work in progress)
> Convert Business Rules defined in a Google Sheet or CSV to Python

## usage
Define business rules in a CSV.  See an example of a csv [here](https://github.com/officeofperformancemanagement/rulesheet/blob/main/example.csv).

```python
from rulesheet import load_ruler_from_csv

ruler = load_ruler_from_csv("./example.csv")

ruler.test({ "year": 2023, "city": "Chattanooga" })
True
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/officeofperformancemanagement/rulesheet",
    "name": "rulesheet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "business, data, python, rules",
    "author": "Daniel J. Dufour",
    "author_email": "daniel.j.dufour@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/17/2a/d82e0473ff9c4cd57820b14b1cf555e718f58f54d15fd86501ff299ad1a3/rulesheet-0.0.1.tar.gz",
    "platform": null,
    "description": "# rulesheet (work in progress)\n> Convert Business Rules defined in a Google Sheet or CSV to Python\n\n## usage\nDefine business rules in a CSV.  See an example of a csv [here](https://github.com/officeofperformancemanagement/rulesheet/blob/main/example.csv).\n\n```python\nfrom rulesheet import load_ruler_from_csv\n\nruler = load_ruler_from_csv(\"./example.csv\")\n\nruler.test({ \"year\": 2023, \"city\": \"Chattanooga\" })\nTrue\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Convert Business Rules defined in a Google Sheet or CSV to Python",
    "version": "0.0.1",
    "project_urls": {
        "Download": "https://github.com/officeofperformancemanagement/rulesheet/tarball/download",
        "Homepage": "https://github.com/officeofperformancemanagement/rulesheet"
    },
    "split_keywords": [
        "business",
        " data",
        " python",
        " rules"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "172ad82e0473ff9c4cd57820b14b1cf555e718f58f54d15fd86501ff299ad1a3",
                "md5": "6d1d1196d87784d28db6c5cfb7e9b705",
                "sha256": "1a267e3f27f649170f9c0dceba2907e5a031d68055030da5ca031316e78aba78"
            },
            "downloads": -1,
            "filename": "rulesheet-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6d1d1196d87784d28db6c5cfb7e9b705",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5206,
            "upload_time": "2024-07-17T01:18:17",
            "upload_time_iso_8601": "2024-07-17T01:18:17.983371Z",
            "url": "https://files.pythonhosted.org/packages/17/2a/d82e0473ff9c4cd57820b14b1cf555e718f58f54d15fd86501ff299ad1a3/rulesheet-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-17 01:18:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "officeofperformancemanagement",
    "github_project": "rulesheet",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "rulesheet"
}
        
Elapsed time: 0.27185s