Skip to main content

A bankruptcy document parser.

Project description

Bankruptcy

A bankruptcy document parser.

Notes

Bankruptcy is an open source repository to extract content from bankruptcy documents It was built for use with Courtlistener.com.

Its main goal is to convert bankruptcy documents into readable JSON data.

Further development is intended and all contributors, corrections and additions are welcome.

Background

Free Law Project built this … This project represents … We believe to be the ….

Documents

We currently support the following documents in a voluntary petition.

  • Bankruptcy Official Form 106 A/B (Property)

  • Bankruptcy Official Form 106 D (Secured Creditors)

  • Bankruptcy Official Form 106 E/F (Unsecured Creditors)

  • Bankruptcy Official Form 106Sum (Statistics)

TODOs

  • B 101 (Official Form 101)

  • B2030 (Form 2030) (12/15)

  • 521.05 (12/1/08)

  • Official Form 106C

  • Official Form 106G

  • Official Form 106H

  • Official Form 106I

  • Official Form 106J

  • Official Form 106Dec

  • Official Form 107

Quickstart

You can feed in a X as … .. …

IMPORTS


CALL EXAMPLE

returns:
  ""EXAMPLE OUTPUT

Some Notes

This tool relies heavily on PDFPlumber.

Somethings to keep in mind this parser has been tested only on digital PDFs from recent court filings (ie 2018 and earlier).

Installation

Installing bankruptcy is easy.

pip install bankruptcy

Or install the latest dev version from github

pip install git+https://github.com/freelawproject/bankruptcy.git@master

Future

  1. Continue to improve and add documents for extraction.

  2. Future updates

Deployment

Tag a release with a similar format v1.0.0, update setup.py and push to master.

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!)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bankruptcy-0.0.5.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

bankruptcy-0.0.5-py2.py3-none-any.whl (15.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bankruptcy-0.0.5.tar.gz.

File metadata

  • Download URL: bankruptcy-0.0.5.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for bankruptcy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8734e3e1580e516f6f3a37a1131c59d24f30b08d0ec3c3a53f2c69c4500d9aa4
MD5 745810cacec36e44a2f3f4dbc8965789
BLAKE2b-256 0fb7c9c9a7a31500a65ebf2471b7feeee300285c7ee908c6bc90146f5167b648

See more details on using hashes here.

File details

Details for the file bankruptcy-0.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: bankruptcy-0.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for bankruptcy-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ecc70f39b521bfd3c3f30a3d3f27d40e0fbc66f5482915ab7926e66210f54224
MD5 ba4e4cd107b7991d2c14f50526edd1a3
BLAKE2b-256 2d8009206efe3d67095898c6c433dc0dd68917ccf6c470aa2c749ac2765d421b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page