Skip to main content

Developer utilities + optional Firebase notifications library

Project description

DevNotifyPy

Version Python Library License Status Maintained


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:

  1. Go to Firebase Console
  2. Create a project
  3. Download your service account key
  4. 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

Output Screenshot


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devnotifypy-0.2.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devnotifypy-0.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for devnotifypy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5b7dfceaa0bfe43ca218e7536ca40010014c3f5c849c2b727962825470e00790
MD5 b12155a9cee7791e27d0ddd5ed94670e
BLAKE2b-256 652c885b8cc3ca7f073825bd9b4c97250770b32de54e48879fee53b619a5e5cc

See more details on using hashes here.

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

Hashes for devnotifypy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9140a9995c5b0432ed4fa6b47759e09fcd185a93d0855819b1d8ce42a615978e
MD5 03a35b3ae781d4bbfb220ddfa6303153
BLAKE2b-256 6fc3894a7911e1bbaf1c5adab7068c77fa03985bb26102386193fdf0e1134305

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page