Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A speaking battery's charge level

Project Description

Balert is for all the lazy people (like me :P ) who often miss desktop notifications. Balert will say it clear and loud whenever your battery status goes below a default critical level or the level decided by you!

Build Status Version Downloads Python

Demo

Click above for demo

Installation

Build from source

git clone https://github.com/tushar-rishav/balert.git
cd balert
python setup.py install

Using pip

pip install Balert

After installation is done successfully, run any combinations of below command in your terminal once for initial setup and then we are done! If you want to use the default setup then just run balert in terminal.

Default config:

language: English
rate    : 150
charge  : 20 (in percentage)
msg     : ""
vol     : 1.0

Usage

Set language

To set the language eg. hindi, english , tamil. Default one is english

balert -l hindi

Set rate of speaking

balert -r 100

Set your custom alert message

balert -m "Delta is the state of mind"

Set custom charge level.

If the battery level is below this critical level then only it will give a voice alert

balert -c 30

View the set configuration

balert -s

Example

balert -m "Hey,Lazy dog " -c 25

When you run the above code, you’ve set “Hey,Lazy dog” as your custom message and 25 as your critical charge level.

Contributions

Have an idea to make it better? Go ahead! I will be happy to see a pull request from you! :)

License

Release History

Release History

This version
History Node

1.1.8

History Node

1.1.7

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Balert-1.1.8.tar.gz (8.7 kB) Copy SHA256 Checksum SHA256 Source Apr 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting