eyecite

eyecite: A tool for parsing legal citations - Published in JOSS (2021)

https://github.com/freelawproject/eyecite

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README and JOSS metadata
  • Academic publication links
  • Committers with academic emails
    1 of 21 committers (4.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords from Contributors

standardization meshing graph-generation cryptocurrencies pde interpretability simulations energy-system mathematics parallel
Last synced: 4 months ago · JSON representation

Repository

Find legal citations in any block of text

Basic Info
Statistics
  • Stars: 172
  • Watchers: 19
  • Forks: 51
  • Open Issues: 38
  • Releases: 0
Created about 5 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Funding License Security

README.rst

eyecite
==========

eyecite is an open source tool for extracting legal citations from text. It is used, among other things, to process millions of legal documents in the collections of `CourtListener `_ and Harvard's `Caselaw Access Project `_, and has been developed in collaboration with both projects.

eyecite recognizes a wide variety of citations commonly appearing in American legal decisions, including:

* full case: ``Bush v. Gore, 531 U.S. 98, 99-100 (2000)``
* reference: ``In`` *Gore*, ``the Supreme Court...``
* short case: ``531 U.S., at 99``
* statutory: ``Mass. Gen. Laws ch. 1, § 2``
* law journal: ``1 Minn. L. Rev. 1``
* supra: ``Bush, supra, at 100``
* id.: ``Id., at 101``

All contributors, corrections, and additions are welcome!

If you use eyecite for your research, please consider citing our paper::

    @article{eyecite,
        title = {eyecite: A Tool for Parsing Legal Citations},
        author = {Cushman, Jack and Dahl, Matthew and Lissner, Michael},
        year = {2021},
        journal = {Journal of Open Source Software},
        volume = {6},
        number = {66},
        pages = {3617},
        url = {https://doi.org/10.21105/joss.03617},
    }

Functionality
=============

eyecite offers four core functions:

* `Extraction `_: Recognize and extract citations from text, using a database that has been trained on over 55 million existing citations (see all of the citation patterns eyecite looks for over in `reporters_db `_).
* `Aggregation `_: Aggregate citations with common references (e.g., `supra` and `id.` citations) based on their logical antecedents.
* `Annotation `_: Annotate citation-laden text with custom markup surrounding each citation, using a fast diffing algorithm.
* `Cleaning `_: Clean and pre-process text for easy use with eyecite.

Read on below for how to get started quickly or for a short tutorial in using eyecite.

Contributions & Support
=======================

Please see the issues list on GitHub for things we need, or start a conversation if you have questions or need support.

If you are fixing bugs or adding features, before you make your first contribution, we'll need a signed contributor license agreement. See the template in the root of the repo for how to get that taken care of.

API
===
The API documentation is located here:

https://freelawproject.github.io/eyecite/

It is autogenerated whenever we release a new version. Unfortunately, for now we do not support old versions of the API documentation, but it can be browsed in the gh-pages branch if needed.


Quickstart
==========

Install eyecite::

    pip install eyecite


Here's a short example of extracting citations and their metadata from text using eyecite's main :code:`get_citations()` function::

    from eyecite import get_citations

    text = """
        Mass. Gen. Laws ch. 1, § 2 (West 1999) (barring ...).
        Foo v. Bar, 1 U.S. 2, 3-4 (1999) (overruling ...).
        Id. at 3.
        Foo, supra, at 5.
    """

    get_citations(text)

    # returns:
    [
        FullLawCitation(
            'Mass. Gen. Laws ch. 1, § 2',
            groups={'reporter': 'Mass. Gen. Laws', 'chapter': '1', 'section': '2'},
            metadata=Metadata(parenthetical='barring ...', pin_cite=None, year='1999', publisher='West', ...)
        ),
        FullCaseCitation(
            '1 U.S. 2',
            groups={'volume': '1', 'reporter': 'U.S.', 'page': '2'},
            metadata=Metadata(parenthetical='overruling ...', pin_cite='3-4', year='1999', court='scotus', plaintiff='Foo', defendant='Bar,', ...)
        ),
        IdCitation(
            'Id.',
            metadata=Metadata(pin_cite='at 3')
        ),
        SupraCitation(
            'supra,',
            metadata=Metadata(antecedent_guess='Foo', pin_cite='at 5', ...)
        )
    ]

Tutorial
==========

For a more full-featured walkthrough of how to use all of eyecite's functionality,
please see the `tutorial `_.

Documentation
=============

eyecite's full API is documented `here `_, but here are details regarding its four core functions, its tokenization logic, and its debugging tools.

Extracting Citations
--------------------

:code:`get_citations()`, the main executable function, takes four parameters.

1. :code:`plain_text` ==> str, default :code:`''`: The text to parse. If the
    text has markup, it's better to use the :code:`markup_text` argument to get
    enhanced extraction. One of `plain_text` or `markup_text` must be passed
    as input.
2. :code:`remove_ambiguous` ==> bool, default :code:`False`: Whether to remove citations
    that might refer to more than one reporter and can't be narrowed down by date.
3. :code:`tokenizer` ==> Tokenizer, default :code:`eyecite.tokenizers.default_tokenizer`:
    An instance of a Tokenizer object (see "Tokenizers" below).
4. :code:`markup_text` ==> str, default :code:`''`: optional XML or HTML source
    text that will be used to extract ReferenceCitations or help identify case
    names using markup tags.
5. :code:`clean_steps` ==> list, default :code:`None`: list of callables or the
    name string of functions in `clean.py`. Used to clean the input text


Resolving Reference Citations
-----------------------------

Eyecite now supports a two-step process for extracting and resolving reference
citations. This feature improves handling of citations that reference previously
mentioned cases without explicitly repeating the full case name or citation.

Reference citations, such as “Theatre Enterprises at 552”, can be difficult to
extract accurately if a judge is citing to `Theatre Enterprises, Inc. v. Paramount Film Distributing Corp., 346 U. S. 537, 541 (1954)`
they lack a full case name. To address this, Eyecite allows for an initial
citation extraction, followed by a secondary reference resolution step.
If you have an external database (e.g., CourtListener) that provides resolved
case names, you can use this feature to enhance citation finding.::

    from eyecite import get_citations
    from eyecite.find import extract_reference_citations
    from eyecite.helpers import filter_citations

    plain_text = (
        "quoting Theatre Enterprises, Inc. v. Paramount Film Distributing Corp., 346 U. S. 537, 541 (1954); "
        "alterations in original. Thus, the District Court understood that allegations of "
        "parallel business conduct, taken alone, do not state a claim under § 1; "
        "plaintiffs must allege additional facts that “ten to exclude independent "
        "self-interested conduct as an As Theatre Enterprises at 552 held, parallel"
        )


    from eyecite import get_citations
    from eyecite.find import extract_reference_citations
    from eyecite.helpers import filter_citations

    # Step 1: Extract full citations
    citations = get_citations(plain_text)

    # Step 2: Resolve the case name from an external database or prior knowledge
    citations[0].metadata.resolved_case_name_short = "Theatre Enterprises"

    # Step 3: Extract reference citations using the resolved name
    references = extract_reference_citations(citations[0], plain_text)

    # Step 4: Filter and merge citations
    new_citations = filter_citations(citations + references)

Keep in mind that this feature requires an external database or heuristic
method to resolve the short case name before extracting reference citations a second time.


Cleaning Input Text
-------------------

For a given citation text such as "... 1 Baldwin's Rep. 1 ...", you can input
the cleaned text and pass it in the :code:`plain_text` argument without
:code:`clean_steps``, or you can pass it without pre processing and pass a list
to :code:`clean_steps`

* Spaces will be single space characters, not multiple spaces or other whitespace.
* Quotes and hyphens will be standard quote and hyphen characters.
* No junk such as HTML tags inside the citation.

The cleanup is done via :code:`clean_text`:

::

    from eyecite import clean_text, get_citations

    source_text = '

foo 1 U.S. 1

' plain_text = clean_text(text, ['html', 'inline_whitespace', my_func]) found_citations = get_citations(plain_text) See the `Annotating Citations <#annotating-citations>`_ section for how to insert links into the original text using citations extracted from the cleaned text. :code:`clean_text` currently accepts these values as cleaners: 1. :code:`inline_whitespace`: replace all runs of tab and space characters with a single space character 2. :code:`all_whitespace`: replace all runs of any whitespace character with a single space character 3. :code:`underscores`: remove two or more underscores, a common error in text extracted from PDFs 4. :code:`html`: remove non-visible HTML content using the lxml library 5. Custom function: any function taking a string and returning a string. Annotating Citations -------------------- For simple plain text, you can insert links to citations using the :code:`annotate_citations` function: :: from eyecite import get_citations, annotate_citations plain_text = 'bob lissner v. test 1 U.S. 12, 347-348 (4th Cir. 1982)' citations = get_citations(plain_text) linked_text = annotate_citations(plain_text, [[c.span(), "", ""] for c in citations]) returns: 'bob lissner v. test 1 U.S. 12, 347-348 (4th Cir. 1982)' Each citation returned by get_citations keeps track of where it was found in the source text. As a result, :code:`annotate_citations` must be called with the *same* cleaned text used by :code:`get_citations` to extract citations. If you do not, the offsets returned by the citation's :code:`span` method will not align with the text, and your annotations will be in the wrong place. If you want to clean text and then insert annotations into the original text, you can pass the original text in as :code:`source_text`: :: from eyecite import get_citations, annotate_citations, clean_text source_text = '

bob lissner v. test 1 U.S. 12, 347-348 (4th Cir. 1982)

' plain_text = clean_text(source_text, ['html', 'inline_whitespace']) citations = get_citations(plain_text) linked_text = annotate_citations(plain_text, [[c.span(), "", ""] for c in citations], source_text=source_text) returns: '

bob lissner v. test 1 U.S. 12, 347-348 (4th Cir. 1982)

' The above example extracts citations from :code:`plain_text` and applies them to :code:`source_text`, using a diffing algorithm to insert annotations in the correct locations in the original text. There is also a :code:`full_span` attribute that can be used to get the indexes of the full citation, including the pre- and post-citation attributes. Wrapping HTML Tags ^^^^^^^^^^^^^^^^^^ Note that the above example includes mismatched HTML tags: "1 U.S. 12". To specify handling for unbalanced tags, use the :code:`unbalanced_tags` parameter: * :code:`unbalanced_tags="skip"`: annotations that would result in unbalanced tags will not be inserted. A simple correction for style tags is attempted. This is a common case when finding ReferenceCitations or IdCitations. See :code:`utils.maybe_balance_style_tags` * :code:`unbalanced_tags="wrap"`: unbalanced tags will be wrapped, resulting in :code:`1 U.S. 12` Important: :code:`unbalanced_tags="wrap"` uses a simple regular expression and will only work for HTML where angle brackets are properly escaped, such as the HTML emitted by :code:`lxml.html.tostring`. It is intended for regularly formatted documents such as case text published by courts. It may have unpredictable results for deliberately-constructed challenging inputs such as citations containing partial HTML comments or :code:`
` tags.

Customizing Annotation
^^^^^^^^^^^^^^^^^^^^^^

If inserting text before and after isn't sufficient, supply a callable under the :code:`annotator` parameter
that takes :code:`(before, span_text, after)` and returns the annotated text:

::

    def annotator(before, span_text, after):
        return before + span_text.lower() + after
    linked_text = annotate_citations(plain_text, [[c.span(), "", ""] for c in citations], annotator=annotator)

    returns:
    'bob lissner v. test 1 u.s. 12, 347-348 (4th Cir. 1982)'

Resolving Citations
-------------------

Once you have extracted citations from a document, you may wish to resolve them to their common references.
To do so, just pass the results of :code:`get_citations()` into :code:`resolve_citations()`. This function will
do its best to resolve each "full," "short form," "supra," and "id" citation to a common :code:`Resource` object,
returning a dictionary that maps resources to lists of associated citations:

::

    from eyecite import get_citations, resolve_citations

    text = 'first citation: 1 U.S. 12. second citation: 2 F.3d 2. third citation: Id.'
    found_citations = get_citations(text)
    resolved_citations = resolve_citations(found_citations)

    returns (pseudo):
    {
        : [FullCaseCitation('1 U.S. 12')],
        : [FullCaseCitation('2 F.3d 2'), IdCitation('Id.')]
    }

Importantly, eyecite performs these resolutions using only its immanent knowledge about each citation's
textual representation. If you want to perform more sophisticated resolution (e.g., by augmenting each
citation with information from a third-party API), simply pass custom :code:`resolve_id_citation()`,
:code:`resolve_supra_citation()`, :code:`resolve_shortcase_citation()`, and :code:`resolve_full_citation()`
functions to :code:`resolve_citations()` as keyword arguments. You can also configure those functions to
return a more complex resource object (such as a Django model), so long as that object inherits the
:code:`eyecite.models.ResourceType` type (which simply requires hashability). For example, you might implement
a custom full citation resolution function as follows, using the default resolution logic as a fallback:

::

    def my_resolve(full_cite):
        # special handling for resolution of known cases in our database
        resource = MyOpinion.objects.get(full_cite)
        if resource:
            return resource
        # allow normal clustering of other citations
        return resolve_full_citation(full_cite)

    resolve_citations(citations, resolve_full_citation=my_resolve)

    returns (pseudo):
    {
        : [, , ],
        : [, ],
    }

Tokenizers
----------

Internally, eyecite works by applying a list of regular expressions to the source text to convert it to a list
of tokens:

::

    In [1]: from eyecite.tokenizers import default_tokenizer

    In [2]: list(default_tokenizer.tokenize("Foo v. Bar, 123 U.S. 456 (2016). Id. at 457."))
    Out[2]:
    ['Foo',
     StopWordToken(data='v.', ...),
     'Bar,',
     CitationToken(data='123 U.S. 456', volume='123', reporter='U.S.', page='456', ...),
     '(2016).',
     IdToken(data='Id.', ...),
     'at',
     '457.']

Tokens are then scanned to determine values like the citation year or case name for citation resolution.

Alternate tokenizers can be substituted by providing a tokenizer instance to :code:`get_citations()`:

::

    from eyecite.tokenizers import HyperscanTokenizer
    hyperscan_tokenizer = HyperscanTokenizer(cache_dir='.hyperscan')
    cites = get_citations(text, tokenizer=hyperscan_tokenizer)

test_FindTest.py includes a simplified example of using a custom tokenizer that uses modified
regular expressions to extract citations with OCR errors.

eyecite ships with two tokenizers:

AhocorasickTokenizer (default)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The default tokenizer uses the pyahocorasick library to filter down eyecite's list of
extractor regexes. It then performs extraction using the builtin :code:`re` library.

HyperscanTokenizer
^^^^^^^^^^^^^^^^^^

The alternate HyperscanTokenizer compiles all extraction regexes into a hyperscan database
so they can be extracted in a single pass. This is far faster than the default tokenizer
(exactly how much faster depends on how many citation formats are included in the target text),
but requires the optional dependency `hyperscan `__,
which you can install with Pip like:

::

    pip install hyperscan

Compiling the hyperscan database takes several seconds, so short-running scripts may want to
provide a cache directory where the database can be stored. The directory should be writeable
only by the user:

::

    hyperscan_tokenizer = HyperscanTokenizer(cache_dir='.hyperscan')

Debugging
---------

If you want to see what metadata eyecite is able to extract for each citation, you can use :code:`dump_citations`.
This is primarily useful for developing eyecite, but may also be useful for exploring what data is available to you::

    In [1]: from eyecite import dump_citations, get_citations

    In [2]: text="Mass. Gen. Laws ch. 1, § 2. Foo v. Bar, 1 U.S. 2, 3-4 (1999). Id. at 3. Foo, supra, at 5."

    In [3]: cites=get_citations(text)

    In [4]: print(dump_citations(get_citations(text), text))
    FullLawCitation: Mass. Gen. Laws ch. 1, § 2. Foo v. Bar, 1 U.S. 2, 3-4 (1
      * groups
        * reporter='Mass. Gen. Laws'
        * chapter='1'
        * section='2'
    FullCaseCitation: Laws ch. 1, § 2. Foo v. Bar, 1 U.S. 2, 3-4 (1999). Id. at 3. Foo, s
      * groups
        * volume='1'
        * reporter='U.S.'
        * page='2'
      * metadata
        * pin_cite='3-4'
        * year='1999'
        * court='scotus'
        * plaintiff='Foo'
        * defendant='Bar,'
      * year=1999
    IdCitation: v. Bar, 1 U.S. 2, 3-4 (1999). Id. at 3. Foo, supra, at 5.
      * metadata
        * pin_cite='at 3'
    SupraCitation: 2, 3-4 (1999). Id. at 3. Foo, supra, at 5.
      * metadata
        * antecedent_guess='Foo'
        * pin_cite='at 5'

In the real terminal, the :code:`span()` of each extracted citation will be highlighted.
You can use the :code:`context_chars=30` parameter to control how much text is shown before and after.


Installation
============

With Pip:

.. code-block:: console

    $ pip install eyecite

Or, to install the latest in-development version from GitHub:

.. code-block:: console

    pip install https://github.com/freelawproject/eyecite/archive/main.zip#egg=eyecite

Deployment
==========

1. Update CHANGES.md.

1. Update version info in :code:`pyproject.toml` by running :code:`uv version --bump [major|minor|patch]`.

1. Commit and make a pull request.

1. Tag the merged commit with the new version number in the format ``vx.y.z``:

   .. code-block:: console

        $ git tag -a v1.2.3 -m v1.2.3

1. Push the tag:

    .. code-block:: console

        $ git push origin v1.2.3

The automated deployment process will then take care of the rest, publishing the new version to PyPI and building the documentation.

Testing
=======
eyecite comes with a robust test suite of different citation strings that it is equipped to handle. Run these tests as follows:

::

    python3 -m unittest discover -s tests -p 'test_*.py'

If you would like to create mock citation objects to assist you in writing your own local tests, import and use the following functions for convenience:

::

    from eyecite.test_factories import (
        case_citation,
        id_citation,
        supra_citation,
        unknown_citation,
    )


Development
===========
When a pull request is generated for changes from changes to eyecite, a github
workflow will automatically trigger.  The workflow, benchmark.yml will
test improvements in accuracy and speed against the current main branch.

The results are committed to an artifacts branch, and an ever updating comment
in the PR comments with the output.


License
=======
This repository is available under the permissive BSD license, making it easy and safe to incorporate in your own libraries.

Pull and feature requests welcome. Online editing in GitHub is possible (and easy!).

Owner

  • Name: Free Law Project
  • Login: freelawproject
  • Kind: organization
  • Email: info@free.law
  • Location: United States of America

We provide free access to primary legal materials, develop legal research tools, and support academic research on legal corpora.

JOSS Publication

eyecite: A tool for parsing legal citations
Published
October 08, 2021
Volume 6, Issue 66, Page 3617
Authors
Jack Cushman
Harvard University, Library Innovation Lab
Matthew Dahl
University of Notre Dame, Department of Political Science
Michael Lissner
Free Law Project
Editor
Daniel S. Katz ORCID
Tags
law courts

GitHub Events

Total
  • Issues event: 62
  • Watch event: 43
  • Delete event: 43
  • Issue comment event: 549
  • Push event: 422
  • Pull request review event: 123
  • Pull request review comment event: 103
  • Pull request event: 114
  • Fork event: 17
  • Create event: 66
Last Year
  • Issues event: 62
  • Watch event: 43
  • Delete event: 43
  • Issue comment event: 550
  • Push event: 422
  • Pull request review event: 123
  • Pull request review comment event: 103
  • Pull request event: 114
  • Fork event: 17
  • Create event: 66

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 502
  • Total Committers: 21
  • Avg Commits per committer: 23.905
  • Development Distribution Score (DDS): 0.616
Past Year
  • Commits: 196
  • Committers: 8
  • Avg Commits per committer: 24.5
  • Development Distribution Score (DDS): 0.327
Top Committers
Name Email Commits
William Palin b****l@f****w 193
Matt Dahl m****3@g****m 67
Michael Lissner m****r@m****m 62
Jack Cushman j****n@l****u 60
Gianfranco Rossi g****r@g****m 32
github-actions[bot] 4****] 16
Eduardo Rosendo e****6@g****m 12
dependabot-preview[bot] 2****] 9
Kevin Ramirez k****a@h****m 9
Adam Johnson me@a****u 7
dependabot[bot] 4****] 7
Faiz Surani f****i@g****m 5
Alberto Islas a****u@g****m 4
bbernicker b****r@g****m 4
Brandon Liu b****u@g****m 3
lucas-massemin l****n@g****m 3
rachlllg r****8@g****m 3
ttys0dev 1****v 3
Chris Brew b****c@d****t 1
Chris Brew c****w@a****g 1
luism l****1@o****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 94
  • Total pull requests: 229
  • Average time to close issues: about 1 year
  • Average time to close pull requests: 28 days
  • Total issue authors: 25
  • Total pull request authors: 23
  • Average comments per issue: 2.97
  • Average comments per pull request: 2.55
  • Merged pull requests: 180
  • Bot issues: 4
  • Bot pull requests: 9
Past Year
  • Issues: 34
  • Pull requests: 128
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 5 days
  • Issue authors: 10
  • Pull request authors: 11
  • Average comments per issue: 1.35
  • Average comments per pull request: 2.05
  • Merged pull requests: 92
  • Bot issues: 3
  • Bot pull requests: 0
Top Authors
Issue Authors
  • flooie (16)
  • grossir (13)
  • jcushman (12)
  • mlissner (10)
  • mattdahl (7)
  • cmaimone (6)
  • sentry-io[bot] (4)
  • quevon24 (3)
  • ProbablyFaiz (3)
  • step21 (2)
  • bbernicker (2)
  • overmode (2)
  • branliu0 (2)
  • ERosendo (1)
  • jafrank88 (1)
Pull Request Authors
  • flooie (61)
  • grossir (37)
  • mattdahl (27)
  • ERosendo (21)
  • jcushman (17)
  • dependabot[bot] (9)
  • adamchainz (9)
  • branliu0 (8)
  • quevon24 (6)
  • albertisfu (5)
  • ttys0dev (4)
  • mlissner (4)
  • devlux76 (4)
  • bbernicker (3)
  • ss108 (2)
Top Labels
Issue Labels
needs-regex (8) bug (1) enhancement (1)
Pull Request Labels
dependencies (9) no changelog (4) slow-review (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 19,418 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 3
  • Total versions: 35
  • Total maintainers: 1
pypi.org: eyecite

Tool for extracting legal citations from text strings.

  • Versions: 35
  • Dependent Packages: 1
  • Dependent Repositories: 3
  • Downloads: 19,418 Last month
Rankings
Dependent packages count: 4.7%
Downloads: 6.4%
Average: 7.1%
Stargazers count: 7.3%
Forks count: 8.4%
Dependent repos count: 9.0%
Maintainers (1)
Last synced: 4 months ago

Dependencies

poetry.lock pypi
  • appdirs 1.4.4 develop
  • astroid 2.5.1 develop
  • black 20.8b1 develop
  • click 7.1.2 develop
  • colorama 0.4.4 develop
  • exrex 0.10.5 develop
  • flake8 3.9.0 develop
  • hyperscan 0.2.0 develop
  • importlib-metadata 3.4.0 develop
  • isort 5.8.0 develop
  • jinja2 2.11.3 develop
  • lazy-object-proxy 1.4.3 develop
  • mako 1.1.5 develop
  • markdown 3.3.4 develop
  • markupsafe 1.1.1 develop
  • mccabe 0.6.1 develop
  • mypy 0.812 develop
  • mypy-extensions 0.4.3 develop
  • pathspec 0.8.1 develop
  • pdoc3 0.10.0 develop
  • pycodestyle 2.7.0 develop
  • pyflakes 2.3.0 develop
  • pylint 2.7.2 develop
  • pylint-json2html 0.3.0 develop
  • roman 3.3 develop
  • toml 0.10.2 develop
  • typed-ast 1.4.3 develop
  • typing-extensions 4.1.1 develop
  • wrapt 1.12.1 develop
  • zipp 3.4.0 develop
  • courts-db 0.10.0
  • fast-diff-match-patch 2.0.1
  • lxml 4.6.5
  • pyahocorasick 1.4.1
  • regex 2021.4.4
  • reporters-db 3.2.17
  • six 1.15.0
pyproject.toml pypi
  • black ^20.8b1 develop
  • exrex ^0.10.5 develop
  • flake8 ^3.9.0 develop
  • hyperscan >= 0.1.5 develop
  • isort ^5.8.0 develop
  • mypy ^0.812 develop
  • pdoc3 ^0.10.0 develop
  • pylint ^2.7.2 develop
  • pylint-json2html ^0.3.0 develop
  • roman ^3.3 develop
  • wheel ^0.35.1 develop
  • courts-db ^0.10.0
  • fast-diff-match-patch ^2.0.0
  • lxml ^4.6.3
  • pyahocorasick >= 1.2
  • python ^3.7
  • regex >=2020.1.8
  • reporters-db ^3.2.2
.github/workflows/benchmark.yml actions
  • actions/cache v2 composite
  • actions/checkout v3 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • dmnemec/copy_file_to_another_repo_action main composite
  • marocchino/sticky-pull-request-comment v2 composite
  • snok/install-poetry v1.3.3 composite
.github/workflows/lint.yml actions
  • actions/cache v2 composite
  • actions/checkout v2-beta composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
  • isort/isort-action v0.1.0 composite
  • psf/black stable composite
  • py-actions/flake8 v1 composite
  • snok/install-poetry v1.3.3 composite
.github/workflows/pdoc.yml actions
  • JamesIves/github-pages-deploy-action 4.1.5 composite
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • snok/install-poetry v1.3.3 composite
.github/workflows/pypi.yml actions
  • actions/checkout v2 composite
  • snok/install-poetry v1.3.3 composite
.github/workflows/tests.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • snok/install-poetry v1.3.3 composite