mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
feat: add docling cli (#75)
* chore: add simple convert script Signed-off-by: Peter Staar <taa@zurich.ibm.com> * reformatted all Signed-off-by: Peter Staar <taa@zurich.ibm.com> * reformatted all Signed-off-by: Peter Staar <taa@zurich.ibm.com> * added default arg Signed-off-by: Peter Staar <taa@zurich.ibm.com> * use typer for the docling CLI Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * describe output when saving Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * add tests for CLI Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * add export options Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> --------- Signed-off-by: Peter Staar <taa@zurich.ibm.com> Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> Co-authored-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
committed by
GitHub
parent
8aa476ccd3
commit
98990784df
@@ -60,6 +60,7 @@ torchvision = [
|
||||
{version = "^0", optional = true, markers = "sys_platform != 'darwin' or platform_machine != 'x86_64'"},
|
||||
{version = "~0.17.2", optional = true, markers = "sys_platform == 'darwin' and platform_machine == 'x86_64'"}
|
||||
]
|
||||
typer = "^0.12.5"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
black = {extras = ["jupyter"], version = "^24.4.2"}
|
||||
@@ -95,6 +96,10 @@ examples = [
|
||||
"langchain-text-splitters",
|
||||
]
|
||||
|
||||
|
||||
[tool.poetry.scripts]
|
||||
docling = "docling.cli.main:app"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
Reference in New Issue
Block a user