Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 666 Bytes

README.rst

File metadata and controls

24 lines (17 loc) · 666 Bytes

libraryofcongress

Workbench module that searches the Library of Congress for records of documents.

It uses the data-exploration API <https://libraryofcongress.github.io/data-exploration/requests.html>

Developing

First, get up and running:

  1. pip3 install pipenv
  2. pipenv sync # to download dependencies
  3. pipenv run ./setup.py test # to test

To add a feature:

  1. Write a test in test_libraryofcongress.py
  2. Run pipenv run ./setup.py test to prove it breaks
  3. Edit libraryofcongress.py to make the test pass
  4. Run pipenv run ./setup.py test to prove it works
  5. Commit and submit a pull request