emailSMS-python3-0.0.7
توضیحات
Gateway between email and SMS/MMS for python3
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | emailSMS-python3-0.0.7 |
| نام | emailSMS-python3 |
| نسخه کتابخانه | 0.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Joe Womelsdorf |
| ایمیل نویسنده | josef.womelsdorf@outlook.com |
| آدرس صفحه اصلی | https://github.com/JoeWomelsdorf/emailSMS_Python |
| آدرس اینترنتی | https://pypi.org/project/emailSMS-python3/ |
| مجوز | - |
# EmailSMS_Python
Gateway between email and SMS/MMS for Python3. Allows for two way communication between a server and mobile device.
## Installation
Install requirements with [pip](https://pip.pypa.io/en/stable/)
```bash
pip install emailSMS-python3
```
## Usage
```python
from emailSMS.emailSMS import Manager
# Initialize Manager Object
manager = Manager(phone_num='XXXXXXXXXX', carrier="XXXX",
email_address="EMAIL",
email_password="PASSWORD")
# Available Carriers
["AT&T", "Verizon", "Sprint", "TMobile", "Boost", "Cricket", "Virgin Mobile", "US Cellular"]
# Sends an SMS to the configured phone with a subject line "Hello, World!"
manager.send_sms("Hello, World!")
# Sends an MMS to the configured phone with a subject line "Hello, World!"
manager.send_mms("Hello, World!")
#Returns an array of new (unread) messages from the configured phone.
manager.check_incoming()
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl emailSMS-python3-0.0.7:
pip install emailSMS-python3-0.0.7.whl
نصب پکیج tar.gz emailSMS-python3-0.0.7:
pip install emailSMS-python3-0.0.7.tar.gz