Metadata-Version: 2.4
Name: asposepdfcloud
Version: 26.4.0
Summary: Aspose.PDF Cloud
Home-page: https://products.aspose.cloud/pdf/cloud
Author: Aspose PDF Cloud
Author-email: 
License: MIT
Project-URL: Source With Tests, https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python
Project-URL: Website, https://www.aspose.cloud
Project-URL: Product Home, https://products.aspose.cloud/pdf/cloud
Project-URL: Documentation, https://docs.aspose.cloud/display/pdfcloud/Home
Project-URL: Free Support Forum, https://forum.aspose.cloud/c/pdf
Project-URL: Paid Support Helpdesk, https://helpdesk.aspose.cloud/
Project-URL: Blog, https://blog.aspose.cloud/category/aspose-products/aspose-pdf-product-family/
Keywords: Aspose,Cloud,PDF,Aspose.PDF,Aspose.PDF-Cloud,Aspose.Total-Cloud,REST,API,EPUB,HTML,TEX,MHT,PCL,PS,PostScript,SVG,XML,XPS,XSLFO,MD,Markdown,XLS,XLSX,PPTX,DOC,DOCX,EPUB,HTML,MobiXML,SVG,JPEG,EMF,PNG,BMP,GIF,TIFF,XML,XPS,Text,FDF,XFDF,PDFA3,PDF-to-DOC,PDF-to-DOCX,PDF-to-HTML,PDF-to-PDFA,PDF-to-TIFF,PDF-to-SVG,PDF-to-EPUB,PDF-to-PPTX,PDF-to-TEX,PDF-to-MobiXML,PDF-to-XFA,PDF-to-XML,PDF-to-XPS,PDF-to-XLS,EPUB-to-PDF,Web-to-PDF,TEX-to-PDF,MHT-to-PDF,HTML-to-PDF,PS-to-PDF,PostScript-to-PDF,XSIF-to-PDF,XPS-to-PDF,SVG-to-PDF,DOC-to-PDF,DOCX-to-PDF,PCL-to-PDF,XML-to-PDF,Markdown-to-PDF,MD-to-PDF,Annotation,Line-Annotation,Circle-Annotation,Square-Annotation,Underline-Annotation,Squiggly-Annotation,PDF-Bookmark,PDF-Link,PDF-Attachment,PDF-Document,PDF-Page,PDF-Form-Fields,PDF-Text,PDF-Image,Replace-Text,Fetch-Text,Replace-Image,Extract-Image,Convert-PDF,Convert,Converter,PDF-to-Image,Create-PDF,Convert-PDF,Stamp,PDF-OCR,OCR-Layers,.NET,C#,dotnet,CSharp
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: urllib3>=1.15
Requires-Dist: six>=1.10
Requires-Dist: certifi>=14.05.14
Requires-Dist: python-dateutil>=2.5.3
Requires-Dist: setuptools>=21.0.0
Provides-Extra: test
Requires-Dist: requests>=2.18.4; extra == "test"
Requires-Dist: coverage>=4.0.3; extra == "test"
Requires-Dist: nose>=1.3.7; extra == "test"
Requires-Dist: pluggy>=0.3.1; extra == "test"
Requires-Dist: py>=1.4.31; extra == "test"
Requires-Dist: randomize>=0.13; extra == "test"
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

﻿![](https://img.shields.io/badge/api-v3.0-lightgrey) ![PyPI](https://img.shields.io/pypi/v/asposepdfcloud) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/asposepdfcloud) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/asposepdfcloud) [![GitHub license](https://img.shields.io/github/license/aspose-pdf-cloud/aspose-pdf-cloud-python)](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python/blob/master/LICENSE)

# Python REST API to Process PDF in Cloud
[Aspose.PDF Cloud](https://products.aspose.cloud/pdf) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of PDF documents in the cloud.

Our Cloud SDKs are wrappers around REST API in various programming languages, allowing you to process documents in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights. This repository contains new generation SDKs for Aspose.PDF Cloud and examples.

These SDKs are now fully supported. If you have any questions, see any bugs or have enhancement request, feel free to reach out to us at [Free Support Forums](https://forum.aspose.cloud/c/pdf).

Extract Text & Images of a PDF document online https://products.aspose.app/pdf/parser.

## PDF Processing Features
- Add PDF document's header & footer in text or image format.
- Add tables & stamps (text or image) to PDF documents.
- Append multiple PDF documents to an existing file.
- Work with PDF attachments, annotations, & form fields.
- Apply encryption or decryption to PDF documents & set a password.
- Delete all stamps & tables from a page or entire PDF document.
- Delete a specific stamp or table from the PDF document by its ID.
- Replace single or multiple instances of text on a PDF page or from the entire document.
- Extensive support for converting PDF documents to various other file formats.
- Extract various elements of PDF files & make PDF documents optimized.

## Read & Write PDF Formats
PDF, EPUB, HTML, TeX, SVG, XML, XPS, FDF, XFDF

## Save PDF As
XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text

## Read PDF Formats
MHT, PCL, PS, XSLFO, MD

## Requirements.
Python 2.7 and 3.4+

## Enhancements in Version 26.4
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.

## Platform Independence

Aspose.Pdf 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.Pdf Cloud SDK for Python

Firstly, create an account at [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) to get your application information and free quota to use the API.
Now execute from the command line command to fetch the SDK. 
```sh
pip install asposepdfcloud
```

If the python package is hosted on Github, you can install directly from Github

```sh
pip install git+https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python.git
```


Then import the package:
```python
import asposepdfcloud
```

### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import asposepdfcloud
```

## Get PDF Page Annotations in Python
```python
	# Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	pdf_api_client = asposepdfcloud.ApiClient('MY_CLIENT_SECRET', 'MY_CLIENT_ID')
	pdf_api = asposepdfcloud.PdfApi(pdf_api_client)
	file_name = 'sample.pdf'
	page_number = 1
	response = pdf_api.get_page_annotations(file_name, page_number, folder=temp_folder)
```

## SelfHost Aspose.PDF Cloud
Create **ApiClient** object without **client_secret** and **client_id** parameters, but with **host** parameter set to *url of [SelfHost Aspose.PDF Cloud](https://hub.docker.com/r/aspose/pdf-cloud)* and **self_host** parameter set to *True*:
```python
	pdf_api_client = asposepdfcloud.ApiClient('', '', 'MY_SELFHOST_URL', True)
```

## Use cases

The Aspose.PDF Cloud SDK includes a set of ready-to-run use cases in the "[Uses-Cases](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python/tree/master/Uses-Cases)" directory. These examples illustrate common operations such as managing annotations, attachments, text, and more.

1. Add your API credentials **client_id** and **client_secret** into [settings/credentials.json](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python/tree/master/settings/credentials.json):

```
{
  "client_secret": "YOUR_CLIENT_SECRET",
  "client_id": "YOUR_CLIENT_ID"
}
```
2. Launch use case:
```
python Uses-Cases/Annotations/annotations_launch.py
```

## Unit Tests
Aspose PDF SDK includes a suite of unit tests. These Unit Tests also serves as examples of how to use the Aspose PDF SDK.

## Licensing
All Aspose.PDF Cloud SDKs are licensed under [MIT License](LICENSE).
