parallex 0.1.1__tar.gz → 0.1.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {parallex-0.1.1 → parallex-0.1.3}/PKG-INFO +10 -5
- {parallex-0.1.1 → parallex-0.1.3}/README.md +6 -3
- {parallex-0.1.1 → parallex-0.1.3}/pyproject.toml +3 -2
- {parallex-0.1.1 → parallex-0.1.3}/LICENSE +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/__init__.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/ai/batch_processor.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/ai/open_ai_client.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/ai/output_processor.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/ai/uploader.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/file_management/converter.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/file_management/file_finder.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/file_management/utils.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/models/batch_file.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/models/image_file.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/models/page_response.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/models/parallex_callable_output.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/models/raw_file.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/models/upload_batch.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/parallex.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/utils/constants.py +0 -0
- {parallex-0.1.1 → parallex-0.1.3}/parallex/utils/logger.py +0 -0
@@ -1,7 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: parallex
|
3
|
-
Version: 0.1.
|
4
|
-
Summary:
|
3
|
+
Version: 0.1.3
|
4
|
+
Summary: PDF to markdown using Azure OpenAI batch processing
|
5
|
+
Home-page: https://github.com/Summed-AI/parallex
|
5
6
|
Author: Jeff Hostetler
|
6
7
|
Author-email: jeff@summed.ai
|
7
8
|
Requires-Python: >=3.12,<4.0
|
@@ -14,16 +15,17 @@ Requires-Dist: httpx (>=0.27.2,<0.28.0)
|
|
14
15
|
Requires-Dist: openai (>=1.54.4,<2.0.0)
|
15
16
|
Requires-Dist: pdf2image (>=1.17.0,<2.0.0)
|
16
17
|
Requires-Dist: pydantic (>=2.9.2,<3.0.0)
|
18
|
+
Project-URL: Repository, https://github.com/Summed-AI/parallex
|
17
19
|
Description-Content-Type: text/markdown
|
18
20
|
|
19
21
|
# Parallex
|
20
22
|
|
21
23
|
### What it does
|
22
24
|
- Converts PDF into images
|
23
|
-
- Makes requests to Azure OpenAI to
|
25
|
+
- Makes requests to Azure OpenAI to convert the images to markdown using Batch API
|
24
26
|
- [Azure OpenAPI Batch](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/batch?tabs=standard-input%2Cpython-secure&pivots=programming-language-python)
|
25
27
|
- [OpenAPI Batch](https://platform.openai.com/docs/guides/batch)
|
26
|
-
- Polls for batch completion and then
|
28
|
+
- Polls for batch completion and then converts AI responses in structured output based on the page of the corresponding PDF
|
27
29
|
- Post batch processing to do what you wish with the resulting markdown
|
28
30
|
|
29
31
|
### Requirements
|
@@ -32,9 +34,12 @@ Parallex uses `graphicsmagick` for the conversion of PDF to images.
|
|
32
34
|
brew install graphicsmagick
|
33
35
|
```
|
34
36
|
|
37
|
+
### Installation
|
38
|
+
```bash
|
39
|
+
pip install parallex
|
40
|
+
```
|
35
41
|
|
36
42
|
### Example usage
|
37
|
-
|
38
43
|
```python
|
39
44
|
import os
|
40
45
|
from parallex.models.parallex_callable_output import ParallexCallableOutput
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
### What it does
|
4
4
|
- Converts PDF into images
|
5
|
-
- Makes requests to Azure OpenAI to
|
5
|
+
- Makes requests to Azure OpenAI to convert the images to markdown using Batch API
|
6
6
|
- [Azure OpenAPI Batch](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/batch?tabs=standard-input%2Cpython-secure&pivots=programming-language-python)
|
7
7
|
- [OpenAPI Batch](https://platform.openai.com/docs/guides/batch)
|
8
|
-
- Polls for batch completion and then
|
8
|
+
- Polls for batch completion and then converts AI responses in structured output based on the page of the corresponding PDF
|
9
9
|
- Post batch processing to do what you wish with the resulting markdown
|
10
10
|
|
11
11
|
### Requirements
|
@@ -14,9 +14,12 @@ Parallex uses `graphicsmagick` for the conversion of PDF to images.
|
|
14
14
|
brew install graphicsmagick
|
15
15
|
```
|
16
16
|
|
17
|
+
### Installation
|
18
|
+
```bash
|
19
|
+
pip install parallex
|
20
|
+
```
|
17
21
|
|
18
22
|
### Example usage
|
19
|
-
|
20
23
|
```python
|
21
24
|
import os
|
22
25
|
from parallex.models.parallex_callable_output import ParallexCallableOutput
|
@@ -1,8 +1,9 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "parallex"
|
3
|
-
version = "0.1.
|
4
|
-
description = ""
|
3
|
+
version = "0.1.3"
|
4
|
+
description = "PDF to markdown using Azure OpenAI batch processing"
|
5
5
|
authors = ["Jeff Hostetler <jeff@summed.ai>", "Kevin Bao <kevin@summed.ai>"]
|
6
|
+
repository = "https://github.com/Summed-AI/parallex"
|
6
7
|
readme = "README.md"
|
7
8
|
|
8
9
|
[tool.poetry.dependencies]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|