# -*- coding: utf-8 -*-
from setuptools import setup

packages = \
['xpring', 'xpring.algorithms', 'xpring.proto']

package_data = \
{'': ['*']}

install_requires = \
['dataclasses>=0.6.0,<0.7.0',
 'ecdsa>=0.15.0,<0.16.0',
 'fastecdsa>=2.0,<3.0',
 'grpcio>=1.24,<2.0',
 'protobuf>=3.0,<4.0',
 'pynacl>=1.3,<2.0',
 'typing_extensions>=3.7,<4.0']

extras_require = \
{'docs': ['sphinx>=1.8,<2.0',
          'sphinx_rtd_theme>=0.4.3,<0.5.0',
          'toml>=0.10.0,<0.11.0']}

setup_kwargs = {
    'name': 'xpring',
    'version': '0.1.0',
    'description': '',
    'long_description': ".. start-include\n\n======\nxpring\n======\n\nThe Xpring SDK for Python.\n\n.. image:: https://travis-ci.org/thejohnfreeman/xpring-py.svg?branch=master\n   :target: https://travis-ci.org/thejohnfreeman/xpring-py\n   :alt: Build status: Linux and OSX\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/thejohnfreeman/xpring-py?branch=master&svg=true\n   :target: https://ci.appveyor.com/project/thejohnfreeman/xpring-py\n   :alt: Build status: Windows\n\n.. image:: https://readthedocs.org/projects/xpring-py/badge/?version=latest\n   :target: https://xpring-py.readthedocs.io/\n   :alt: Documentation status\n\n.. image:: https://img.shields.io/pypi/v/xpring.svg\n   :target: https://pypi.org/project/xpring/\n   :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/pypi/pyversions/xpring.svg\n   :target: https://pypi.org/project/xpring/\n   :alt: Python versions supported\n\n\nInstall\n=======\n\n.. code-block:: shell\n\n   pip install xpring\n\n\nAPI\n===\n\n------\nWallet\n------\n\nConstruct\n---------\n\nYou can construct a ``Wallet`` from its seed.\nIf you do not have your own wallet yet, you can `generate one with some free\nXRP on the testnet`__.\n\n.. __: https://xrpl.org/xrp-testnet-faucet.html\n\n.. code-block:: python\n\n   import xpring\n\n   seed = 'sEdSKaCy2JT7JaM7v95H9SxkhP9wS2r'\n   wallet = xpring.Wallet.from_seed(seed)\n   print(wallet.public_key.hex())\n   # ed01fa53fa5a7e77798f882ece20b1abc00bb358a9e55a202d0d0676bd0ce37a63\n   print(wallet.private_key.hex())\n   # b4c4e046826bd26190d09715fc31f4e6a728204eadd112905b08b14b7f15c4f3\n\n\nSign / Verify\n-------------\n\nA ``Wallet`` can sign and verify arbitrary bytes, but you'll generally\nwant to leave these low-level responsibilities to the ``Client``.\n\n.. code-block:: python\n\n   message = bytes.fromhex('DEADBEEF')\n   signature = wallet.sign(message)\n   wallet.verify(message, signature)\n   # True\n\n\n------\nClient\n------\n\n``Client`` is the gateway into the XRP Ledger.\n\nConstruct\n---------\n\n``Client`` is constructed with the URL of a Xpring server.\nYou may use the one operated by Ripple for the XRP testnet.\n\n.. code-block:: python\n\n   url = 'grpc.xpring.tech:80'\n   client = xpring.Client.from_url(url)\n\n\nBalance\n-------\n\n.. code-block:: python\n\n   address = 'r3v29rxf54cave7ooQE6eE7G5VFXofKZT7'\n   client.get_balance(address)\n   # 1000000000\n\n\n.. end-include\n\n\nDevelop\n=======\n\n------------\nDependencies\n------------\n\nThe protocol buffers and definitions file are in submodules:\n\n.. code-block:: shell\n\n   git submodule update --init\n\nUse Poetry_ to install dependencies, build the protocol buffers, and copy the\ndefinitions file:\n\n.. code-block:: shell\n\n   poetry install\n   poetry run invoke prebuild\n\n.. _Poetry: https://python-poetry.org/docs/\n\n-----\nTasks\n-----\n\nThere are several Invoke_ tasks:\n\n.. _Invoke: http://www.pyinvoke.org/\n\n.. code-block:: shell\n\n   poetry run invoke ${task}\n\n- ``test``: Pytest_ with coverage and doctests.\n- ``lint``: Mypy_, Pylint_, and Pydocstyle_.\n- ``serve``: Serve the docs locally and rebuild them on file changes.\n\n.. _Pytest: https://docs.pytest.org/\n.. _Mypy: https://mypy.readthedocs.io/\n.. _Pylint: https://www.pylint.org/\n.. _Pydocstyle: http://www.pydocstyle.org/\n",
    'author': 'John Freeman',
    'author_email': 'jfreeman@ripple.com',
    'maintainer': None,
    'maintainer_email': None,
    'url': 'https://github.com/thejohnfreeman/xpring-py/',
    'packages': packages,
    'package_data': package_data,
    'install_requires': install_requires,
    'extras_require': extras_require,
    'python_requires': '>=3.6',
}


setup(**setup_kwargs)
