James R. Barlow
|
0bbd6885e2
|
Make the go/no-go decision pluggable
|
2019-06-06 23:07:46 -07:00 |
|
James R. Barlow
|
eb5200d26a
|
Change most tests to use ocrmypdf API instead of subprocess
The main benefit of this is code coverage gains can actually follow it.
Also removes most ugly os.environ hacks.
|
2019-06-03 01:45:27 -07:00 |
|
James R. Barlow
|
45a361d112
|
Add option to use threads instead of processes
Mainly since they are more convenient for debugging
|
2019-05-31 01:56:16 -07:00 |
|
James R. Barlow
|
7566d4b768
|
Introduce plugins/filters
|
2019-05-27 16:55:04 -07:00 |
|
James R. Barlow
|
24855045e1
|
Provisionally add filters
|
2019-05-25 16:23:39 -07:00 |
|
James R. Barlow
|
ed236e0c27
|
Begin API documentation
|
2019-05-24 01:05:32 -07:00 |
|
James R. Barlow
|
db6aa22eae
|
Progress bar: unit types
|
2019-05-23 02:00:47 -07:00 |
|
James R. Barlow
|
a139e64c67
|
api: short-circuit exception handler, as caller should provide their own
|
2019-05-22 18:30:30 -07:00 |
|
James R. Barlow
|
db69b4d11a
|
Improve argparse behavior for its role in making the API work
|
2019-05-22 15:55:48 -07:00 |
|
James R. Barlow
|
23dd77ce0f
|
api: fix progress_bar_friendly=False
|
2019-05-22 15:31:03 -07:00 |
|
James R. Barlow
|
32a076c039
|
Refactor validation and exceptions
CLI now tracks check_options exceptions. API now works more like
an API, without an exception handler,
because the caller should provide one.
|
2019-05-20 18:01:17 -07:00 |
|
James R. Barlow
|
2fdaa76a0d
|
Refactor configure_logging
|
2019-05-20 14:54:34 -07:00 |
|
James R. Barlow
|
7ee0c52a57
|
Refactor cli into basic high level api
|
2019-05-19 22:34:45 -07:00 |
|