Socket
Socket
Sign inDemoInstall

satoshi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

satoshi

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


Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc