automated-document-parser 0.1.3__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/Makefile +1 -1
  2. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/PKG-INFO +59 -2
  3. automated_document_parser-0.1.4/README.md +67 -0
  4. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/pyproject.toml +1 -1
  5. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/requirements.txt +5 -0
  6. automated_document_parser-0.1.3/README.md +0 -10
  7. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/.github/workflows/ci.yml +0 -0
  8. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/.github/workflows/publish.yml +0 -0
  9. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/.gitignore +0 -0
  10. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/.pre-commit-config.yaml +0 -0
  11. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/LICENSE +0 -0
  12. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/notebook_examples/rag_example.ipynb +0 -0
  13. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/notebook_examples/sample_docs/data.csv +0 -0
  14. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/notebook_examples/sample_docs/machine_learning.txt +0 -0
  15. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/notebook_examples/sample_docs/python_basics.txt +0 -0
  16. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/src/automated_document_parser/__init__.py +0 -0
  17. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/src/automated_document_parser/config.py +0 -0
  18. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/src/automated_document_parser/core.py +0 -0
  19. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/src/automated_document_parser/loaders/__init__.py +0 -0
  20. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/src/automated_document_parser/loaders/base_loader.py +0 -0
  21. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/src/automated_document_parser/loaders/file_loaders.py +0 -0
  22. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/src/automated_document_parser/main.py +0 -0
  23. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/src/automated_document_parser/utils.py +0 -0
  24. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/test/__init__.py +0 -0
  25. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/test/test_config.py +0 -0
  26. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/test/test_core.py +0 -0
  27. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/test/test_file_loaders.py +0 -0
  28. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/test/test_main.py +0 -0
  29. {automated_document_parser-0.1.3 → automated_document_parser-0.1.4}/test/test_utils.py +0 -0
@@ -55,5 +55,5 @@ publish-pypi: build
55
55
  @echo "Uploading to PyPI..."
