pyxtxt 0.3__tar.gz → 0.3.1__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.
- {pyxtxt-0.3/src/pyxtxt.egg-info → pyxtxt-0.3.1}/PKG-INFO +6 -10
- {pyxtxt-0.3 → pyxtxt-0.3.1}/README.md +5 -9
- {pyxtxt-0.3 → pyxtxt-0.3.1}/pyproject.toml +1 -1
- {pyxtxt-0.3 → pyxtxt-0.3.1/src/pyxtxt.egg-info}/PKG-INFO +6 -10
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt.egg-info/SOURCES.txt +1 -1
- {pyxtxt-0.3 → pyxtxt-0.3.1}/LICENSE +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/MANIFEST.in +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/setup.cfg +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/__init__.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/core.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/__init__.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/audio.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/doc.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/docx.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/eml.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/epub.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/html.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/md.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/msg.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/ocr.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/ocr_ollama.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/odt.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/pdf.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/pptx.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/rtf.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/svg.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/tex.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/txt.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/xls.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/xlsx.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/xml.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1/src/pyxtxt}/examples.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/pyxtxt.py +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt.egg-info/dependency_links.txt +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt.egg-info/requires.txt +0 -0
- {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyxtxt
|
|
3
|
-
Version: 0.3
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: A Python library for extracting text from different types of files (PDF, DOCX, PPTX, XLSX, ODT, ecc.).
|
|
5
5
|
Author-email: Giuseppe Levi <giuseppe.levi@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -333,15 +333,8 @@ text = xtxt(attachment_bytes)
|
|
|
333
333
|
|
|
334
334
|
## 📖 Full Examples
|
|
335
335
|
|
|
336
|
-
See [examples.py](./examples.py) for comprehensive usage examples including:
|
|
337
|
-
- Local file processing
|
|
338
|
-
- Memory buffer handling
|
|
339
|
-
- Web content extraction
|
|
340
|
-
- Error handling patterns
|
|
341
|
-
- All supported formats demonstration
|
|
342
|
-
|
|
343
336
|
### Accessing Examples After Installation
|
|
344
|
-
After installing PyxTxt from PyPI, you can access
|
|
337
|
+
After installing PyxTxt from PyPI, you can access comprehensive usage examples including local file processing, memory buffer handling, web content extraction, error handling patterns, and all supported formats demonstration:
|
|
345
338
|
|
|
346
339
|
```python
|
|
347
340
|
import pkg_resources
|
|
@@ -350,7 +343,10 @@ import pkg_resources
|
|
|
350
343
|
examples_path = pkg_resources.resource_filename('pyxtxt', 'examples.py')
|
|
351
344
|
print(f"Examples file location: {examples_path}")
|
|
352
345
|
|
|
353
|
-
#
|
|
346
|
+
# Run the examples directly
|
|
347
|
+
exec(open(examples_path).read())
|
|
348
|
+
|
|
349
|
+
# Or read the content to view examples
|
|
354
350
|
examples_content = pkg_resources.resource_string('pyxtxt', 'examples.py').decode('utf-8')
|
|
355
351
|
print(examples_content)
|
|
356
352
|
```
|
|
@@ -229,15 +229,8 @@ text = xtxt(attachment_bytes)
|
|
|
229
229
|
|
|
230
230
|
## 📖 Full Examples
|
|
231
231
|
|
|
232
|
-
See [examples.py](./examples.py) for comprehensive usage examples including:
|
|
233
|
-
- Local file processing
|
|
234
|
-
- Memory buffer handling
|
|
235
|
-
- Web content extraction
|
|
236
|
-
- Error handling patterns
|
|
237
|
-
- All supported formats demonstration
|
|
238
|
-
|
|
239
232
|
### Accessing Examples After Installation
|
|
240
|
-
After installing PyxTxt from PyPI, you can access
|
|
233
|
+
After installing PyxTxt from PyPI, you can access comprehensive usage examples including local file processing, memory buffer handling, web content extraction, error handling patterns, and all supported formats demonstration:
|
|
241
234
|
|
|
242
235
|
```python
|
|
243
236
|
import pkg_resources
|
|
@@ -246,7 +239,10 @@ import pkg_resources
|
|
|
246
239
|
examples_path = pkg_resources.resource_filename('pyxtxt', 'examples.py')
|
|
247
240
|
print(f"Examples file location: {examples_path}")
|
|
248
241
|
|
|
249
|
-
#
|
|
242
|
+
# Run the examples directly
|
|
243
|
+
exec(open(examples_path).read())
|
|
244
|
+
|
|
245
|
+
# Or read the content to view examples
|
|
250
246
|
examples_content = pkg_resources.resource_string('pyxtxt', 'examples.py').decode('utf-8')
|
|
251
247
|
print(examples_content)
|
|
252
248
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyxtxt
|
|
3
|
-
Version: 0.3
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: A Python library for extracting text from different types of files (PDF, DOCX, PPTX, XLSX, ODT, ecc.).
|
|
5
5
|
Author-email: Giuseppe Levi <giuseppe.levi@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -333,15 +333,8 @@ text = xtxt(attachment_bytes)
|
|
|
333
333
|
|
|
334
334
|
## 📖 Full Examples
|
|
335
335
|
|
|
336
|
-
See [examples.py](./examples.py) for comprehensive usage examples including:
|
|
337
|
-
- Local file processing
|
|
338
|
-
- Memory buffer handling
|
|
339
|
-
- Web content extraction
|
|
340
|
-
- Error handling patterns
|
|
341
|
-
- All supported formats demonstration
|
|
342
|
-
|
|
343
336
|
### Accessing Examples After Installation
|
|
344
|
-
After installing PyxTxt from PyPI, you can access
|
|
337
|
+
After installing PyxTxt from PyPI, you can access comprehensive usage examples including local file processing, memory buffer handling, web content extraction, error handling patterns, and all supported formats demonstration:
|
|
345
338
|
|
|
346
339
|
```python
|
|
347
340
|
import pkg_resources
|
|
@@ -350,7 +343,10 @@ import pkg_resources
|
|
|
350
343
|
examples_path = pkg_resources.resource_filename('pyxtxt', 'examples.py')
|
|
351
344
|
print(f"Examples file location: {examples_path}")
|
|
352
345
|
|
|
353
|
-
#
|
|
346
|
+
# Run the examples directly
|
|
347
|
+
exec(open(examples_path).read())
|
|
348
|
+
|
|
349
|
+
# Or read the content to view examples
|
|
354
350
|
examples_content = pkg_resources.resource_string('pyxtxt', 'examples.py').decode('utf-8')
|
|
355
351
|
print(examples_content)
|
|
356
352
|
```
|
|
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
|
|
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
|