Skip to main content

UFO made easy.

Project description

https://img.shields.io/pypi/v/ufobit.svg?style=flat-square https://img.shields.io/pypi/pyversions/ufobit.svg?style=flat-square https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square

UFOBit is Python’s fastest Uniform Fiscal Object library and was designed from the beginning to feel intuitive, be effortless to use, and have readable source code. It is heavily inspired by Requests and Keras. Based on Ofek’s Bit code.

UFOBit is so easy to use, in fact, you can do this:

>>> from ufobit import Key
>>>
>>> my_key = Key(...)
>>> my_key.get_balance('ufo')
'378.623'
>>>
>>> outputs = [
>>>     ('Bz9rtnrFgjEC6Tv6CWpHz8EYFwJJJnwwjq', 25, 'ufo'),
>>>     ('Bu6rsw6ineEDUuH1Ph5CRzVqTt7s3skgDq', 50, 'satoshi'),
>>>     ('C5urCiXUyAnsrnKf7RaB2oBpdKxo51Vkpc', 0.02, 'usd'),
>>>     ('CFhf3Pk3T3MhFvAidRZJ9cxkJ8DurLYmo1', 1, 'rub'),
>>> ]
>>>
>>> my_key.send(outputs)
'cfecc199a5c6e6bc24610366e8eda36571162e9e3f7c419f0b6095c257acc5fc'

Here is the transaction https://chainz.cryptoid.info/ufo/tx.dws?1576204.htm.

Features

  • Python’s fastest available implementation (100x faster than closest library)

  • Seamless integration with existing server setups

  • Supports keys in cold storage

  • Fully supports 25 different currencies

  • First class support for storing data in the blockchain

  • Deterministic signatures via RFC 6979

  • Access to the blockchain through multiple APIs for redundancy

  • Exchange rate API, with optional caching

  • Optimal transaction fee API, with optional caching

  • Compressed public keys by default

  • Multiple representations of private keys; WIF, PEM, DER, etc.

  • Standard P2PKH transactions

If you are intrigued, continue reading. If not, continue all the same!

Installation

Bit is distributed on PyPI as a universal wheel and is available on Linux/macOS and Windows and supports Python 3.5+ and PyPy3.5-v5.7.1+. pip >= 8.1.2 is required.

$ pip install ufobit

Documentation

Docs are hosted by Github Pages and are automatically built and published by Travis after every successful commit to UFOBit’s master branch.

Credits

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

ufobit-0.4.4.tar.gz (26.9 kB view details)

Uploaded Source

File details

Details for the file ufobit-0.4.4.tar.gz.

File metadata

  • Download URL: ufobit-0.4.4.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ufobit-0.4.4.tar.gz
Algorithm Hash digest
SHA256 427c0f9591729e79f35e44ee949285bf8c6c213389ece9e53cccf2664a0a274a
MD5 f43b0fcefa9b1e0d36d73b106afd9360
BLAKE2b-256 ebfde7b78915bccbfbee4cdf6c3a41575c76db709aa74a3b88daefd2930c7496

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