Skip to content

Commit 4e2ad41

Browse files
authored
Remove pdf sub-command (#19)
1 parent 3aee4e7 commit 4e2ad41

File tree

8 files changed

+0
-1202
lines changed

8 files changed

+0
-1202
lines changed

pyproject.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ dependencies = [
1414
"pydantic>=2.0",
1515
"pydantic-settings>=2.1.0",
1616
"pyhocon>=0.3.60",
17-
"pymupdf>=1.27.0",
18-
"pymupdf-layout>=1.27.0",
19-
"pymupdf4llm>=0.3.0",
2017
"httpx>=0.26.0",
2118
"rich>=13.7.0",
2219
"python-jose[cryptography]>=3.3.0",
@@ -52,7 +49,4 @@ python_files = ["test_*.py"]
5249
asyncio_mode = "auto"
5350
filterwarnings = [
5451
"ignore::pyparsing.exceptions.PyparsingDeprecationWarning",
55-
"ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning",
56-
"ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning",
57-
"ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning",
5852
]

skills/pdf-extract/SKILL.md

Lines changed: 0 additions & 148 deletions
This file was deleted.

src/asta/cli.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from asta.papers.citations import citations
1212
from asta.papers.get import get
1313
from asta.papers.search import search
14-
from asta.pdf import batch_extract, to_text
1514

1615

1716
@click.group()
@@ -36,12 +35,6 @@ def papers():
3635
pass
3736

3837

39-
@cli.group()
40-
def pdf():
41-
"""PDF processing commands"""
42-
pass
43-
44-
4538
# Register auth commands
4639
cli.add_command(auth)
4740

@@ -58,10 +51,6 @@ def pdf():
5851
papers.add_command(citations)
5952
papers.add_command(author)
6053

61-
# Register pdf subcommands
62-
pdf.add_command(to_text)
63-
pdf.add_command(batch_extract)
64-
6554

6655
if __name__ == "__main__":
6756
cli()

src/asta/pdf/__init__.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/asta/pdf/batch_extract.py

Lines changed: 0 additions & 152 deletions
This file was deleted.

0 commit comments

Comments
 (0)