Skip to content

Commit a7a02d6

Browse files
SDK version 20.9.0.138 generated
1 parent 166d113 commit a7a02d6

File tree

2 files changed

+28
-58
lines changed

2 files changed

+28
-58
lines changed

README.md

Lines changed: 27 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
# Aspose.Email Cloud SDK for Python
1+
# Manage Emails in Cloud via Python REST SDK
22
[![PYPI](https://img.shields.io/pypi/v/aspose-email-cloud)](https://pypi.org/project/aspose-email-cloud/) [![License](https://img.shields.io/github/license/aspose-email-cloud/aspose-email-cloud-python)](https://pypi.org/project/aspose-email-cloud/) ![tests](https://github.com/aspose-email-cloud/aspose-email-cloud-python/workflows/tests/badge.svg)
33

4-
This repository contains Aspose.Email Cloud SDK for Python source code. This SDK allows you to work with Aspose.Email Cloud REST APIs in your Python applications quickly and easily, with zero initial cost.
4+
[Aspose.Email Cloud SDK for Python](https://products.aspose.cloud/email/python) is a REST API SDK for creating email applications that work with standard email file formats such as Outlook MSG, EML, iCalendar files and VCard.
55

6-
[Aspose.Email Cloud home](https://products.aspose.cloud/email/family "Aspose.Email Cloud")
6+
This SDK allows you to work with Aspose.Email Cloud REST APIs in your Python applications quickly and easily, with zero initial cost.
7+
8+
[Aspose.Email Cloud home](https://products.aspose.cloud/email/family)
79
[API Reference](https://apireference.aspose.cloud/email/)
810

9-
# Key features
11+
# Cloud Email Processing Features
1012
Aspose.Email Cloud is a REST API for creating email applications that work with standard email file formats. This SDK:
11-
- Lets developers manipulate different emails’ formats such as Outlook MSG, EML, VCard, and iCalendar files
12-
- Lets developers manipulate different emails' formats such as Outlook MSG, EML, VCard, and iCalendar files
13+
- Lets developers manipulate different emails' formats such as Outlook MSG, EML, VCard, and iCalendar files.
1314
- Supports AI functions:
14-
- The Business card recognition
15-
- The Name API for parsing and handling personal names
15+
- The Business card recognition.
16+
- The Name API for parsing and handling personal names.
1617
- Has a built-in email client. This client provides:
17-
- Unified REST API for different email protocols: IMAP, POP3, SMTP, EWS, WebDav
18-
- Virtual multi-account
19-
- Message threads (POP3 accounts are also supported)
20-
- Email configuration discovery
21-
- Disposable email address detection
18+
- Unified REST API for different email protocols: IMAP, POP3, SMTP, EWS, WebDav.
19+
- Virtual multi-account.
20+
- Message threads (POP3 accounts are also supported).
21+
- Email configuration discovery.
22+
- Disposable email address detection.
2223

2324
## New features in version 20.9
2425

@@ -33,20 +34,11 @@ Aspose.Email Cloud SDK 20.9.0 is based on a new v4.0 REST API.
3334
See [Release notes](https://docs.aspose.cloud/display/emailcloud/Aspose.Email+Cloud+20.9+Release+Notes).
3435

3536
## How to use the SDK?
36-
The complete source code is available in the GIT repository.
37+
The complete source code is available in the [GIT repository](https://github.com/aspose-email-cloud/aspose-email-cloud-python/tree/master/sdk/AsposeEmailCloudSdk).
3738

38-
Use [SDK tutorials](https://docs.aspose.cloud/display/emailcloud/SDK+Tutorials):
39-
- [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup) - installation, account setup, first API calls
40-
- [Business Cards Recognition API](https://docs.aspose.cloud/display/emailcloud/Business+Cards+Recognition+API) - convert captured business cards and name card images, into a vCard format
41-
- [Working with Name API](https://docs.aspose.cloud/display/emailcloud/Working+with+Name+API) - format, genderize, compare, parse, autocomplete names
42-
- [Email Message Files](https://docs.aspose.cloud/display/emailcloud/Email+Message+Files) - Convert EML to MSG and back, edit EML files, etc.
43-
- [Quick Start With iCalendar API](https://docs.aspose.cloud/display/emailcloud/Quick+Start+With+iCalendar+API) - Crate and edit iCalendar files
44-
- [Quick Start With VCard API](https://docs.aspose.cloud/display/emailcloud/Quick+Start+With+VCard+API) - Create and edit VCard files, business card recognition
45-
- [Quick Start With Email Client](https://docs.aspose.cloud/display/emailcloud/Quick+Start+With+Email+Client) - Setup builtin email client, search/fetch/send/move/delete messages
46-
- [Email Client Threads](https://docs.aspose.cloud/display/emailcloud/Email+Client+Threads) - Fetch/Move/Delete email message threads using builtin email client
47-
- [File converters](https://docs.aspose.cloud/display/emailcloud/Convert+Email%2C+Calendar+and+Contact+Files)
39+
Use [SDK tutorials](https://docs.aspose.cloud/display/emailcloud/SDK+Tutorials).
4840

49-
SDK reference documentation is available in [this README](sdk/docs/README.md)
41+
SDK reference documentation is available in [this README](https://github.com/aspose-email-cloud/aspose-email-cloud-python/blob/master/sdk/docs/README.md).
5042

5143
### Prerequisites
5244

@@ -56,52 +48,30 @@ To use this SDK, you need an App SID and an App Key; they can be looked up at [A
5648

5749
You can use it directly in your project via the source code or get a [PYPI Package](https://pypi.org/project/aspose-email-cloud/):
5850

59-
pip install aspose-email-cloud
51+
pip install aspose-email-cloud
6052

61-
See more details about SDK installation in this tutorial: [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup)
53+
See more details about SDK installation in this tutorial: [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup).
6254

6355
### Usage examples
6456

65-
To use the API, you should create an EmailApi object:
57+
To use the API, you should create an EmailCloud object:
6658
```python
6759
from AsposeEmailCloudSdk import api #EmailApi class is here
6860
from AsposeEmailCloudSdk import models #REST API models are here
69-
from AsposeEmailCloudSdk.models import requests #Request models are here (all API calls use corresponding request model class)
7061

7162
#...
7263
app_sid = 'Your App SID'
7364
app_key = 'Your App Key'
74-
email_api = api.EmailApi(app_key, app_sid)
65+
email_cloud = api.EmailCloud(app_key, app_sid)
7566
```
7667

7768
#### Business cards recognition API
78-
Use `AiBcrParseModel` method to parse business card image to VCard DTO:
69+
Use `AiBcrApi.parse` method to parse business card image to VCard DTO:
7970
```python
80-
image_data = None
81-
with open('/tmp/alex.png', 'rb') as f:
82-
filedata = f.read()
83-
image_data = str(base64.b64encode(filedata), 'utf-8')
84-
result = email_api.ai_bcr_parse_model(requests.AiBcrParseModelRequest(
85-
models.AiBcrBase64Rq(images=[models.AiBcrBase64Image(True, image_data)])))
71+
path = 'path/to/image/to/parse.png'
72+
result = email_cloud.ai.bcr.parse(models.AiBcrParseRequest(image_file))
8673
contact = result.value[0]
74+
assert 'Parsed Display Name' in contact.display_name
8775
```
88-
See more details [here](https://docs.aspose.cloud/display/emailcloud/Parse+Image+To+VCard+File) and [here](https://docs.aspose.cloud/display/emailcloud/Business+Cards+Recognition+API)
89-
90-
# Licensing
91-
All Aspose.Email Cloud SDKs, helper scripts and templates are licensed under [MIT License](LICENSE).
92-
93-
# Resources
94-
+ [**SDK Reference documentation**](sdk/docs/README.md)
95-
+ [**Website**](https://www.aspose.cloud)
96-
+ [**Product Home**](https://products.aspose.cloud/Email/cloud)
97-
+ [**Documentation**](https://docs.aspose.cloud/display/Emailcloud/Home)
98-
+ [**API Reference**](https://apireference.aspose.cloud/email/)
99-
+ [**Free Support Forum**](https://forum.aspose.cloud/c/email)
100-
+ [**Paid Support Helpdesk**](https://helpdesk.aspose.cloud/)
101-
+ [**Blog**](https://blog.aspose.cloud/category/aspose-products/aspose-email-cloud/)
102-
+ [**Git repository: Aspose.Email Cloud SDK for .Net**](https://github.com/aspose-email-cloud/aspose-email-cloud-dotnet)
103-
+ [**Git repository: Aspose.Email Cloud SDK for Ruby**](https://github.com/aspose-email-cloud/aspose-email-cloud-ruby)
104-
+ [**Git repository: Aspose.Email Cloud SDK for Python**](https://github.com/aspose-email-cloud/aspose-email-cloud-python)
105-
+ [**Git repository: Aspose.Email Cloud SDK for PHP**](https://github.com/aspose-email-cloud/aspose-email-cloud-php)
106-
+ [**Git repository: Aspose.Email Cloud SDK for Typescript**](https://github.com/aspose-email-cloud/aspose-email-cloud-node)
107-
+ [**Git repository: Aspose.Email Cloud SDK for Java**](https://github.com/aspose-email-cloud/aspose-email-cloud-java)
76+
77+
[Product Page](https://products.aspose.cloud/email/python) | [Documentation](https://docs.aspose.cloud/display/Emailcloud/Home) | [Demo](https://products.aspose.app/email/family) | [API Reference](https://apireference.aspose.cloud/email/) | [Blog](https://blog.aspose.cloud/category/email/) | [Free support](https://forum.aspose.cloud/c/email) | [Free trial](https://dashboard.aspose.cloud/#/apps)

sdk/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from setuptools import setup, find_packages # noqa: H301
99

1010
NAME = "aspose-email-cloud"
11-
VERSION = "20.9.0.137"
11+
VERSION = "20.9.0.138"
1212
# To install the library, run the following
1313
#
1414
# python setup.py install

0 commit comments

Comments
 (0)