aspose-cells-python


Nameaspose-cells-python JSON
Version 24.4.0 PyPI version JSON
download
home_pagehttps://products.aspose.com/cells/
SummaryA powerful library for manipulating and converting Excel (XLS, XLSX, XLSB), CSV, ODS, PDF, JSON, JPG, PNG, BMP, EMF, SVG and HTML files.
upload_time2024-04-12 12:38:15
maintainerNone
docs_urlNone
authoraspose-cells
requires_python<3.12,>=3.9
licensehttps://company.aspose.com/legal/eula
keywords excel xls xlsx xlsb csv pdf jpg png html ods numbers xlsm ooxml spreadsheet markdown xps docx pptx mhtml txt json svg emf tiff
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Product description 
==================================


`Product Page <https://products.aspose.com/cells/python-net>`_ | `Docs <https://docs.aspose.com/cells/python-net/>`_ | `API Reference <https://reference.aspose.com/cells/python-net/>`_ | `Demos <https://products.aspose.app/cells/family/>`_ | `Blog <https://blog.aspose.com/category/cells/>`_ | `Code Samples <https://github.com/aspose-cells/Aspose.Cells-for-Python-via-.NET>`_ | `Free Support <https://forum.aspose.com/c/cells>`_ | `Temporary License <https://purchase.aspose.com/temporary-license>`_ | `EULA <https://company.aspose.com/legal/eula>`_

Try our `free online apps <https://products.aspose.app/cells/family>`_ demonstrating some of the most popular Aspose.Cells functionality.

A powerful library for manipulating and converting Excel (XLS, XLSX, XLSB), CSV, ODS, PDF, JSON, JPG, PNG, BMP, SVG, EMF and HTML files.



Aspsoe.Cells API Features
-------------------------

Aspose.Cells offers a wide arrange of features for creating, reading, manipulating and saving Excel® files:

* Spreadsheet generation & manipulation via API.
* High-quality file format conversion & rendering.
* Print Microsoft Excel® files to physical or virtual printers.
* Combine, modify, protect, or parse Excel® sheets.
* Apply worksheet formatting.
* Configure and apply page setup for the worksheets.
* Create & customize Excel® charts, Pivot Tables, conditional formatting rules, slicers, tables & spark-lines.
* Convert Excel® charts to images & PDF.
* Convert Excel® files to various other formats.
* Formula calculation engine that supports all basic and advanced Excel functions.

Supported Read & Write Formats
-----------------------------------

* Microsoft Excel®: XLS, XLSX, XLSB, XLSM, XLT, XLTX, XLTM, SpreadsheetML
* OpenOffice: ODS, SXC, FODS
* Text: JSON, TXT, CSV, TSV, Tab-Delimited
* Web: HTML, MHTML
* iWork®: Numbers

Save Excel® Files As
-----------------------------------
* Microsoft Word®: DOCX
* Microsoft PowerPoint®: PPTX
* Microsoft Excel®: XLAM
* Fixed Layout: PDF, XPS
* Text: JSON, TXT, CSV, TSV, Tab-Delimited, XML
* Image: TIFF, PNG, BMP, JPEG, GIF, SVG
* Metafile: EMF
* Markdown: MD

Create Excel File from scratch using Python
-------------------------------------------

.. code-block:: python

   # import the python package
   import aspose.cells
   from aspose.cells import License, Workbook, FileFormatType

   # Create a new Workbook
   workbook = Workbook()
   # Get the first worksheet
   worksheet = workbook.worksheets[0]
   # Get the "A1" cell
   cells = worksheet.cells
   cell = cells.get("A1")
   # Write "Hello World" to  "A1" in the first sheet
   cell.put_value("Hello World!")
   # save this workbook to XLSX
   workbook.save("HelloWorld.xlsx")




Convert Excel XLSX File to PDF using Python
-----------------------------------------------------

.. code-block:: python

   # import the python package
   import aspose.cells
   from aspose.cells import License, Workbook, FileFormatType

   workbook = Workbook("bookwithChart.xlsx")
   # save this workbook to resultFile,you can see a chart while open the file with MS-Excel*/
   workbook.save("Convert.pdf");



