Skip to main content

BITCOIN NOTIFICATION ALERT APP


This is a python script package, bitcoin price notification to get notified for the regular updates of bitcoin price on slack, gmail and telegram. The aim is to push notifications when the price of bitcoin changes at certain time interval, user can specify the time interval. By default time interval and threshold are set to 0.1 in minutes and $10000 respectively. When the conditions in the program are satisfied the trigger is fired and user will recieve notifications on slack, gmail and telegram.


DESCRIPTION


Bitcoin price is a fickle thing. You never really know where it’s going to be at the end of the day. So, instead of constantly checking various sites for the latest updates, let’s make a Python app to do the work for you.

We’re going to use the popular automation website IFTTT.

We’re going to create there IFTTT applets:

One for emergency notification when Bitcoin price falls under a certain threshold and one for regular Telegram and one for Slack updates on the Bitcoin price.

These will be triggered by our Python app which will consume the data from the Coindesk API.

An IFTTT applet is composed of two parts: a trigger and an action.

Trigger will be a webhook service provided by IFTTT.

Our Python app will make an HTTP request to the webhook URL which will trigger an action. Now, this is the fun part—the action could be almost anything you want. IFTTT offers a multitude of actions like sending an email, updating a Google Spreadsheet and even calling your phone.


INSTALLATION


You might need to do these installations

  1. Install python version 3

This website will help you find all the versions available as per your system requirments.Install python3.

https://www.python.org/downloads/

  1. Installation for PIP for windows
pip install 

Refer this website for further read https://pip.pypa.io/en/stable/installing/

  1. Dependencies

The only dependency is on the requests library.

pip install requests==2.18.4
  1. Install bitcoin-notifier package/module from PIP (on terminal)
pip install afroz-bitcoin-price

USAGE


Following query on terminal will provide you with all the help options

INPUT

afroz-bitcoin-price -h

OUTPUT

usage: afroz-bitcoin-price [-h] [--d decision] [--i interval] [--u upper threshold]

Bitcoin Notification Alert

optional arguments: -h, --help show this help message and exit --d decision Enter (Yes/No) - Yes will run the program --i interval Enter time interval --u upper threshold Set upper threshold limit in USD for notification

afroz-bitcoin-price --d=Yes --i=0.1 --u=10000

This will provide 5 prices of Bitcoin, at the specified time interval according to the code.



YOU ARE MOST WELCOME! SEE YOU THERE! https://t.me/joinchat/L5pJsBmFWhCQwtKVye4oDw


CONTRIBUTIONS


Updates are always welcome, feel free to drop your suggestions! Looking forward for your contribution. ❤️


Metadata

Release files for afroz-bitcoin-price 1.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for afroz-bitcoin-price 1.1.6
File Size Uploaded Provenance
afroz-bitcoin-price-1.1.6.tar.gz 4.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for afroz-bitcoin-price 1.1.6
File Interpreter ABI Platform
afroz_bitcoin_price-1.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / afroz-bitcoin-price-1.1.6.tar.gz

Download URL afroz-bitcoin-price-1.1.6.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8503e90f011194e302758b23019a86428d0f1bc243dc7607415807dabca2d926
BLAKE2b-256 checksum
How to use checksums
5151375248a556b52f234065b22ccc02e5f4007c1daea0f2a85b76328e93dce2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release files / afroz_bitcoin_price-1.1.6-py3-none-any.whl

Download URL afroz_bitcoin_price-1.1.6-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4531b2165d489f52a1268e9e9722738c155cebbd1c97312ac1d005dc35a67caf
BLAKE2b-256 checksum
How to use checksums
00f1cbe5930684028ee33a01b82a8ced93af44b6702a14004cb425022caaf108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Security for afroz-bitcoin-price 1.1.6

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.

Release history Release notifications | RSS feed

This release

1.1.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page