Skip to main content

Manipulate satoshi-related prices in Python 3, simple and sweet.

Project description

> 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.

Project details


Download files

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

Source Distribution

satoshi-0.1.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

satoshi-0.1.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file satoshi-0.1.4.tar.gz.

File metadata

  • Download URL: satoshi-0.1.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for satoshi-0.1.4.tar.gz
Algorithm Hash digest
SHA256 046a1bae3f4f3efdad8b82ba9ca59d6208610f0ff535c6feb5bafbca69d0bd64
MD5 08f17486f51f9cd3ef8ea4dbddb5782a
BLAKE2b-256 0d85b5ea79e1d4da6bb2194ff1fb102971f0c3460ba71af1edc9b91ad4d7def0

See more details on using hashes here.

File details

Details for the file satoshi-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: satoshi-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for satoshi-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 585723b3e15c634c8295578176afd14711deb7554c2d64812d9a85f56115727c
MD5 c73ae428dc56067dd22f8a8bcfad25b9
BLAKE2b-256 79ea7f78c1a9a9b2f3e8fe945290b93b70520e78ef78a3b98a3c75e8ce049514

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page