Skip to content

Commit f6a7225

Browse files
Merge pull request #13 from aspose-email-cloud/develop
Develop
2 parents 30e47c8 + 235ab6b commit f6a7225

File tree

735 files changed

+19637
-38464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

735 files changed

+19637
-38464
lines changed

README.md

Lines changed: 36 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,44 @@
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.
23+
24+
## New features in version 20.9
2225

23-
## New features in version 20.7
24-
- New MAPI message files API with models:
25-
- `MapiMessageDto` - represents the Microsoft Outlook message.
26-
- `MapiCalendarDto` - represents the Microsoft Outlook calendar object.
27-
- `MapiContactDto` - represents the Microsoft Outlook contact information.
28-
- Improved Recurrence pattern support for CalendarDto.
26+
Aspose.Email Cloud SDK 20.9.0 is based on a new v4.0 REST API.
2927

30-
See [Release notes](https://docs.aspose.cloud/display/emailcloud/Aspose.Email+Cloud+20.7+Release+Notes)
28+
- All SDK functions are divided into groups (Email, Calendar, Contact, Client, Ai, Mapi, etc.).
29+
- Unified file API provided for supported file types (Save, Get, Convert, AsFile, FromFile, AsMapi/AsDto).
30+
- HierarchicalObject based API is removed.
31+
- All models are stored in one folder/namespace.
32+
- The request models are simplified.
33+
34+
See [Release notes](https://docs.aspose.cloud/display/emailcloud/Aspose.Email+Cloud+20.9+Release+Notes).
3135

3236
## How to use the SDK?
33-
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).
3438

35-
Use [SDK tutorials](https://docs.aspose.cloud/display/emailcloud/SDK+Tutorials):
36-
- [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup) - installation, account setup, first API calls
37-
- [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
38-
- [Working with Name API](https://docs.aspose.cloud/display/emailcloud/Working+with+Name+API) - format, genderize, compare, parse, autocomplete names
39-
- [Email Message Files](https://docs.aspose.cloud/display/emailcloud/Email+Message+Files) - Convert EML to MSG and back, edit EML files, etc.
40-
- [Quick Start With iCalendar API](https://docs.aspose.cloud/display/emailcloud/Quick+Start+With+iCalendar+API) - Crate and edit iCalendar files
41-
- [Quick Start With VCard API](https://docs.aspose.cloud/display/emailcloud/Quick+Start+With+VCard+API) - Create and edit VCard files, business card recognition
42-
- [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
43-
- [Email Client Threads](https://docs.aspose.cloud/display/emailcloud/Email+Client+Threads) - Fetch/Move/Delete email message threads using builtin email client
44-
- [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).
4540

46-
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).
4742

4843
### Prerequisites
4944

@@ -55,50 +50,28 @@ You can use it directly in your project via the source code or get a [PYPI Packa
5550

5651
pip install aspose-email-cloud
5752

58-
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).
5954

6055
### Usage examples
6156

62-
To use the API, you should create an EmailApi object:
57+
To use the API, you should create an EmailCloud object:
6358
```python
6459
from AsposeEmailCloudSdk import api #EmailApi class is here
6560
from AsposeEmailCloudSdk import models #REST API models are here
66-
from AsposeEmailCloudSdk.models import requests #Request models are here (all API calls use corresponding request model class)
6761

6862
#...
6963
app_sid = 'Your App SID'
7064
app_key = 'Your App Key'
71-
email_api = api.EmailApi(app_key, app_sid)
65+
email_cloud = api.EmailCloud(app_key, app_sid)
7266
```
7367

7468
#### Business cards recognition API
75-
Use `AiBcrParseModel` method to parse business card image to VCard DTO:
69+
Use `AiBcrApi.parse` method to parse business card image to VCard DTO:
7670
```python
77-
image_data = None
78-
with open('/tmp/alex.png', 'rb') as f:
79-
filedata = f.read()
80-
image_data = str(base64.b64encode(filedata), 'utf-8')
81-
result = email_api.ai_bcr_parse_model(requests.AiBcrParseModelRequest(
82-
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))
8373
contact = result.value[0]
74+
assert 'Parsed Display Name' in contact.display_name
8475
```
85-
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)
86-
87-
# Licensing
88-
All Aspose.Email Cloud SDKs, helper scripts and templates are licensed under [MIT License](LICENSE).
89-
90-
# Resources
91-
+ [**SDK Reference documentation**](sdk/docs/README.md)
92-
+ [**Website**](https://www.aspose.cloud)
93-
+ [**Product Home**](https://products.aspose.cloud/Email/cloud)
94-
+ [**Documentation**](https://docs.aspose.cloud/display/Emailcloud/Home)
95-
+ [**API Reference**](https://apireference.aspose.cloud/email/)
96-
+ [**Free Support Forum**](https://forum.aspose.cloud/c/email)
97-
+ [**Paid Support Helpdesk**](https://helpdesk.aspose.cloud/)
98-
+ [**Blog**](https://blog.aspose.cloud/category/aspose-products/aspose-email-cloud/)
99-
+ [**Git repository: Aspose.Email Cloud SDK for .Net**](https://github.com/aspose-email-cloud/aspose-email-cloud-dotnet)
100-
+ [**Git repository: Aspose.Email Cloud SDK for Ruby**](https://github.com/aspose-email-cloud/aspose-email-cloud-ruby)
101-
+ [**Git repository: Aspose.Email Cloud SDK for Python**](https://github.com/aspose-email-cloud/aspose-email-cloud-python)
102-
+ [**Git repository: Aspose.Email Cloud SDK for PHP**](https://github.com/aspose-email-cloud/aspose-email-cloud-php)
103-
+ [**Git repository: Aspose.Email Cloud SDK for Typescript**](https://github.com/aspose-email-cloud/aspose-email-cloud-node)
104-
+ [**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)

0 commit comments

Comments
 (0)