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.
Files changed (36) hide show
  1. {pyxtxt-0.3/src/pyxtxt.egg-info → pyxtxt-0.3.1}/PKG-INFO +6 -10
  2. {pyxtxt-0.3 → pyxtxt-0.3.1}/README.md +5 -9
  3. {pyxtxt-0.3 → pyxtxt-0.3.1}/pyproject.toml +1 -1
  4. {pyxtxt-0.3 → pyxtxt-0.3.1/src/pyxtxt.egg-info}/PKG-INFO +6 -10
  5. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt.egg-info/SOURCES.txt +1 -1
  6. {pyxtxt-0.3 → pyxtxt-0.3.1}/LICENSE +0 -0
  7. {pyxtxt-0.3 → pyxtxt-0.3.1}/MANIFEST.in +0 -0
  8. {pyxtxt-0.3 → pyxtxt-0.3.1}/setup.cfg +0 -0
  9. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/__init__.py +0 -0
  10. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/core.py +0 -0
  11. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/__init__.py +0 -0
  12. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/audio.py +0 -0
  13. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/doc.py +0 -0
  14. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/docx.py +0 -0
  15. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/eml.py +0 -0
  16. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/epub.py +0 -0
  17. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/html.py +0 -0
  18. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/md.py +0 -0
  19. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/msg.py +0 -0
  20. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/ocr.py +0 -0
  21. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/ocr_ollama.py +0 -0
  22. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/odt.py +0 -0
  23. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/pdf.py +0 -0
  24. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/pptx.py +0 -0
  25. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/rtf.py +0 -0
  26. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/svg.py +0 -0
  27. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/tex.py +0 -0
  28. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/txt.py +0 -0
  29. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/xls.py +0 -0
  30. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/xlsx.py +0 -0
  31. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/estrattori/xml.py +0 -0
  32. {pyxtxt-0.3 → pyxtxt-0.3.1/src/pyxtxt}/examples.py +0 -0
  33. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt/pyxtxt.py +0 -0
  34. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt.egg-info/dependency_links.txt +0 -0
  35. {pyxtxt-0.3 → pyxtxt-0.3.1}/src/pyxtxt.egg-info/requires.txt +0 -0
  36. {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 the examples file:
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
- # Or read the content directly
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 the examples file:
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
- # Or read the content directly
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
  [project]
2
2
  name = "pyxtxt"
3
- version = "0.3"
3
+ version = "0.3.1"
4
4
  description = "A Python library for extracting text from different types of files (PDF, DOCX, PPTX, XLSX, ODT, ecc.)."
5
5
  classifiers = [
6
6
  "Development Status :: 4 - Beta",
@@ -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 the examples file:
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
- # Or read the content directly
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
  ```
@@ -1,10 +1,10 @@
1
1
  LICENSE
2
2
  MANIFEST.in
3
3
  README.md
4
- examples.py
5
4
  pyproject.toml
6
5
  src/pyxtxt/__init__.py
7
6
  src/pyxtxt/core.py
7
+ src/pyxtxt/examples.py
8
8
  src/pyxtxt/pyxtxt.py
9
9
  src/pyxtxt.egg-info/PKG-INFO
10
10
  src/pyxtxt.egg-info/SOURCES.txt
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes