Skip to content
/ xrpl-py Public
forked from XRPLF/xrpl-py

A 100% Python library to interact with XRPL

License

Notifications You must be signed in to change notification settings

mDuo13/xrpl-py

 
 

Repository files navigation

xrpl-py

Supports Python 3.7 and later.

Contributing

Setting up the dev environment

Install poetry per the instructions at https://python-poetry.org/docs/

poetry install

This will install dev and library dependencies.

Install pre-commit globally to get access to the pre-commit hooks:

pip install pre-commit
pre-commit install

Linting

After setting up the dev environment using the commands above, you can run the linter by executing

poetry run flake8 ./xrpl

Running Tests

poetry run nox -rs tests

Running integration tests

Integration tests are expensive and often flaky. As a result, they don't run by default with the above command. You'll need to currently run integration tests manually for each package like so:

poetry run python -m unittest discover tests.integration.transactions

or

poetry run python -m unittest discover tests.integration.reliable_submission

Generating Documentation

From the docs folder,

poetry run sphinx-apidoc -o source/ ../xrpl
poetry run make html

Sphinx generated docs will be in docs/_build.

About

A 100% Python library to interact with XRPL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%