Create Excel File and set style for the cells
------------------------------------------------

.. code-block:: python

   import aspose.cells as ac
   import aspose.pydrawing as ad
   from aspose.cells import License, Workbook, FileFormatType

   workbook = Workbook()
   worksheet = workbook.worksheets[0]
   # get cells style
   style = worksheet.cells.style
   # set font color
   style.font.color = ad.Color.green
   # set pattern
   style.pattern = ac.BackgroundType.GRAY12
   # set Background
   style.background_color = ad.Color.red
   # set Border
   style.set_border(ac.BorderType.LEFT_BORDER, ac.CellBorderType.THIN, ad.Color.blue)
   style.set_border(ac.BorderType.RIGHT_BORDER, ac.CellBorderType.DOUBLE, ad.Color.gold)
   # set string value to cell 'A1'
   cells = worksheet.cells
   cell = cells.get("A1")
   cell.put_value("Text")
   # apply style to cell 'A1'
   cell.set_style(style)
   # save this workbook to resultFile
   workbook.save("Style.xlsx")



`Product Page <https://products.aspose.com/cells/python-net>`_ | `Docs <https://docs.aspose.com/cells/python-net/>`_ | `API Reference <https://reference.aspose.com/cells/python-net/>`_ | `Demos <https://products.aspose.app/cells/family/>`_ | `Blog <https://blog.aspose.com/category/cells/>`_ | `Free Support <https://forum.aspose.com/c/cells>`_ | `Temporary License <https://purchase.aspose.com/temporary-license>`_ | `EULA <https://company.aspose.com/legal/eula>`_

            

