Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Forked from Ofek's awesome Bit library.
Pity is based on Bit, the Python's fastest Bitcoin library and was designed from the beginning to feel intuitive, be effortless to use, and have readable source code.
Pity is so easy to use, in fact, you can do this:
>>> from bit import Key
>>>
>>> my_key = Key(wif="...")
>>> my_key.get_balance('eur')
'12.51'
>>> # Let's pity the fool! Umm,... Let's donate!
>>> outputs = [
>>> # the Peercoin Foundation
>>> ('p92W3t7YkKfQEPDb7cG9jQ6iMh7cpKLvwK', 10, 'usd'),
>>> # Beer for willy, PeerExplorer <https://peercoinexplorer.net/charts/>
>>> ('PA3VZmupxdsX5TuS1PyXZPsbbhZGT2htPz', 3, 'eur')
>>> ]
>>>
>>> my_key.send(outputs)
'1da615c003bb1bd98354378fa5e95287993dab152d876fa0cc3980566ce6d7ee'
If you are intrigued, continue reading. If not, continue all the same!
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 pity
Docs are hosted by Github Pages and are automatically built and published
by Travis after every successful commit to Bit's master
branch.
FAQs
Peercoin made easy.
We found that pity demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.