Naver Cloud Platform Helper Classes and Methods
Project description
ncp_wrapper - Python Package for Naver Cloud Platform (NCP)
ncp_wrapper
is a versatile Python package that simplifies interaction with Naver Cloud Platform (NCP) services. It provides easy-to-use wrappers for various NCP functionalities, including sending emails, managing cloud resources, and more.
Installation
You can install ncp_wrapper
via pip. Use the following command:
pip install ncp_wrapper
Features
1. Naver Works Email
Send emails using Naver Works (smtp.worksmobile.com). The Email class encapsulates email composition and attachment handling.
from ncp_wrapper.naver_works import Email
# Initialize the Email class with your Naver Works credentials
user_id = "your_email@example.com"
user_password = "your_password"
email_sender = Email(user_id, user_password)
# Compose and send an email
subject = "Hello, World!"
body = "This is a test email sent using ncp_wrapper."
recipient_emails = ["recipient1@example.com", "recipient2@example.com"]
cc = ["cc@example.com"]
bcc = ["bcc@example.com"]
attachments = [("document.pdf", "file"), "image.jpg"]
email_sender.send_email(
subject=subject,
body=body,
recipient_emails=recipient_emails,
cc=cc,
bcc=bcc,
attachments=attachments,
)
This code demonstrates how to create an Email
instance, set the necessary email parameters, and send an email with attachments.
Documentation
For more details on the Email
class and its methods, please refer to the source code or the package documentation.
License
This package is distributed under the MIT License. See the LICENSE file for more information.
Issues and Contributions
If you encounter any issues or have suggestions for improvements, please open an issue. Contributions are welcome through pull requests.
Credits
This package is developed and maintained by Jeongjin Kim.
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
File details
Details for the file ncp_wrapper-0.0.2.tar.gz
.
File metadata
- Download URL: ncp_wrapper-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a60b613df01db6af03df7dd879108dcd9bd9236516db2563f8c2b112884421 |
|
MD5 | e2b6bd510b50629717b6bef8cbccaacc |
|
BLAKE2b-256 | e6de3899032a50e6de6c282c1d76543dc862d546815912e8bac23101722cd818 |
File details
Details for the file ncp_wrapper-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ncp_wrapper-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc311eee5d2849a2d0d24c667fcee52afb12d83f02f94712c10824c65ce802d0 |
|
MD5 | 2b3462593d2fdf93cad8b82937720185 |
|
BLAKE2b-256 | 66aa4e756f70916b5283165e173337b643a97f1c2eae8fc84040c33096a01e05 |