Skip to content

UMNLibraries/mp-covenants-highlight-text

Repository files navigation

mp-covenants-highlight-text

This AWS Lambda function is part of Mapping Prejudice's Deed Machine application. This component receives data about a page that has been flagged as a match, then uses the match data and OCR JSON to create a version of the web-friendly image with a visible highliht. This is the final Lambda in the Deed Machine initial processing Step Function.

The Deed Machine is a multi-language set of tools that use OCR and crowdsourced transcription to identify racially restrictive covenant language, then map the results.

The Lambda components of the Deed Machine are built using Amazon's Serverless Application Model (SAM) and the AWS SAM CLI tool.

Key links

Software development requirements

  • Pipenv (Can use other virtual environments, but will require fiddling on your part)
  • AWS SAM CLI
  • Docker
  • Python 3

Quickstart commands

To build the application:

pipenv install
pipenv shell
sam build

To rebuild and deploy the application:

sam build && sam deploy

To run tests:

pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages