Metadata-Version: 2.4
Name: py-postman-lib
Version: 0.1.0
Summary: An easy-to-use library for sending emails synchronously and asynchronously, with support for templates and attachments.
Author-email: McSixDev <mcsixhelps@gmail.com>
License: MIT License
        
        Copyright (c) 2026 McSixDev
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/McSixRu/py-postman
Project-URL: Documentation, https://mcsixru.github.io/py-postman-doc/
Project-URL: Bug Tracker, https://github.com/McSixRu/py-postman/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Communications :: Email
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiosmtplib
Requires-Dist: jinja2
Requires-Dist: Markdown
Dynamic: license-file

# Py Postman Suite

📚 **[doc py-postman](https://mcsixru.github.io/py-postman-doc/)**

An easy-to-use library for sending emails...
# Py Postman Suite

An easy-to-use library for sending emails synchronously and asynchronously, with support for templates, attachments, and a command-line interface.

## Installation

```bash

pip install py-postman-lib
```

## Basic Usage

### As a Library

```python

from py_postman import Postman

mailer = Postman(
    email="your_sender@gmail.com",
    password="your_app_password"
)

success = mailer.send(
    to="recipient@example.com",
    subject="Hello from Py Postman!",
    text="This is a test email."
)

if success:
    print("Email sent successfully!")
```

### From the Command Line

```bash
pypostman \
    --email "your_sender@gmail.com" \
    --password "your_app_password" \
    --to "recipient@example.com" \
    --subject "CLI Test" \
    --text "This email was sent from the command line."
```
