1- # Aspose.Email Cloud SDK for Python
1+ # Aspose.Email Cloud SDK for Python
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
44This 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.
55
6- [ Aspose.Email Cloud home] ( https://products.aspose.cloud/email/family " Aspose.Email Cloud ")
6+ [ Aspose.Email Cloud home] ( https://products.aspose.cloud/email/family " Aspose.Email Cloud ")
77[ API Reference] ( https://apireference.aspose.cloud/email/ )
88
99# Key features
1010Aspose.Email Cloud is a REST API for creating email applications that work with standard email file formats. This SDK:
1111- Lets developers manipulate different emails’ formats such as Outlook MSG, EML, VCard, and iCalendar files
1212- Lets developers manipulate different emails' formats such as Outlook MSG, EML, VCard, and iCalendar files
1313- Supports AI functions:
14- - The Business card recognition
15- - The Name API for parsing and handling personal names
14+ - The Business card recognition
15+ - The Name API for parsing and handling personal names
1616- 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)
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)
2020- Email configuration discovery
2121- Disposable email address detection
2222
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.
23+ ## New features in version 20.9
2924
30- See [ Release notes] ( https://docs.aspose.cloud/display/emailcloud/Aspose.Email+Cloud+20.7+Release+Notes )
25+ Aspose.Email Cloud SDK 20.9.0 is based on a new v4.0 REST API.
26+
27+ - All SDK functions are divided into groups (Email, Calendar, Contact, Client, Ai, Mapi, etc.).
28+ - Unified file API provided for supported file types (Save, Get, Convert, AsFile, FromFile, AsMapi/AsDto).
29+ - HierarchicalObject based API is removed.
30+ - All models are stored in one folder/namespace.
31+ - The request models are simplified.
32+
33+ See [ Release notes] ( https://docs.aspose.cloud/display/emailcloud/Aspose.Email+Cloud+20.9+Release+Notes ) .
3134
3235## How to use the SDK?
33- The complete source code is available in the GIT repository.
36+ The complete source code is available in the GIT repository.
3437
3538Use [ SDK tutorials] ( https://docs.aspose.cloud/display/emailcloud/SDK+Tutorials ) :
3639- [ SDK setup] ( https://docs.aspose.cloud/display/emailcloud/SDK+setup ) - installation, account setup, first API calls
@@ -53,7 +56,7 @@ To use this SDK, you need an App SID and an App Key; they can be looked up at [A
5356
5457You can use it directly in your project via the source code or get a [ PYPI Package] ( https://pypi.org/project/aspose-email-cloud/ ) :
5558
56- pip install aspose-email-cloud
59+ pip install aspose-email-cloud
5760
5861See more details about SDK installation in this tutorial: [ SDK setup] ( https://docs.aspose.cloud/display/emailcloud/SDK+setup )
5962
@@ -76,10 +79,10 @@ Use `AiBcrParseModel` method to parse business card image to VCard DTO:
7679``` python
7780image_data = None
7881with open (' /tmp/alex.png' , ' rb' ) as f:
79- filedata = f.read()
80- image_data = str (base64.b64encode(filedata), ' utf-8' )
82+ filedata = f.read()
83+ image_data = str (base64.b64encode(filedata), ' utf-8' )
8184result = email_api.ai_bcr_parse_model(requests.AiBcrParseModelRequest(
82- models.AiBcrBase64Rq(images = [models.AiBcrBase64Image(True , image_data)])))
85+ models.AiBcrBase64Rq(images = [models.AiBcrBase64Image(True , image_data)])))
8386contact = result.value[0 ]
8487```
8588See 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 )
0 commit comments