parallex 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
@@ -15,7 +15,7 @@ parallex/models/upload_batch.py,sha256=jrnds9ryXg9drL4TF8TGimMVTCDfKaWsBzFv_ed0i
|
|
15
15
|
parallex/parallex.py,sha256=RvSDNyjrE7Fd3LuatEt18_1sR_btPJ-i6uxjNr_dGh0,4502
|
16
16
|
parallex/utils/constants.py,sha256=c6i_-OSfCXAzW9ILzddSSHfldqHnsPEID3G3VYGYXUg,362
|
17
17
|
parallex/utils/logger.py,sha256=5dpTogztRq4NCgYWnbbkFNx3V2sFCN-Mtoagwj8i18Q,505
|
18
|
-
parallex-0.1.
|
19
|
-
parallex-0.1.
|
20
|
-
parallex-0.1.
|
21
|
-
parallex-0.1.
|
18
|
+
parallex-0.1.3.dist-info/LICENSE,sha256=wPwCqGrisXnEcpaUxSO79C2mdOUTbtjhLjyy8mVW6p8,1046
|
19
|
+
parallex-0.1.3.dist-info/METADATA,sha256=oOHuVOKgITHhEjzSQQW4Odo06tZjFfY1B2AVR8q9SDg,3444
|
20
|
+
parallex-0.1.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
21
|
+
parallex-0.1.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|