Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
feat: add magic-pdf-dev case
quyuanfea2b7bd3742
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.ymlindex 04aa69b1..4eae7a65 100644--- a/.github/workflows/cli.yml+++ b/.github/workflows/cli.yml@@ -39,7 +39,7 @@ jobs:- name: unit testrun: |cd $GITHUB_WORKSPACE && python tests/clean_coverage.py- cd $GITHUB_WORKSPACE && export PYTHONPATH=. && coverage run -m pytest tests/test_unit.py --cov=magic_pdf/ --cov-report term-missing --cov-report html+ cd $GITHUB_WORKSPACE && export PYTHONPATH=. && coverage run -m pytest tests/unittest --cov=magic_pdf/ --cov-report term-missing --cov-report htmlcd $GITHUB_WORKSPACE && python tests/get_coverage.py- name: cli testrun: |diff --git a/.pytest_cache/.gitignore b/.pytest_cache/.gitignorenew file mode 100644index 00000000..bc1a1f61--- /dev/null+++ b/.pytest_cache/.gitignore@@ -0,0 +1,2 @@+# Created by pytest automatically.+*diff --git a/.pytest_cache/CACHEDIR.TAG b/.pytest_cache/CACHEDIR.TAGnew file mode 100644index 00000000..fce15ad7--- /dev/null+++ b/.pytest_cache/CACHEDIR.TAG@@ -0,0 +1,4 @@+Signature: 8a477f597d28d172789f06886806bc55+# This file is a cache directory tag created by pytest.+# For information about cache directory tags, see:+# https://bford.info/cachedir/spec.htmldiff --git a/.pytest_cache/README.md b/.pytest_cache/README.mdnew file mode 100644index 00000000..b89018ce--- /dev/null+++ b/.pytest_cache/README.md@@ -0,0 +1,8 @@+# pytest cache directory #++This directory contains data from the pytest's cache plugin,+which provides the `--lf` and `--ff` options, as well as the `cache` fixture.++**Do not** commit this to version control.++See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.diff --git a/.pytest_cache/v/cache/lastfailed b/.pytest_cache/v/cache/lastfailednew file mode 100644index 00000000..5af991f6--- /dev/null+++ b/.pytest_cache/v/cache/lastfailed@@ -0,0 +1,4 @@+{+ "tests/unittest/test_unit.py": true,+ "tests/unittest/test_table/test_tablemaster.py": true+}\ No newline at end of filediff --git a/.pytest_cache/v/cache/nodeids b/.pytest_cache/v/cache/nodeidsnew file mode 100644index 00000000..0637a088--- /dev/null+++ b/.pytest_cache/v/cache/nodeids@@ -0,0 +1 @@+[]\ No newline at end of filediff --git a/.pytest_cache/v/cache/stepwise b/.pytest_cache/v/cache/stepwisenew file mode 100644index 00000000..0637a088--- /dev/null+++ b/.pytest_cache/v/cache/stepwise@@ -0,0 +1 @@+[]\ No newline at end of filediff --git a/magic_pdf/libs/__pycache__/__init__.cpython-312.pyc b/magic_pdf/libs/__pycache__/__init__.cpython-312.pycdeleted file mode 100644index 0137df23..00000000Binary files a/magic_pdf/libs/__pycache__/__init__.cpython-312.pyc and /dev/null differdiff --git a/magic_pdf/libs/__pycache__/__init__.cpython-39.pyc b/magic_pdf/libs/__pycache__/__init__.cpython-39.pycdeleted file mode 100644index c4914656..00000000Binary files a/magic_pdf/libs/__pycache__/__init__.cpython-39.pyc and /dev/null differdiff --git a/magic_pdf/libs/__pycache__/version.cpython-312.pyc b/magic_pdf/libs/__pycache__/version.cpython-312.pycdeleted file mode 100644index 94c3be46..00000000Binary files a/magic_pdf/libs/__pycache__/version.cpython-312.pyc and /dev/null differdiff --git a/magic_pdf/libs/__pycache__/version.cpython-39.pyc b/magic_pdf/libs/__pycache__/version.cpython-39.pycdeleted file mode 100644index d4c98aed..00000000Binary files a/magic_pdf/libs/__pycache__/version.cpython-39.pyc and /dev/null differdiff --git a/tests/test_unit.py b/tests/unittest/test_unit.pysimilarity index 100%rename from tests/test_unit.pyrename to tests/unittest/test_unit.py