semvec/pypi-packages huggingface dataset:
damv1testhello2025 0.1.0
development testhello2025 package
Requires Python: >=3.0
Keywords: testhello2025, development, testing, email, smtp

## damv1testhello2025

A simple Python package for testing and development purposes.

### Installation

```bash
pip install damv1testhello2025
```

⌘ <b>Usage</b>

1. Class hellowords2025 <br />
   This class provides two methods:
   - sayhello(): Returns a greeting message.
   - wordsloremipsum(): Returns a Lorem Ipsum text.

   Example Usage:
   <pre>
    from damv1testhello2025 import hellowords2025

    # Initialize the class
    hello = hellowords2025()

    # Use the sayhello method
    greeting = hello.sayhello()
    print(greeting)  # Output: "Hello, what's up. You are currently using package damv1testhello2025"

    # Use the wordsloremipsum method
    lorem_ipsum = hello.wordsloremipsum()
    print(lorem_ipsum)  # Output: Lorem Ipsum text   
   </pre>

   <br />

2. Class SendEmail <br />
   This class is used to send emails using SMTP configuration. The SMTP configuration can be customized via a .env file or directly in the code. <br />

   .env File Configuration: <br />

   Create a .env file in your project directory with the following content:

   <pre>
    SMTP_SERVER=smtp.gmail.com
    SMTP_PORT=587
    SMTP_USER=your-email@gmail.com
    SMTP_PASS=your-email-password   
   </pre>

   Example Usage:
   <pre>
    from damv1testhello2025 import SendEmail

    # Initialize the class with a custom .env path (optional)
    sender = SendEmail(env_path="path/to/.env")

    # Send an email
    sender.send(
        subject="Test Email",
        body="Hello, this is a test email!",
        receiver_email="recipient@example.com"
    )   
   </pre>
   Parameters:
   - env_path (optional): Path to the .env file. If not provided, defaults to .env in the current directory.
   - subject: Email subject.
   - body: Email body.
   - receiver_email: Recipient's email address.