A template repo for new CL projects
{{NEW-PROJECT}} is an open source repository to ... It was built for use with Courtlistener.com.
Its main goal is to ... It incldues mechanisms to ...
Further development is intended and all contributors, corrections and additions are welcome.
Free Law Project built this ... This project represents ...
We believe to be the ....
You can feed in a X as ... .. ...
IMPORTS
CALL EXAMPLE
returns:
""EXAMPLE OUTPUT
Somethings to keep in mind as ....
- ...
- ...
id
==> string; Courtlistener Court Identifiercourt_url
==> string; url for court websiteregex
==> array; regexes patterns to find courts
Installing {{NEW-PROJECT}} is easy.
pip install {{NEW-PROJECT}}
Or install the latest dev version from github
pip install git+https://github.com/freelawproject/{{NEW-PROJECT}}.git@master
- Continue to improve ...
- Future updates
If you wish to create a new version manually, the process is:
-
Update version info in
setup.py
-
Install the requirements using
poetry install
-
Set up a config file at
~/.pypirc
-
Generate a universal distribution that works in py2 and py3 (see setup.cfg)
python setup.py sdist bdist_wheel
- Upload the distributions
twine upload dist/* -r pypi (or pypitest)
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!)