56
56
  uv run twine upload dist/* --username __token__ --password "$${PYPI_API_TOKEN}"
57
57
  @echo "Published to PyPI!"
58
- @echo "Install with: pip install langchain-document-parser"
58
+ @echo "Install with: pip install automated-document-parser"
59
59
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: automated-document-parser
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: A powerful and automated document parser built with LangChain for intelligent document processing
5
5
  Project-URL: Homepage, https://github.com/Pulkit12dhingra/automated-document-parser
6
6
  Project-URL: Repository, https://github.com/Pulkit12dhingra/automated-document-parser
@@ -64,4 +64,61 @@ Description-Content-Type: text/markdown
64
64
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
65
65
  [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
66
66
 
67
- A powerful and automated document parser built with LangChain for intelligent document processing and analysis.
67
+ A powerful and automated document parser built with LangChain for intelligent document processing. This library automatically detects file types and uses the appropriate loader to parse documents into LangChain-compatible formats.
68
+
69
+ ## Features
70
+
71
+ - Automatic file type detection based on file extensions
72
+ - Support for multiple document formats: PDF, TXT, CSV, JSON, DOCX, HTML, Markdown
73
+ - Built on LangChain for seamless integration with RAG applications
74
+ - Type-safe implementation with comprehensive error handling
75
+ - Batch processing support for multiple documents
76
+
77
+ ## Installation
78
+
79
+ Install from PyPI:
80
+
81
+ ```bash
82
+ pip install automated-document-parser
83
+ ```
84
+
85
+ Or using uv:
86
+
87
+ ```bash
88
+ uv add automated-document-parser
89
+ ```
90
+
91
+ ## Quick Start
92
+
93
+ ### Basic Usage
94
+
95
+ ```python
96
+ from automated_document_parser import DocumentParser
97
+
98
+ # Initialize the parser
99
+ parser = DocumentParser()
100
+
101
+ # Parse a single document
102
+ documents = parser.parse("path/to/document.pdf")
103
+
104
+ # Parse multiple documents
105
+ file_paths = ["doc1.pdf", "doc2.txt", "data.csv"]
106
+ parsed_docs = parser.parse_multiple(file_paths)
107
+ ```
108
+
109
+ ### Working with Parsed Documents
110
+
111
+ ```python
112
+ # Access document content and metadata
113
+ for doc in documents:
114
+ print(f"Content: {doc.page_content}")
115
+ print(f"Source: {doc.metadata['source']}")
116
+ print(f"Type: {doc.metadata['file_type']}")
117
+ ```
118
+ ## License
119
+
120
+ MIT License - see LICENSE file for details.
121
+
122
+ ## Contributing
123
+
124
+ Contributions are welcome! Please feel free to submit a Pull Request.
@@ -0,0 +1,67 @@
1
+ # Automated Document Parser
2
+
3
+ [![PyPI version](https://badge.fury.io/py/automated-document-parser.svg)](https://pypi.org/project/automated-document-parser/)
4
+ [![Python Version](https://img.shields.io/pypi/pyversions/automated-document-parser.svg)](https://pypi.org/project/automated-document-parser/)
5
+ [![CI](https://github.com/Pulkit12dhingra/automated-document-parser/actions/workflows/ci.yml/badge.svg)](https://github.com/Pulkit12dhingra/automated-document-parser/actions/workflows/ci.yml)
6
+ [![codecov](https://codecov.io/gh/Pulkit12dhingra/automated-document-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/Pulkit12dhingra/automated-document-parser)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
+ [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
9
+
10
+ A powerful and automated document parser built with LangChain for intelligent document processing. This library automatically detects file types and uses the appropriate loader to parse documents into LangChain-compatible formats.
11
+
12
+ ## Features
13
+
14
+ - Automatic file type detection based on file extensions
15
+ - Support for multiple document formats: PDF, TXT, CSV, JSON, DOCX, HTML, Markdown
16
+ - Built on LangChain for seamless integration with RAG applications
17
+ - Type-safe implementation with comprehensive error handling
18
+ - Batch processing support for multiple documents
19
+
20
+ ## Installation
21
+
22
+ Install from PyPI:
23
+
24
+ ```bash
25
+ pip install automated-document-parser
26
+ ```
27
+
28
+ Or using uv:
29
+
30
+ ```bash
31
+ uv add automated-document-parser
32
+ ```
33
+
34
+ ## Quick Start
35
+
36
+ ### Basic Usage
37
+
38
+ ```python
39
+ from automated_document_parser import DocumentParser
40
+
41
+ # Initialize the parser
42
+ parser = DocumentParser()
43
+
44
+ # Parse a single document
45
+ documents = parser.parse("path/to/document.pdf")
46
+
47
+ # Parse multiple documents
48
+ file_paths = ["doc1.pdf", "doc2.txt", "data.csv"]
49
+ parsed_docs = parser.parse_multiple(file_paths)
50
+ ```
51
+
52
+ ### Working with Parsed Documents
53
+
54
+ ```python
55
+ # Access document content and metadata
56
+ for doc in documents:
57
+ print(f"Content: {doc.page_content}")
58
+ print(f"Source: {doc.metadata['source']}")
59
+ print(f"Type: {doc.metadata['file_type']}")
60
+ ```
61
+ ## License
62
+
63
+ MIT License - see LICENSE file for details.
64
+
65
+ ## Contributing
66
+
67
+ Contributions are welcome! Please feel free to submit a Pull Request.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "automated-document-parser"
7
- version = "0.1.3"
7
+ version = "0.1.4"
8
8
  description = "A powerful and automated document parser built with LangChain for intelligent document processing"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  requires-python = ">=3.13"
@@ -12,6 +12,8 @@ anyio==4.11.0
12
12
  # via httpx
13
13
  attrs==25.4.0
14
14
  # via aiohttp
15
+ build==1.3.0
16
+ # via automated-document-parser (pyproject.toml)
15
17
  certifi==2025.10.5
16
18
  # via
17
19
  # httpcore
@@ -136,6 +138,7 @@ ormsgpack==1.12.0
136
138
  # via langgraph-checkpoint
137
139
  packaging==25.0
138
140
  # via
141
+ # build
139
142
  # faiss-cpu
140
143
  # huggingface-hub
141
144
  # langchain-core
@@ -162,6 +165,8 @@ pydantic-settings==2.11.0
162
165
  # via langchain-community
163
166
  pypdf==6.1.3
164
167
  # via automated-document-parser (pyproject.toml)
168
+ pyproject-hooks==1.2.0
169
+ # via build
165
170
  python-docx==1.2.0
166
171
  # via automated-document-parser (pyproject.toml)
167
172
  python-dotenv==1.2.1
@@ -1,10 +0,0 @@
1
- # Automated Document Parser
2
-
3
- [![PyPI version](https://badge.fury.io/py/automated-document-parser.svg)](https://pypi.org/project/automated-document-parser/)
4
- [![Python Version](https://img.shields.io/pypi/pyversions/automated-document-parser.svg)](https://pypi.org/project/automated-document-parser/)
5
- [![CI](https://github.com/Pulkit12dhingra/automated-document-parser/actions/workflows/ci.yml/badge.svg)](https://github.com/Pulkit12dhingra/automated-document-parser/actions/workflows/ci.yml)
6
- [![codecov](https://codecov.io/gh/Pulkit12dhingra/automated-document-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/Pulkit12dhingra/automated-document-parser)
7
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
- [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
9
-
10
- A powerful and automated document parser built with LangChain for intelligent document processing and analysis.