A module to fetch the latest value of Bitcoin in different currencies.
Project description
Bitcoin Value
A Python module to fetch the latest value of Bitcoin in different currencies.
Table of Contents
Installation
You can install the bitcoin-value module using pip:
pip install bitcoin-value
Usage
Getting Bitcoin Value
You can use this module to get the current value of Bitcoin in various currencies. Here's an example of how to use it:
from bitcoin_value import currency
# Specify the currency code (e.g., "USD", "EUR")
bitcoin_value = currency("USD")
# Print the Bitcoin value in the specified currency
print(f"1 BTC is equivalent to {bitcoin_value} USD")
Contributing
Contributions to this project are welcome. If you have any improvements or bug fixes, please submit a pull request.
License
This project is licensed under the 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 bitcoin_value-1.6.0.tar.gz.
File metadata
- Download URL: bitcoin_value-1.6.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9edbd2c27bbeca126988c9c50e39a3a71296902496946bb2debb3fbbd28378e
|
|
| MD5 |
db846ecefc0947f11afbef49cf90f026
|
|
| BLAKE2b-256 |
5775d7a0ee2cff97a3e63db70e643b55fb8cc9671177d78e257d6cac76f526b9
|
File details
Details for the file bitcoin_value-1.6.0-py3-none-any.whl.
File metadata
- Download URL: bitcoin_value-1.6.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e979209d5e9ab1c4dc89b59a65723422a4d2cff6e0b62850d24eaa612b4caef6
|
|
| MD5 |
22d18b357508fcbc93e7c7ff9600917f
|
|
| BLAKE2b-256 |
56ef3ff67d615d03433281c8122d8c77146fea0413e97a3c4a63fbedbfcdbd3a
|