aspose-cells-foss 25.12.1__py3-none-any.whl

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 (53) hide show
  1. aspose/__init__.py +14 -0
  2. aspose/cells/__init__.py +31 -0
  3. aspose/cells/cell.py +350 -0
  4. aspose/cells/constants.py +44 -0
  5. aspose/cells/converters/__init__.py +13 -0
  6. aspose/cells/converters/csv_converter.py +55 -0
  7. aspose/cells/converters/json_converter.py +46 -0
  8. aspose/cells/converters/markdown_converter.py +453 -0
  9. aspose/cells/drawing/__init__.py +17 -0
  10. aspose/cells/drawing/anchor.py +172 -0
  11. aspose/cells/drawing/collection.py +233 -0
  12. aspose/cells/drawing/image.py +338 -0
  13. aspose/cells/formats.py +80 -0
  14. aspose/cells/formula/__init__.py +10 -0
  15. aspose/cells/formula/evaluator.py +360 -0
  16. aspose/cells/formula/functions.py +433 -0
  17. aspose/cells/formula/tokenizer.py +340 -0
  18. aspose/cells/io/__init__.py +27 -0
  19. aspose/cells/io/csv/__init__.py +8 -0
  20. aspose/cells/io/csv/reader.py +88 -0
  21. aspose/cells/io/csv/writer.py +98 -0
  22. aspose/cells/io/factory.py +138 -0
  23. aspose/cells/io/interfaces.py +48 -0
  24. aspose/cells/io/json/__init__.py +8 -0
  25. aspose/cells/io/json/reader.py +126 -0
  26. aspose/cells/io/json/writer.py +119 -0
  27. aspose/cells/io/md/__init__.py +8 -0
  28. aspose/cells/io/md/reader.py +161 -0
  29. aspose/cells/io/md/writer.py +334 -0
  30. aspose/cells/io/models.py +64 -0
  31. aspose/cells/io/xlsx/__init__.py +9 -0
  32. aspose/cells/io/xlsx/constants.py +312 -0
  33. aspose/cells/io/xlsx/image_writer.py +311 -0
  34. aspose/cells/io/xlsx/reader.py +284 -0
  35. aspose/cells/io/xlsx/writer.py +931 -0
  36. aspose/cells/plugins/__init__.py +6 -0
  37. aspose/cells/plugins/docling_backend/__init__.py +7 -0
  38. aspose/cells/plugins/docling_backend/backend.py +535 -0
  39. aspose/cells/plugins/markitdown_plugin/__init__.py +15 -0
  40. aspose/cells/plugins/markitdown_plugin/plugin.py +128 -0
  41. aspose/cells/range.py +210 -0
  42. aspose/cells/style.py +287 -0
  43. aspose/cells/utils/__init__.py +54 -0
  44. aspose/cells/utils/coordinates.py +68 -0
  45. aspose/cells/utils/exceptions.py +43 -0
  46. aspose/cells/utils/validation.py +102 -0
  47. aspose/cells/workbook.py +352 -0
  48. aspose/cells/worksheet.py +670 -0
  49. aspose_cells_foss-25.12.1.dist-info/METADATA +189 -0
  50. aspose_cells_foss-25.12.1.dist-info/RECORD +53 -0
  51. aspose_cells_foss-25.12.1.dist-info/WHEEL +5 -0
  52. aspose_cells_foss-25.12.1.dist-info/entry_points.txt +2 -0
  53. aspose_cells_foss-25.12.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,189 @@
