qurator-spk / eynollah

Document Layout Analysis
Apache License 2.0
345 stars 29 forks source link

Src layout #133

Closed kba closed 2 months ago

kba commented 2 months ago

Remove the qurator namespace #112

Switch to src-layout, i.e. all python sources are in src, in the eynollah package.

For users of the command line tool, there is no change.

When using eynollah in python scripts, one just has to remove the qurator. prefix:

-from qurator.eynollah.eynollah import Eynollah
+from eynollah.eynollah import Eynollah

(BTW we could do from .eynollah import Eynollah in __init__.py, then you could do from eynollah import Eynollah which is less typing).

This includes #131, so merging this PR will also merge the other.

I'd recommend merging this to main soon and then to merge main into the active development branches, because there will be some conflicts and the sooner we change this, the less the branches will diverge.