Developer utilities + optional Firebase notifications library
Project description
DevNotifyPy
DevNotifyPy is a Python library that provides developer utilities and optional Firebase notification support.
Installation
Install the library using pip:
pip install devnotifypy
Optional Dependencies
For Firebase notifications and system info:
pip install firebase-admin psutil
Usage Examples
from devnotifypy import generate_password, get_system_info, send_firebase_notification
# Generate random password
print("Random password:", generate_password(12))
# Get system information
print("System info:", get_system_info())
# Firebase Notifications (Optional)
send_firebase_notification(
title="Hello!",
body="This is a test!",
service_key_path="service_account.json"
)
CLI Usage
After installing the package:
devnotify password
devnotify system
Features
- Generate random passwords
- Get system information
- Send Firebase push notifications
- CLI support
- Lightweight and easy to use
Firebase Setup (Optional)
To use Firebase notifications:
- Go to Firebase Console
- Create a project
- Download your service account key
- Save it as:
service_account.json
⚠️ Important:
- Do NOT upload this file to GitHub or PyPI
- Keep it private
Testing
Run tests using:
python -m pytest
Project Structure
devnotifypy/
__init__.py
notifier.py
cli.py
tests/
test_notifier.py
demo/
output.png
Demo
Use Cases
- Learning Python utilities
- Testing Firebase notifications
- Building developer tools
- CLI-based utilities
⚠️ Disclaimer
This project is for learning and testing purposes only.
Author
M Thamarai Priya
License
MIT License
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
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 devnotifypy-0.2.0.tar.gz.
File metadata
- Download URL: devnotifypy-0.2.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b7dfceaa0bfe43ca218e7536ca40010014c3f5c849c2b727962825470e00790
|
|
| MD5 |
b12155a9cee7791e27d0ddd5ed94670e
|
|
| BLAKE2b-256 |
652c885b8cc3ca7f073825bd9b4c97250770b32de54e48879fee53b619a5e5cc
|
File details
Details for the file devnotifypy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: devnotifypy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9140a9995c5b0432ed4fa6b47759e09fcd185a93d0855819b1d8ce42a615978e
|
|
| MD5 |
03a35b3ae781d4bbfb220ddfa6303153
|
|
| BLAKE2b-256 |
6fc3894a7911e1bbaf1c5adab7068c77fa03985bb26102386193fdf0e1134305
|