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
fromSaveOptionsData
toFixedPageSaveOptionsData
. - Replaced
MemoryStream
andbyte[]
withSixLabors.ImageSharp.IImage
in image processing. - Included support of
ICC
profiles and implementICCBased
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
Built Distribution
Hashes for aspose-words-cloud-20.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5954e4ad527829c1a1f8ca3757c8455b2260989fddeb3ff1088e5465c4fe0daf |
|
MD5 | 7da9fd6e0944f6031173ac8c6011eea6 |
|
BLAKE2b-256 | 79479cd4451190d7a4b69e8c320c853671b734f0aa12715d21433621094e2986 |
Hashes for aspose_words_cloud-20.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6424dd4215101fdfc6a76abaa6d0337da01e544c8fb4e60acd5e0dbc2f82fda4 |
|
MD5 | 06d2262ae6c30947769152a126606130 |
|
BLAKE2b-256 | 3cb6bc70563353256208f4e8458ebbb2a966d4ffe370f5e37caac3e9b461d1a4 |