GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — example-rules-as-code/python-authorityspoke at master · BetterRules/example-rules-as-code

Expand file tree

/

python-authorityspoke

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

python-authorityspoke

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
example_data
example_data
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
conftest.py
conftest.py
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements.txt
requirements.txt
 
 
statute_rules.ipynb
statute_rules.ipynb
 
 
test_rules.py
test_rules.py
 
 

README.md

Outline

Rules as Code using Python with AuthoritySpoke

Installation

To install AuthoritySpoke, use:

pip install authorityspoke

You can then import authorityspoke in python.

Viewing the Notebook

To install JupyterLab and use it to view the code examples with explanations, use:

pip install jupyterlab
jupyter lab

and then open statute_rules.ipynb, which is in the same folder as this readme.

Running the Tests

To run the test suite, install and run pytest.

pip install pytest
pytest

For more information and other tutorials, see the AuthoritySpoke documentation.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.