AuthoritySpoke: Legal Rules as Data¶
Release v. 0.7.0.
AuthoritySpoke is the first open source legal authority automation tool.
AuthoritySpoke is available as a Python package from the Python Package Index, so you can install it from the command line with pip:
$ pip install AuthoritySpoke
AuthoritySpoke runs on Python versions 3.8 and up.
To access these guides in an interactive Jupyter Notebook, you can download the AuthoritySpoke git repository, or navigate to the “notebooks” folder of the repository using Binder.
- An Introduction to AuthoritySpoke
- Getting Example Data
- Importing the Package
- Downloading and Importing Decisions
- Downloading Enactments
- Importing and Exporting Legal Holdings
- Linking Holdings to Opinions
- Viewing an Opinion’s Holdings
- Generic Factors
- Enactment Objects and Implication
- Checking for Contradictions
- Adding Holdings to One Another
- Set Operations with Holdings
- Using Python Template Strings to Represent Legal Explanations
- Creating and Loading Holding Data
- Structure and Schema of AuthoritySpoke Holdings
- Example Annotated Holdings
- Legislative Rule Models with AuthoritySpoke