development testhello2025 package
Project description
damv1testhello2025
A simple Python package for testing and development purposes.
Installation
pip install damv1testhello2025
⌘ Usage
-
Class hellowords2025
This class provides two methods:- sayhello(): Returns a greeting message.
- wordsloremipsum(): Returns a Lorem Ipsum text.
Example Usage:
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
-
Class SendEmail
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..env File Configuration:
Create a .env file in your project directory with the following content:
SMTP_SERVER=smtp.gmail.com SMTP_PORT=587 SMTP_USER=your-email@gmail.com SMTP_PASS=your-email-password
Example Usage:
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" )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.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file damv1testhello2025-0.1.0-py3-none-any.whl.
File metadata
- Download URL: damv1testhello2025-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
397050dac4095a624969e2db875595d5641496ed38650a030efb3bfa19fc9a8f
|
|
| MD5 |
f5876e4331ea9f80f0d0864cf55b8eb3
|
|
| BLAKE2b-256 |
45294295835653fa7258a67a721c164f0c91fdaa95613205d0b3c5c9242ccd45
|