Raw data

            {
    "_id": null,
    "home_page": "https://products.aspose.com/cells/",
    "name": "aspose-cells-python",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.9",
    "maintainer_email": null,
    "keywords": "Excel, XLS, XLSX, XLSB, CSV, PDF, JPG, PNG, HTML, ODS, Numbers, XLSM, OOXML, Spreadsheet, Markdown, XPS, DOCX, PPTX, MHTML, TXT, JSON, SVG, EMF, TIFF",
    "author": "aspose-cells",
    "author_email": null,
    "download_url": null,
    "platform": "macos_arm64",
    "description": "Product description \n==================================\n\n\n`Product Page <https://products.aspose.com/cells/python-net>`_ | `Docs <https://docs.aspose.com/cells/python-net/>`_ | `API Reference <https://reference.aspose.com/cells/python-net/>`_ | `Demos <https://products.aspose.app/cells/family/>`_ | `Blog <https://blog.aspose.com/category/cells/>`_ | `Code Samples <https://github.com/aspose-cells/Aspose.Cells-for-Python-via-.NET>`_ | `Free Support <https://forum.aspose.com/c/cells>`_ | `Temporary License <https://purchase.aspose.com/temporary-license>`_ | `EULA <https://company.aspose.com/legal/eula>`_\n\nTry our `free online apps <https://products.aspose.app/cells/family>`_ demonstrating some of the most popular Aspose.Cells functionality.\n\nA powerful library for manipulating and converting Excel (XLS, XLSX, XLSB), CSV, ODS, PDF, JSON, JPG, PNG, BMP, SVG, EMF and HTML files.\n\n\n\nAspsoe.Cells API Features\n-------------------------\n\nAspose.Cells offers a wide arrange of features for creating, reading, manipulating and saving Excel\u00ae files:\n\n* Spreadsheet generation & manipulation via API.\n* High-quality file format conversion & rendering.\n* Print Microsoft Excel\u00ae files to physical or virtual printers.\n* Combine, modify, protect, or parse Excel\u00ae sheets.\n* Apply worksheet formatting.\n* Configure and apply page setup for the worksheets.\n* Create & customize Excel\u00ae charts, Pivot Tables, conditional formatting rules, slicers, tables & spark-lines.\n* Convert Excel\u00ae charts to images & PDF.\n* Convert Excel\u00ae files to various other formats.\n* Formula calculation engine that supports all basic and advanced Excel functions.\n\nSupported Read & Write Formats\n-----------------------------------\n\n* Microsoft Excel\u00ae: XLS, XLSX, XLSB, XLSM, XLT, XLTX, XLTM, SpreadsheetML\n* OpenOffice: ODS, SXC, FODS\n* Text: JSON, TXT, CSV, TSV, Tab-Delimited\n* Web: HTML, MHTML\n* iWork\u00ae: Numbers\n\nSave Excel\u00ae Files As\n-----------------------------------\n* Microsoft Word\u00ae: DOCX\n* Microsoft PowerPoint\u00ae: PPTX\n* Microsoft Excel\u00ae: XLAM\n* Fixed Layout: PDF, XPS\n* Text: JSON, TXT, CSV, TSV, Tab-Delimited, XML\n* Image: TIFF, PNG, BMP, JPEG, GIF, SVG\n* Metafile: EMF\n* Markdown: MD\n\nCreate Excel File from scratch using Python\n-------------------------------------------\n\n.. code-block:: python\n\n   # import the python package\n   import aspose.cells\n   from aspose.cells import License, Workbook, FileFormatType\n\n   # Create a new Workbook\n   workbook = Workbook()\n   # Get the first worksheet\n   worksheet = workbook.worksheets[0]\n   # Get the \"A1\" cell\n   cells = worksheet.cells\n   cell = cells.get(\"A1\")\n   # Write \"Hello World\" to  \"A1\" in the first sheet\n   cell.put_value(\"Hello World!\")\n   # save this workbook to XLSX\n   workbook.save(\"HelloWorld.xlsx\")\n\n\n\n\nConvert Excel XLSX File to PDF using Python\n-----------------------------------------------------\n\n.. code-block:: python\n\n   # import the python package\n   import aspose.cells\n   from aspose.cells import License, Workbook, FileFormatType\n\n   workbook = Workbook(\"bookwithChart.xlsx\")\n   # save this workbook to resultFile,you can see a chart while open the file with MS-Excel*/\n   workbook.save(\"Convert.pdf\");\n\n\n\nCreate Excel File and set style for the cells\n------------------------------------------------\n\n.. code-block:: python\n\n   import aspose.cells as ac\n   import aspose.pydrawing as ad\n   from aspose.cells import License, Workbook, FileFormatType\n\n   workbook = Workbook()\n   worksheet = workbook.worksheets[0]\n   # get cells style\n   style = worksheet.cells.style\n   # set font color\n   style.font.color = ad.Color.green\n   # set pattern\n   style.pattern = ac.BackgroundType.GRAY12\n   # set Background\n   style.background_color = ad.Color.red\n   # set Border\n   style.set_border(ac.BorderType.LEFT_BORDER, ac.CellBorderType.THIN, ad.Color.blue)\n   style.set_border(ac.BorderType.RIGHT_BORDER, ac.CellBorderType.DOUBLE, ad.Color.gold)\n   # set string value to cell 'A1'\n   cells = worksheet.cells\n   cell = cells.get(\"A1\")\n   cell.put_value(\"Text\")\n   # apply style to cell 'A1'\n   cell.set_style(style)\n   # save this workbook to resultFile\n   workbook.save(\"Style.xlsx\")\n\n\n\n`Product Page <https://products.aspose.com/cells/python-net>`_ | `Docs <https://docs.aspose.com/cells/python-net/>`_ | `API Reference <https://reference.aspose.com/cells/python-net/>`_ | `Demos <https://products.aspose.app/cells/family/>`_ | `Blog <https://blog.aspose.com/category/cells/>`_ | `Free Support <https://forum.aspose.com/c/cells>`_ | `Temporary License <https://purchase.aspose.com/temporary-license>`_ | `EULA <https://company.aspose.com/legal/eula>`_\n",
    "bugtrack_url": null,
    "license": "https://company.aspose.com/legal/eula",
    "summary": "A powerful library for manipulating and converting Excel (XLS, XLSX, XLSB), CSV, ODS, PDF, JSON, JPG, PNG, BMP, EMF, SVG and HTML files.",
    "version": "24.4.0",
    "project_urls": {
        "Homepage": "https://products.aspose.com/cells/"
    },
    "split_keywords": [
        "excel",
        " xls",
        " xlsx",
        " xlsb",
        " csv",
        " pdf",
        " jpg",
        " png",
        " html",
        " ods",
        " numbers",
        " xlsm",
        " ooxml",
        " spreadsheet",
        " markdown",
        " xps",
        " docx",
        " pptx",
        " mhtml",
        " txt",
        " json",
        " svg",
        " emf",
        " tiff"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73d23a793a7f832d968154bfd6cef3d2a3563dd11fb707d0c59b76f885f62211",
                "md5": "602853043bf28c08a505b1b33b6259c6",
                "sha256": "f597184050b159d3655535aa07f311e3e5a7e0ca9dccb42edac1e87fdb004fa4"
            },
            "downloads": -1,
            "filename": "aspose_cells_python-24.4.0-py3-none-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "602853043bf28c08a505b1b33b6259c6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 75600414,
            "upload_time": "2024-04-12T12:38:15",
            "upload_time_iso_8601": "2024-04-12T12:38:15.314996Z",
            "url": "https://files.pythonhosted.org/packages/73/d2/3a793a7f832d968154bfd6cef3d2a3563dd11fb707d0c59b76f885f62211/aspose_cells_python-24.4.0-py3-none-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "01bcb9bb7b7d654aa80c2612eedc4ae2779b22dcee7010f636e1053157c1cb08",
                "md5": "58016675d79263c75c737c0db74ba20d",
                "sha256": "07a312e247e9df67db05fb003cc6520e774c1a969642035cd567bf4e9136f67f"
            },
            "downloads": -1,
            "filename": "aspose_cells_python-24.4.0-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "58016675d79263c75c737c0db74ba20d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 57770069,
            "upload_time": "2024-04-12T12:37:01",
            "upload_time_iso_8601": "2024-04-12T12:37:01.927542Z",
            "url": "https://files.pythonhosted.org/packages/01/bc/b9bb7b7d654aa80c2612eedc4ae2779b22dcee7010f636e1053157c1cb08/aspose_cells_python-24.4.0-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c940e1a6ed671e5b0cb6ee98f8c09a89aa2c7997559d0c7c75a8ae0d740e28ed",
                "md5": "c976f6ced1f81670fe99088739286bbf",
                "sha256": "473532647fd6f458754984faefd63af4cb060f897d20d82421e7fc34f611d7b3"
            },
            "downloads": -1,
            "filename": "aspose_cells_python-24.4.0-py3-none-win32.whl",
            "has_sig": false,
            "md5_digest": "c976f6ced1f81670fe99088739286bbf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 47834774,
            "upload_time": "2024-04-12T12:40:40",
            "upload_time_iso_8601": "2024-04-12T12:40:40.794992Z",
            "url": "https://files.pythonhosted.org/packages/c9/40/e1a6ed671e5b0cb6ee98f8c09a89aa2c7997559d0c7c75a8ae0d740e28ed/aspose_cells_python-24.4.0-py3-none-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f3a864abb8bfcc2b0da4769eacf383b4a45b7e84d7679f945f8088055316e8c0",
                "md5": "0b2256af9fbb8167866168d5e44eabc7",
                "sha256": "2bfaf6e18b948f6e75e5d3c640959d32f2cc953326d6f9564dd1110ed17ca4e1"
            },
            "downloads": -1,
            "filename": "aspose_cells_python-24.4.0-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "0b2256af9fbb8167866168d5e44eabc7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 55522309,
            "upload_time": "2024-04-12T12:43:16",
            "upload_time_iso_8601": "2024-04-12T12:43:16.710248Z",
            "url": "https://files.pythonhosted.org/packages/f3/a8/64abb8bfcc2b0da4769eacf383b4a45b7e84d7679f945f8088055316e8c0/aspose_cells_python-24.4.0-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-12 12:38:15",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-cells-python"
}
        
Elapsed time: 0.23705s