Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.4 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.4 KB

datasette-enrichments-slow

PyPI Changelog Tests License

An enrichment on a slow loop to help debug progress bars

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-enrichments-slow

Usage

Select a table (or rows from a table) and run the enrichment. You can specify how many seconds to sleep for each row.

No changes will be recorded to your table. This plugin is for debugging purposes only.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-enrichments-slow
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest