{ "info": { "author": "Joe Black", "author_email": "me@joeblack.nyc", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Internet :: WWW/HTTP", "Topic :: Security :: Cryptography", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing", "Topic :: Utilities" ], "description": "\nCoinAddr\n========\n\n\n.. image:: https://travis-ci.org/joeblackwaslike/coinaddr.svg?branch=master\n :target: https://travis-ci.org/joeblackwaslike/coinaddr\n :alt: Build Status\n\n.. image:: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat\n :target: https://github.com/joeblackwaslike/coinaddr\n :alt: Github Repo\n\n.. image:: https://img.shields.io/pypi/v/coinaddr.svg\n :target: https://pypi.python.org/pypi/coinaddr\n :alt: Pypi Version\n\n.. image:: https://img.shields.io/pypi/l/coinaddr.svg\n :target: https://pypi.python.org/pypi/coinaddr\n :alt: Pypi License\n\n.. image:: https://img.shields.io/pypi/wheel/coinaddr.svg\n :target: https://pypi.python.org/pypi/coinaddr\n :alt: Pypi Wheel\n\n.. image:: https://img.shields.io/pypi/pyversions/coinaddr.svg\n :target: https://pypi.python.org/pypi/coinaddr\n :alt: Pypi Versions\n\n\nMaintainer\n----------\n\nJoe Black | me@joeblack.nyc | `github `_\n\nIntroduction\n------------\n\nA cryptocurrency address inspection/validation library for python.\n\nSupported currencies\n^^^^^^^^^^^^^^^^^^^^\n\n\n* bitcoin\n* bitcoin-cash\n* litecoin\n* ethereum\n* ethereum-classic\n* ether-zero\n* dogecoin\n* dashcoin\n* neocoin\n* ripple\n\nInstallation\n------------\n\n.. code-block:: shell\n\n pip3 install coinaddr\n\nUsage\n-----\n\n.. code-block:: python\n\n >>> import coinaddr\n >>> coinaddr.validate('btc', b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT')\n ValidationResult(name='bitcoin', ticker='btc', address=b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT', valid=True, network='main')\n\nExtending\n^^^^^^^^^\n\nCurrencies\n~~~~~~~~~~\n\nTo add a new currency, simply instantiate a new ``coinaddr.currency.Currency`` class. It will be automatically registered.\n\n.. code-block:: python\n\n from coinaddr import Currency\n Currency('testcoin', ticker='ttc', validator='Base58Check',\n networks=dict(\n main=(0x00, 0x05), test=(0x6f, 0xc4)))\n\nTo override a default currency, simply instantiate a new currency with that name.\n\nValidators\n~~~~~~~~~~\n\nTo add a new validator, simply create a subclass of ``coinaddr.validation.ValidatorBase`` with your own implementation that implements the ``coinaddr.interfaces.IValidator`` interface. It will be automatically registered.\n\n.. code-block:: python\n\n from zope.interface import implementer\n from coinaddr.interfaces import IValidator\n from coinaddr import ValidatorBase\n\n\n @implementer(IValidator)\n class NewValidator(ValidatorBase):\n name = 'New'\n\n @property\n def networks(self):\n return 'testing'\n\n def validate(self):\n return True\n\nTo override a default validator, simply create a new validator with that name.\n\nChanges\n-------\n\n\n* `CHANGELOG `_\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/joeblackwaslike/coinaddr/tarball/v1.0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/joeblackwaslike/coinaddr", "keywords": "bitcoin,litecoin,altcoin,ethereum,address,validation,inspection", "license": "MIT", "maintainer": "Joe Black", "maintainer_email": "me@joeblack.nyc", "name": "coinaddr", "package_url": "https://pypi.org/project/coinaddr/", "platform": "", "project_url": "https://pypi.org/project/coinaddr/", "project_urls": { "Download": "https://github.com/joeblackwaslike/coinaddr/tarball/v1.0.1", "Homepage": "https://github.com/joeblackwaslike/coinaddr" }, "release_url": "https://pypi.org/project/coinaddr/1.0.1/", "requires_dist": [ "attrs (>=17.4.0)", "pysha3 (>=1.0.2)", "base58check (>=1.0.1)", "zope.interface (>=4.4.3)" ], "requires_python": "", "summary": "A crypto-currency address inspection/validation library.", "version": "1.0.1" }, "last_serial": 3770835, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8871f7208e3f99ad4e30ee30a869deab", "sha256": "aa3280cc4d39c95d58d3a8096eb6ebe36b465a3ed4eed46d606be747074eb4c2" }, "downloads": -1, "filename": "coinaddr-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8871f7208e3f99ad4e30ee30a869deab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7417, "upload_time": "2018-04-07T16:35:53", "url": "https://files.pythonhosted.org/packages/84/71/5ee238ac2896999083cbd43a70bc30143cdb5da2d15785ddb93ba84cbb14/coinaddr-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2221f201aacf648b1561bb37a0e01ff1", "sha256": "c109439c497c964c23c0bbe1b9aff2c456f11d90561cbc33a41d8a8d48cdbe67" }, "downloads": -1, "filename": "coinaddr-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2221f201aacf648b1561bb37a0e01ff1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6425, "upload_time": "2018-04-07T16:35:54", "url": "https://files.pythonhosted.org/packages/55/4f/c0f0301a882d8446feb2bc8a3527f5b65b7c5d03534ecd814fc34178b3fb/coinaddr-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c2661faf002e1d57145ee530813fd3ca", "sha256": "55ff1961d5ea34dc8d3bacae676c1e0f8bdb5c23cac07b47bdfa6560f47390bc" }, "downloads": -1, "filename": "coinaddr-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c2661faf002e1d57145ee530813fd3ca", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10950, "upload_time": "2018-04-16T22:26:20", "url": "https://files.pythonhosted.org/packages/61/60/a20ee228229bd955db492a1fe8979123ff11c522790b5f3470f02cac5cef/coinaddr-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9eb2f69396ee9ec622722e3e04cf9840", "sha256": "b2eddc4aac382536abf9612f7215c2cdc9be7673e6f8a4d46f676b62ae4e6838" }, "downloads": -1, "filename": "coinaddr-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9eb2f69396ee9ec622722e3e04cf9840", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8442, "upload_time": "2018-04-16T22:26:21", "url": "https://files.pythonhosted.org/packages/28/c5/1644d80aa443d495b50d342e4b18cf45ff69fff3782f0792f736d02c4b93/coinaddr-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c2661faf002e1d57145ee530813fd3ca", "sha256": "55ff1961d5ea34dc8d3bacae676c1e0f8bdb5c23cac07b47bdfa6560f47390bc" }, "downloads": -1, "filename": "coinaddr-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c2661faf002e1d57145ee530813fd3ca", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10950, "upload_time": "2018-04-16T22:26:20", "url": "https://files.pythonhosted.org/packages/61/60/a20ee228229bd955db492a1fe8979123ff11c522790b5f3470f02cac5cef/coinaddr-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9eb2f69396ee9ec622722e3e04cf9840", "sha256": "b2eddc4aac382536abf9612f7215c2cdc9be7673e6f8a4d46f676b62ae4e6838" }, "downloads": -1, "filename": "coinaddr-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9eb2f69396ee9ec622722e3e04cf9840", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8442, "upload_time": "2018-04-16T22:26:21", "url": "https://files.pythonhosted.org/packages/28/c5/1644d80aa443d495b50d342e4b18cf45ff69fff3782f0792f736d02c4b93/coinaddr-1.0.1.tar.gz" } ] }