1
+ Metadata-Version: 2.4
2
+ Name: aspose-cells-foss
3
+ Version: 25.12.1
4
+ Summary: Modern Pythonic Excel processing library with plugin ecosystem
5
+ Author-email: "Aspose.Cells Team" <cells@aspose.com>
6
+ License: Apache-2.0 OR Proprietary
7
+ Keywords: excel,xlsx,spreadsheet,aspose,cells,python,markitdown,markdown,converter,plugin
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Topic :: Office/Business :: Financial :: Spreadsheet
17
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
+ Requires-Python: >=3.8
19
+ Description-Content-Type: text/markdown
20
+ Provides-Extra: markitdown
21
+ Requires-Dist: markitdown>=0.1.0; extra == "markitdown"
22
+ Provides-Extra: docling
23
+ Requires-Dist: docling; extra == "docling"
24
+
25
+ # Aspose.Cells for Python (FOSS Edition)
26
+
27
+ Modern Pythonic Excel processing library with advanced plugin ecosystem for enhanced document conversion.
28
+
29
+ [![PyPI version](https://badge.fury.io/py/aspose-cells-foss.svg)](https://badge.fury.io/py/aspose-cells-foss)
30
+ [![License: Split](https://img.shields.io/badge/License-Split-blue.svg)](https://aspose.org/)
31
+ [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
32
+ [![Downloads](https://pepy.tech/badge/aspose-cells-foss)](https://pepy.tech/project/aspose-cells-foss)
33
+
34
+ ## Overview
35
+
36
+ Aspose.Cells for Python is a high-performance Excel processing library that provides a clean, Pythonic API for working with Excel files. It offers both standalone functionality and seamless integration with popular document conversion frameworks through its plugin ecosystem.
37
+
38
+ ## Installation
39
+
40
+ ### From PyPI (Recommended)
41
+
42
+ ```bash
43
+ # Core library
44
+ pip install aspose-cells-foss
45
+
46
+ # With MarkItDown plugin support
47
+ pip install aspose-cells-foss[markitdown]
48
+
49
+ # With Docling backend support
50
+ pip install aspose-cells-foss[docling]
51
+
52
+ # With all optional dependencies
53
+ pip install aspose-cells-foss[markitdown,docling]
54
+ ```
55
+
56
+ ### From Source
57
+
58
+ ```bash
59
+ # Clone repository
60
+ git clone https://github.com/aspose-cells/aspose-cells-python.git
61
+ cd aspose-cells-python
62
+
63
+ # Install in development mode
64
+ pip install -e .
65
+
66
+ # With plugin support
67
+ pip install -e .[markitdown] # MarkItDown plugin
68
+ pip install -e .[docling] # Docling backend
69
+ ```
70
+
71
+ ## Quick Start
72
+
73
+ ```python
74
+ from aspose.cells import Workbook, FileFormat
75
+
76
+ # Create and populate workbook
77
+ wb = Workbook()
78
+ ws = wb.active
79
+
80
+ # Multiple ways to set data
81
+ ws['A1'] = "Product" # Excel-style
82
+ ws[0, 1] = "Price" # Python-style (0-based)
83
+ ws.cell(1, 3).value = "Qty" # Traditional method
84
+
85
+ # Batch operations
86
+ ws.append(["Laptop", 999.99, 5])
87
+ ws.append(["Mouse", 29.95, 50])
88
+
89
+ # Export to multiple formats
90
+ wb.save("products.xlsx", FileFormat.XLSX)
91
+ wb.save("products.csv", FileFormat.CSV)
92
+ json_str = wb.exportAs(FileFormat.JSON)
93
+ markdown_str = wb.exportAs(FileFormat.MARKDOWN)
94
+ ```
95
+
96
+ ## Core Features
97
+
98
+ ### Multi-Access Cell Interface
99
+ Three flexible ways to work with cells:
100
+ - **Excel-style**: `ws['A1'] = value`
101
+ - **Python-style**: `ws[0, 1] = value` (0-based indexing)
102
+ - **Traditional**: `ws.cell(1, 3).value = value`
103
+
104
+ ### Styling and Formatting
105
+ ```python
106
+ # Cell styling
107
+ ws['A1'].font.bold = True
108
+ ws['A1'].font.size = 14
109
+ ws['A1'].fill.color = "lightgray"
110
+
111
+ # Range styling
112
+ ws['A1:C1'].font.bold = True
113
+ ```
114
+
115
+ ### Data Import/Export
116
+ ```python
117
+ # From records
118
+ records = [{"name": "Alice", "age": 25}, {"name": "Bob", "age": 30}]
119
+ ws.from_records(records)
120
+
121
+ # Export formats
122
+ formats = [FileFormat.XLSX, FileFormat.CSV, FileFormat.JSON, FileFormat.MARKDOWN]
123
+ ```
124
+
125
+ ## Plugin Ecosystem
126
+
127
+ Aspose.Cells for Python extends functionality through specialized plugins for popular document conversion frameworks:
128
+
129
+ ### MarkItDown Plugin
130
+ Enhanced Excel-to-Markdown conversion with improved formatting capabilities.
131
+
132
+ **Key Benefits:**
133
+ - Hyperlink preservation and clean table formatting
134
+ - Configurable conversion parameters
135
+ - Enhanced output quality
136
+
137
+ ```bash
138
+ # Install and use
139
+ pip install -e .[markitdown]
140
+ markitdown --use-plugins spreadsheet.xlsx -o output.md
141
+ ```
142
+
143
+ **→ [View MarkItDown Plugin Documentation](aspose/cells/plugins/markitdown_plugin/README.md)**
144
+
145
+ ### Docling Backend
146
+ Document backend for IBM Docling framework.
147
+
148
+ **Key Benefits:**
149
+ - Enhanced Excel processing for complex spreadsheets
150
+ - Multi-format export (Markdown, JSON)
151
+ - Advanced document structure support
152
+
153
+ ```bash
154
+ # Install and use
155
+ pip install -e .[docling]
156
+ ```
157
+
158
+ ```python
159
+ from docling.datamodel.base_models import InputFormat
160
+ from docling.datamodel.document import InputDocument
161
+ from aspose.cells.plugins.docling_backend import CellsDocumentBackend
162
+
163
+ # Create input document with Aspose backend
164
+ input_doc = InputDocument(
165
+ path_or_stream="spreadsheet.xlsx",
166
+ format=InputFormat.XLSX,
167
+ backend=CellsDocumentBackend,
168
+ filename="spreadsheet.xlsx"
169
+ )
170
+
171
+ # Initialize backend and convert
172
+ backend = CellsDocumentBackend(in_doc=input_doc, path_or_stream="spreadsheet.xlsx")
173
+ document = backend.convert()
174
+ markdown_content = document.export_to_markdown()
175
+ ```
176
+
177
+ **→ [View Docling Backend Documentation](aspose/cells/plugins/docling_backend/README.md)**
178
+
179
+ ## License
180
+
181
+ This project is licensed under the Aspose Split License Agreement - see the [LICENSE](license/Aspose_Split-License-Agreement_2025-07-08_WIP.txt) file for details.
182
+
183
+ Part of the [Aspose.org](https://aspose.org) open source ecosystem.
184
+
185
+ ## Requirements
186
+
187
+ - Python 3.8+
188
+ - Optional: markitdown>=0.1.0 (for MarkItDown plugin)
189
+ - Optional: docling (for Docling backend)
@@ -0,0 +1,53 @@
1
+ aspose/__init__.py,sha256=xFInk-tWLWpUbtTmno7nfftjLfIO3XyhS4v6jdQbYWA,410
2
+ aspose/cells/__init__.py,sha256=doHk-k9sFnVL8Kd4YsYYmUcN68chpKXcHnZyyn94ueg,727
3
+ aspose/cells/cell.py,sha256=m4awOrqxATRccWa43TCdKbdvwZQQgWvnliU0xR_sQwA,11926
4
+ aspose/cells/constants.py,sha256=UNPJf4coOnxGSo5fwXFmJC4GrJjMSl4Z2F-bCa2hUcA,1157
5
+ aspose/cells/formats.py,sha256=fce6gbA0DxrmLgvlJ4WMfyUGLEn8oO4w6R70BudZKhw,2480
6
+ aspose/cells/range.py,sha256=yhqK0NlSWhWs5GeGKGgePtegf7QS7THhpK8GNRlmgeQ,7395
7
+ aspose/cells/style.py,sha256=exeTqb2JZF9mlQoHwa4TVLnKdVfdK0jKz8ixCnF91TA,8382
8
+ aspose/cells/workbook.py,sha256=BWVfY2s_kuUp4j9IvW_egHdGClKmbEBfbu9O3dFV2OI,14432
9
+ aspose/cells/worksheet.py,sha256=a-q55OD7h3soiy2u769iiiK9XGHWH8CaUJCkJu3gUMw,26108
10
+ aspose/cells/converters/__init__.py,sha256=Y-sQlH3t-Be-AorxWgHxyAHt18qazuLid8EYFrg1Udw,303
11
+ aspose/cells/converters/csv_converter.py,sha256=kDULnozn0UGvpy1zUffiQnZFwK3hkTAr3LCdwK1xck4,1680
12
+ aspose/cells/converters/json_converter.py,sha256=otpcl2IVfrHqk8nxTW08inJrzoclxfVACoLqrqtk5NI,1724
13
+ aspose/cells/converters/markdown_converter.py,sha256=0xEucKLC7-54jSPvL2N76qk2vDLliMkiAJTjFg52NAQ,19345
14
+ aspose/cells/drawing/__init__.py,sha256=NnVHqYLZlS3uTCOAuCul7b-ZiDBuJd2HyJeaTc0cQSk,377
15
+ aspose/cells/drawing/anchor.py,sha256=0LU2z7ZBh5ghporFarNjOlMHHZEuO0gfyktQHmua2Cs,6664
16
+ aspose/cells/drawing/collection.py,sha256=Tz9r60M2RCPemSAEVF-fKCohTTCNqKFVTicpzrLOOWk,7773
17
+ aspose/cells/drawing/image.py,sha256=xS7_klDq18VpKCuf66ySdeJ-Yq9HgP9l9K15rt9DTF8,11812
18
+ aspose/cells/formula/__init__.py,sha256=jPGl1KLdvP5UZkzMkibZ-8n26E_0fmp13VkXyKtrwsw,344
19
+ aspose/cells/formula/evaluator.py,sha256=JvFmrZTu0En959ttD1cyzzYY_DA1lkprKVmOnRGxd9o,13386
20
+ aspose/cells/formula/functions.py,sha256=3T42rshMNTR0yiNCgP9ASNW-wGglr9Rs8yuJ-aJTSao,10785
21
+ aspose/cells/formula/tokenizer.py,sha256=Ksh_J0O8MLE6T1ZdumLG68jniCoRRCC7Utffsf4oMfY,11644
22
+ aspose/cells/io/__init__.py,sha256=lcqZTeXpDxN7fftgC9RpGrRzwGBEckEjvLJ4Vuis6sQ,759
23
+ aspose/cells/io/factory.py,sha256=S6m5YNrfGuf0g7uNrS3MiXRFZlixAmnJKcO7t_kyeUo,5057
24
+ aspose/cells/io/interfaces.py,sha256=nfn_8sJUVaHtknr-d9GDeJqg6eFEpXgQXCKeL4dNnYU,1593
25
+ aspose/cells/io/models.py,sha256=W1DAm-NKfGwSV3dM8r9DS13CWIhDeUQj0D-FtatIlEg,2253
26
+ aspose/cells/io/csv/__init__.py,sha256=J3ZcdyHgjxYlHm73DLH8iUqxrrEpTVI5GT4DG-rZsmA,126
27
+ aspose/cells/io/csv/reader.py,sha256=Zl6C4bLHc6pRnyrFTgvkbfRyI8loMDXpj0siC4HBpfA,2855
28
+ aspose/cells/io/csv/writer.py,sha256=g0kGfpT5yClQedxsPPWT5IZ8xqiK4DqCdAiRA3zdO74,3467
29
+ aspose/cells/io/json/__init__.py,sha256=0we0j2v8pBBRHVrxOJ_U53F5EJimlW3nqnx_eRSR4Xw,131
30
+ aspose/cells/io/json/reader.py,sha256=jNNm4igG8_7isEQFtLbi-3Yp-UMUW1eVMr52FJc8tNA,4965
31
+ aspose/cells/io/json/writer.py,sha256=IrZn-09mf_dmpsM3kjXGdFXGRwrj6g5qBxkfyTOunPo,4392
32
+ aspose/cells/io/md/__init__.py,sha256=HEzYu0f63-WhxE6YlAiSTujPYAVYsLWypDV0c3XRF4M,151
33
+ aspose/cells/io/md/reader.py,sha256=crfNmgcRqFxP86vqI95i3cSejCpGwFWs9Wjb6OWgZ4Y,5944
34
+ aspose/cells/io/md/writer.py,sha256=r56AORGE_e_4qL2Yw-P3w-HbB-VQZpzalgnAoL2awWU,12791
35
+ aspose/cells/io/xlsx/__init__.py,sha256=r8MxyYcfWuHOgt8yj480wG8dgq3-m7h1GIcEQb5u9Gw,223
36
+ aspose/cells/io/xlsx/constants.py,sha256=tus576DThI1qu5TkycOdkn0iiPYGF1tiwQ5sG4HCh0Y,12133
37
+ aspose/cells/io/xlsx/image_writer.py,sha256=9zeN7WRtEFBsSMWeoC0IQNIb-gnfvlLBuZ6-4WG6Rgk,14596
38
+ aspose/cells/io/xlsx/reader.py,sha256=n1Pw1xKlPgAFElL7GSV4YVbyI665BpWVx6gu0-BF0uo,12118
39
+ aspose/cells/io/xlsx/writer.py,sha256=fNGGTG5snLZnLakt2gL6gZXkdKJ7O_cLTg7x_6xrQYo,40055
40
+ aspose/cells/plugins/__init__.py,sha256=TiYXxbsHCvl_B0gc9QCpRyyYOHqe1clt2Fkc-Fluw9E,135
41
+ aspose/cells/plugins/docling_backend/__init__.py,sha256=VEvZsNKms2GcmF51B9pBhDge3lgjrpnmZRAe2rA4PEM,150
42
+ aspose/cells/plugins/docling_backend/backend.py,sha256=Zfuv35jva8qL0fy-wdDQHJ4ZICRWXXqrD2SMe-hJzns,19811
43
+ aspose/cells/plugins/markitdown_plugin/__init__.py,sha256=dPJY9FqMrYG1zYe7SIaKl9Su9tR1CHi8ZkZ7dyFneWg,450
44
+ aspose/cells/plugins/markitdown_plugin/plugin.py,sha256=cNB53u9kRBHMkHAjL040ms30gkt6vTjShRTpJf8StjE,5513
45
+ aspose/cells/utils/__init__.py,sha256=bn5aIKmURspLL34gdaIQQFlwm7afTOVQLc0PzHFisig,1067
46
+ aspose/cells/utils/coordinates.py,sha256=N0GxYRgGEKFHZaxzgA3doscZTgFoCSgf9lEl1RW3bP8,2231
47
+ aspose/cells/utils/exceptions.py,sha256=0d3Bf9WmeoQW-o3jsjiKj3B6BkY6PyaGcxm7ttEddvI,894
48
+ aspose/cells/utils/validation.py,sha256=q0SNqMalp8uuUipEQ35p4md8cBIhveZpa9F5ANzfCTs,2842
49
+ aspose_cells_foss-25.12.1.dist-info/METADATA,sha256=mM-LIg_WKa3BIJ5M7IqrJG1pcQvpNtmbScf595tGeE0,5938
50
+ aspose_cells_foss-25.12.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
51
+ aspose_cells_foss-25.12.1.dist-info/entry_points.txt,sha256=7G2RttlhWgEZGGGQaCMoopcT__kLtpOnicWn0TQSLXQ,81
52
+ aspose_cells_foss-25.12.1.dist-info/top_level.txt,sha256=oaVLKmiUSo0u7EtpqKJ11ARBx8ZWhYuUXJdy-lByYWg,7
53
+ aspose_cells_foss-25.12.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [markitdown.plugin]
2
+ aspose-cells-python = aspose.cells.plugins.markitdown_plugin
@@ -0,0 +1 @@
1
+ aspose