Skip to main content

Python Cloud SDK wraps Aspose.Words Cloud API so you could seamlessly integrate Microsoft Word file generation, manipulation, conversion & inspection features into your own python applications.

Project description

Python Cloud SDK wraps Aspose.Words Cloud API so you could seamlessly integrate Microsoft Word® file generation, manipulation, conversion & inspection features into your own python applications.

Aspose.Words Cloud SDK for Python allows to work with Word document headers, footers, page numbering, tables, sections, document comments, drawing objects, FormFields, fonts, hyperlinks, ranges, paragraphs, math objects, watermarks, revisions and document protection. It also assists in appending documents, splitting documents as well as converting document to other supported file formats. Please feel free to explore the Developer's Guide for all possible usage scenarios.

Document Processing Features

  • Programmatically create new documents of various file formats.
  • Availability of Mail Merge and report generation features.
  • Split or merge documents on demand.
  • Manage watermarks and protection.
  • Full read & write access to Document Object Model.
  • Fetch web pages via URL and save in Microsoft Word file formats.
  • Get document information in JSON or XML representation.
  • Fetch statistical data of a document.
  • Remove all macros contained in a specific document.
  • Convert a document to desired file format along with detailed settings.
  • Convert an encrypted PDF document into Word document format.

Enhancements in Version 20.6.0

  • Added OoxmlSaveOption CompressionLevel property
  • Added group of methods without nodePath property
    • DeleteAllParagraphTabStops
    • DeleteParagraphListFormat
    • DeleteParagraphTabStop
    • GetParagraphTabStops
    • InsertOrUpdateParagraphTabStop
    • InsertParagraph
    • UpdateParagraphFormat
    • UpdateParagraphListFormat
  • In methods InsertOrUpdateParagraphTabStop, DeleteParagraphTabStop order of parameters has changed NodePath was moved to one position next, like if it was second before, now it's third.

Enhancements in Version 20.5.0

  • Added methods to work with Word document lists
    • GetLists
    • GetList
    • InsertList
    • UpdateList
    • UpdateListLevel
  • Added methods to work with styles
    • GetStyles
    • UpdateStyle
    • InsertStyle
    • CopyStyle
    • GetStyleFromDocumentElement
    • ApplyStyleToDocumentElement
  • Added methods to work with paragraph list format
    • GetParagraphListFormat
    • GetParagraphListFormatWithoutNodePath
    • UpdateParagraphListFormat
    • DeleteParagraphListFormat
  • Added methods to work with paragraph tab stops
    • GetParagraphTabStops
    • InsertOrUpdateParagraphTabStop
    • DeleteAllParagraphTabStops
    • DeleteParagraphTabStop
  • Added methods to build reports
    • BuildReport
    • BuildReportOnline
  • Added Shading property to ParagraphFormat

Enhancements in Version 20.4.0

  • Added CompareOptions property to CompareData class
  • Added Password property to OdtSaveOptions class
  • Added Dml3DEffectsRenderingMode property to SaveOptions class
  • Added UpdateLastPrintedProperty property to SaveOptions class
  • Added InterpolateImages property to PdfSaveOptions class
  • Added UseTargetMachineFonts property to HtmlFixedSaveOptions class
  • Added some request data classes:
    • RunUpdate and RunInsert
    • FootnoteUpdate and FootnoteInsert
    • FieldUpdate and FieldInsert
    • CommentUpdate and CommentInsert
    • DocumentPropertyCreateOrUpdate

Enhancements in Version 20.3.1

  • Added RtfSaveOptionsData.SaveImagesAsWmf property
  • WordsApi class now has credentials parameters
  • All methods which are used files, now operate with bytes array

Enhancements in Version 20.1.0

  • Moved property ColorMode from SaveOptionsData to FixedPageSaveOptionsData.
  • Replaced MemoryStream and byte[] with SixLabors.ImageSharp.IImage in image processing.
  • Included support of ICC profiles and implement ICCBased color space.

For the detailed notes, please visit Aspose.Words Cloud 20.1 Release Notes.

Read & Write Document Formats

Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, FlatOPC (XML) OpenOffice: ODT, OTT WordprocessingML: XML Web: HTML, MHTML, HtmlFixed Text: TXT Fixed Layout: PDF

Save Document As

Fixed Layout: PDF/A, XPS, OpenXPS, PS Images: JPEG, PNG, BMP, SVG, TIFF, EMF Others: PCL

Platform Independence

Aspose.Words Cloud’s platform independent document manipulation API is a true REST API that can be used from any platform. You can use it with any language or platform that supports REST, be it the web, desktop, mobile, or the cloud. The API integrates with other cloud services to provide you the flexibility you require for processing documents. It is suitable for the most types of businesses, documents, or content.

Getting Started with Aspose.Words Cloud SDK for Python

Firstly, create an account at Aspose for Cloud to get your application information and free quota to use the API. Now execute pip install aspose-words-cloud from the command line to fetch the SDK. Then import the package via import asposewordscloud.

Install via Setuptools

Execute python setup.py install --user and import the package as import asposewordscloud.

The complete source code is available at GitHub Repository.

Delete Watermarks from Word Document via Python

        # Start README example

        self.words_api = asposewordscloud.WordsApi(api_sid, api_key)
        self.words_api.api_client.configuration.host = base_url

        upload_request = asposewordscloud.models.requests.UploadFileRequest(
            open(os.path.join(local_folder, filename), 'rb'), os.path.join(remote_folder, remote_name))
        self.words_api.upload_file(upload_request)

        request = asposewordscloud.models.requests.DeleteWatermarkRequest(remote_name, remote_folder)
        self.words_api.delete_watermark(request)

        # End README example

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aspose-words-cloud-20.6.0.tar.gz (310.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aspose_words_cloud-20.6.0-py3-none-any.whl (917.1 kB view details)

Uploaded Python 3

File details

Details for the file aspose-words-cloud-20.6.0.tar.gz.

File metadata

  • Download URL: aspose-words-cloud-20.6.0.tar.gz
  • Upload date:
  • Size: 310.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for aspose-words-cloud-20.6.0.tar.gz
Algorithm Hash digest
SHA256 b795cd5b93b374d54d13e3fcacac17acf67860f594b498d57c8da823eac255b5
MD5 170571c3084f07193724834a374996a7
BLAKE2b-256 c0031e5cd62807f65039b83dcf4d90c38278c0e0d7b270aecfb05d2039a67f2a

See more details on using hashes here.

File details

Details for the file aspose_words_cloud-20.6.0-py3-none-any.whl.

File metadata

  • Download URL: aspose_words_cloud-20.6.0-py3-none-any.whl
  • Upload date:
  • Size: 917.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for aspose_words_cloud-20.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 075f9d2103d402c9948ab3be7e0892be22fc2c4e9f008502367c80b1fffbfbf2
MD5 1235daf94857454fb0f22288a93560b5
BLAKE2b-256 b696cceba07586a1692c8797b6293eef1ae18120b32d4301d0db5500c01255fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page