> satoshi
Manipulate satoshi-related prices in Python 3, simple and sweet 💵 ₿🍬
Why complicate?
The idea behind this project is to provide Python programmers with a simple, light and intuitive package to manipulate satoshis.
This can be extremely useful on future/perpetual markets and crypto exchanges that don't automatically associate XBT balances to an USD value. With > satoshi you can use a single function to convert your satoshis to any fiat currency :)
No need to handle more requests and currency mangling in your code, simply use > satoshi and, therefore, CryptoCompare's open API.
Installation
pip install satoshi
Usage
include satoshi
satoshi.to_fiat(984223) # satoshi to usd
satoshi.to_fiat(18923, 'BRL') # satoshi to reais
Feel free to run example.py for a demo.
Notes
Project idealized while listening to this song.
Feel free to become a collaborator.
Metadata
Release files for satoshi 0.1.4
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 |
|---|---|---|---|---|
| satoshi-0.1.4.tar.gz | 4.0 kB | Without provenance | Details for satoshi-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| satoshi-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for satoshi-0.1.4-py3-none-any.whl |
Total release size: 9.4 kB
Release files / satoshi-0.1.4.tar.gz
| Download URL | satoshi-0.1.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
046a1bae3f4f3efdad8b82ba9ca59d6208610f0ff535c6feb5bafbca69d0bd64
|
|
BLAKE2b-256 checksum How to use checksums |
0d85b5ea79e1d4da6bb2194ff1fb102971f0c3460ba71af1edc9b91ad4d7def0
|
| 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/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / satoshi-0.1.4-py3-none-any.whl
| Download URL | satoshi-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
585723b3e15c634c8295578176afd14711deb7554c2d64812d9a85f56115727c
|
|
BLAKE2b-256 checksum How to use checksums |
79ea7f78c1a9a9b2f3e8fe945290b93b70520e78ef78a3b98a3c75e8ce049514
|
| 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/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for satoshi 0.1.4
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.