intimations v1.0
- Cross platform intimations
- Sound intimations and Toast/Message intimations
- Telegram bot intimations/message
- Flashing Taskbar Icon (for windows platform)
- Supports Command line
ABOUT
This module makes it easy to get intimations such as a beep sound, push/toast notification, or a telegram bot message during and after the execution of code/process
- Simply popup alerts, warnings, success or any other actions with different icons
- Make a buzzer sound with different sound effects
- Receive a message intimations to your smartphone (via telegram bot).
Using this module, telegram messages would be received when execution of a process/code is completed on system or a cloud platform.
Benefits
You can focus on other activities till you receive an intimation about your executing code/process.
Interactive icons and sounds which will intimate you about the executing process/code's activity will save your time and let you enjoy the status of your executing code/process.
Installation
You can install intimations by running the following command
pip install intimations
Command line Usage
Get a sound intimation
python -m intimations beep --sound success --count 2 --interval 5
sound : info, danger, success, warning or ANY_MP3_FILE_PATH
Get message intimation
python -m intimations push --title 'TITLE OF INTIMATION' --message 'MESSAGE BODY' --icon success
icon : info, danger, success, warning or ANY_ICO_FILE_PATH
Get a Telegram bot Message intimation
python -m intimations telegram --botapi YOUR_TELEGRAM_BOT_API --chatid YOUR_BOT_CHAT_ID --title 'TITLE OF INTIMATION' --message 'MESSAGE BODY'
Follow the video to create telegram botAPI and get chatID
To get chat id, navigate to 'https://api.telegram.org/bot<YOUR_BOT_API>/getUpdates' in your browser.
Replace '<YOUR_BOT_API>' with your bot api token.
Using Telegram message feature effectively
Create Telegram bot and get the botAPI token and chatID as shown in the video.
Create BOTAPI and CHATID in your OS environmental variables and assign there values.
Now, on terminal, type your command and then enter python module command, as shown below.
ffuf -w 'wordlist.txt' -u 'https://target/FUZZ' ; python3 -m intimations telegram -t "Title of Process" -m "Successfully executed"
You will receive a Telegram notification on your mobile device once your cloud platform has completed FUZZING or the execution of your command.
Integrating intimations in code
'''
Developed by Abhijith Boppe - linkedin.com/in/abhijith-boppe/
'''
from intimations import *
#get a beep sound
beep(sound='info', count=3, interval=3.0)
#get a push intimation
push('intimation', 'By Abhijith Boppe', duration:int=10, icon=r"sign")
#get an intimation/message to your telegram mobile app
BOT_API = 'YOUR BOT API'
CHAT_ID = 'ONE OF YOUR CHAT ID'
telegram(botAPI=BOT_API, chatID=CHAT_ID, title='TITLE', message'YOUR MESSAGE')
#Flash icon on taskbar (windows platform only)
flashIcon(count:int=3, interval:float=1.5)
Have a look at Stock icons and sounds
'''
Developed by Abhijith Boppe - linkedin.com/in/abhijith-boppe/
'''
from intimations import *
for type_ in ['info', 'danger', 'warning' , 'success']:
beep(sound=type_)
push(title='Testing', message=f'This is {type_} message.',icon=type_)
time.sleep(3)
License & copyright
© Abhijith Boppe, Security analyst
Licensed under the MIT License
Metadata
Release files for intimations 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| intimations-1.0.zip | 724.2 kB | Without provenance | Details for intimations-1.0.zip |
Release files / intimations-1.0.zip
| Download URL | intimations-1.0.zip |
|---|---|
| Size | 724.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e06e236f3e2c1cef526a76d00c4aec55e9852869ae6bbca27bc3ecc429b07f54
|
|
BLAKE2b-256 checksum How to use checksums |
da50fe1e291dc326a55295ffafb6bcd489229f67ae9faef0b512a1270730566d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Security for intimations 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.