claudia


Nameclaudia JSON
Version 0.1.13 PyPI version JSON
download
home_pagehttps://xrpl.org/
SummaryRun XRPL Automated Tests
upload_time2023-12-13 22:59:43
maintainer
docs_urlNone
authorKausty Saxena
requires_python
license
keywords ripple xrpl python javascript
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Claudia

Claudia is a tool which helps make a few XRPL specific tasks look very easy. Tasks like running a local instance of
rippled, managing a local network, managing a sidechain network, running tests and even learning a few neat tricks with
XRPL in a quick fashion can be done effortlessly with this tool.

Claudia was developed by the XRPL Automation Team as an internal tool to help with XRPL local development, debugging and
testing. As the tool matured, the team quickly realized its potential and decided to expose it outside of Ripple, so
that everyone can benefit from its capabilities.

Following are some of the important tasks that can be performed using Claudia:

- Build rippled from local code.
- Install rippled from pre-built binaries released by Ripple.
- Manage a local-mainnet network using local rippled instance.
- Locally build a local witness server to start a sidechain network.
- Manage a local-sidechain network.
- Run unit tests on the built/installed rippled instance.
- Run system tests on local-mainnet, local-sidechain, devnet and testnet networks.
- Manage rippled features on the local-mainnet and local-sidechain networks.
- Learn more about XRPL capabilities and perform real-time learning activities on local-mainnet, local-sidechain, devnet
  and testnet networks.

---

## General Prerequisites

Claudia can be installed on both macOS and Ubuntu. Currently, there is no support for Windows. Following prerequisites
must be installed before installing Claudia:

- [Python3](https://www.python.org/)
    - Run ```python3 --version``` to check if Python3 is already installed.
    - If Python3 is not installed, please install it using the
      official [Python installer](https://www.python.org/downloads/).
    - Verify installation by running: ```python3 --version```
- [pip3](https://pip.pypa.io/en/stable/)
    - Run ```pip3 --version``` to check if Python3 is already installed.
    - If pip3 is not installed, follow the next steps:
        - macOS:
            - ```python3 -m ensurepip --upgrade```
        - Linux:
            - ```sudo apt update```
            - ```sudo apt install python3-pip```
        - Verify installation by running: ```pip3 --version```
- [docker](https://www.docker.com/)
    - Run ```docker --version``` to check if docker is already installed.
    - If docker is not installed, follow the next steps:
        - macOS:
            - Download and then run
              the [Docker Desktop installer for macOS](https://docs.docker.com/desktop/install/mac-install/).
        - Linux:
            - Download and then run
              the [Docker Desktop installer for Linux](https://docs.docker.com/desktop/install/linux-install/).
- Claudia allows its users to run System tests using Javascript client library. The following is **ONLY** required if you
  intend to run the Javascript system tests:
    - [node](https://nodejs.org/en/download)
        - Run ```node --version``` to check if node is already installed.
        - If node is not installed, follow the next steps:
            - macOS:
                - ```brew install node```
            - Linux:
                - ```curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && sudo apt-get install -y nodejs```
    - [npm](https://www.npmjs.com/package/download)
        - Run ```npm -v``` to check if npm ia already installed.
        - If npm in not installed, follow the next steps:
            - macOS:
                - ```brew install npm```
            - Linux:
                - ```sudo apt install npm```

---

## Installation

Once the general prerequisites have been installed, Claudia can be installed
from [PyPi](https://pypi.org/project/claudia/). From your terminal please run:

    pip3 install claudia

### If you want to build Claudia from the local code, you can run:

      rm -fr build/ dist/ claudia.egg-info
      pip uninstall -y claudia
      python3 setup.py sdist bdist_wheel
      pip install dist/*.tar.gz
      rm -fr build/ dist/ claudia.egg-info

---

## Usage

Claudia has a bunch of self-explanatory features which are offered via a seamless UI and CLI experience. Please note that
XRPL Learning Center is only available with Claudia UI.

Claudia CLI offers two modes:

1. Demo mode. This is an interactive mode that can help reduce typing efforts significantly. You would mostly navigate a
   pre-built menu using ↑ ↓ and ↵ keys. Minimal typing will be required.
2. (Standard) CLI mode.

### How to run Claudia CLI commands?

After installing claudia, go to your terminal and run claudia. Each command supports --help flag that displays the usage
and arguments. e.g. claudia --help, claudia run --help

### How to run Claudia in demo mode?

From your terminal and run claudia demo

### How to start Claudia UI?

From your terminal, run claudia ui. Alternatively, you can launch the UI via the Claudia demo mode by selecting Launch
Claudia UI

---

## Features

Claudia offers a bunch of features which allows you to manage local rippled instance, manage networks, run tests and
even learn a few XRPL tricks. This section walks you through some major features.

### How to build rippled?

Claudia offers a way to build rippled from local code. You will need to
clone [rippled](https://github.com/XRPLF/rippled) repository first before starting with this step. If you intend to use
sidechain functionality, please use [this](https://github.com/seelabs/rippled/tree/xbridge) rippled fork instead.

Once the repository has been cloned, you can build rippled as follows. Each option would require you to provide the ***
absolute path*** to the cloned repository.

- UI
    - Navigate to `Custom XRPL Networks` and select `Build rippled`
- CLI Mode
    - Run `claudia rippled build --repo <repo_path>`
- Demo Mode
    - Select `Custom XRPL Networks` -> `Build rippled from local code`

### How to install rippled?
Claudia offers a way to install rippled using the pre-built binaries distributed by Ripple.
By default, Claudia will choose binaries generated from the master branch.
You also have an option to specify different branches.
Possible options are: master, develop and release (case-sensitive).
You can install rippled as follows:
- UI
    - Navigate to `Custom XRPL Networks` and select `Install rippled`
- CLI Mode
  - Run `claudia rippled install` to install rippled binaries built from master branch.
  - Run `claudia rippled install --rippled_branch <branch_name>` and choose the rippled branch.
- Demo Mode
    - Select `Custom XRPL Networks` -> `Install rippled`

### How to switch between build and install rippled modes?

Once you build or install rippled, Claudia will remember that context forever. If you have already built and installed
rippled in both modes, and would like to switch between the two modes, run the following:

- UI
    - Navigate to `Settings` and select `Set Install Mode`
- CLI Mode
    - Run `claudia set-install-mode build` to set build mode.
    - Run `claudia set-install-mode install` to set install mode.
- Demo Mode
    - Select `Settings` -> `Set install mode as build` to set build mode.
    - Select `Settings` -> `Set install mode as install` to set install mode.

*Please note that all previously running networks will have to be stopped and started again after switching rippled
modes.*

### How to enable a feature in rippled?

Please note that there is no validation for feature name. Please make sure the feature name is correct (case-sensitive).
You can follow these instructions to enable a rippled feature:

- UI
    - Navigate to `Settings` and select `Enable a rippled feature`
- CLI Mode
    - Run `claudia enable-feature --feature <feature_name>`
- Demo Mode
    - Select `Settings` -> `Enable a rippled feature`

### How to disable a feature in rippled?

Please note that there is no validation for feature name. Please make sure the feature name is correct (case-sensitive).
You can follow these instructions to disable a rippled feature:

- UI
    - Navigate to `Settings` and select `Disable a rippled feature`
- CLI Mode
    - Run `claudia disable-feature --feature <feature_name>`
- Demo Mode
    - Select `Settings` -> `Disable a rippled feature`

### How to build witness server?

Before you can start a sidechain network, you will need to build a witness server locally. You will need to
clone [XBridge Witness](https://github.com/seelabs/xbridge_witness) repository first before starting on this step. Once
the repository has been cloned, you can build the witness server as follows. Each option would require you to provide
the absolute path to the cloned repository.

- UI
    - Navigate to `Custom XRPL Networks` and select `Build Witness Server`
- CLI Mode
    - Run `claudia witness build --repo <repo_path>`
- Demo Mode
    - Select `Custom XRPL Networks` -> `Build witness server`

### How to deploy custom network to AWS?

You can use Claudia to spin up a custom network on your AWS cloud infrastructure. This option is only supported via UI. 

Navigate to `Custom XRPL Networks` and select `Deploy Network to Cloud`. You will be asked to provide the following information: 
* AWS IAM user access key
* AWS IAM user secret access key
* Region

Claudia runs each a validator node on a separate EC2 instance. At least two validator nodes are required to spin up a network.
You can choose to run up to 10 validator nodes running the rippled variant built using the latest master branch code. 
Similarly, you can choose to run up to 10 validator nodes running the rippled variant built using the latest release and
develop branches code each. This way you can run up to 30 validator nodes running three different rippled variants.

The deployment process takes a while. Once finished, the details will be provided along with the connection URLs.

### How to start a local-mainnet network?

Before you can start a local mainnet network, rippled has to be built or installed locally. Afterwards, you can follow
these instructions to start a local mainnet network:

- UI
    - Navigate to `Custom XRPL Networks` and select `Start Network`
- CLI Mode
    - Run `claudia local-mainnet start`
- Demo Mode
    - Select `Custom XRPL Networks` -> `Start local-mainnet`

### How to stop a local-mainnet network?

You can follow these instructions to stop a local mainnet network:

- UI
    - Navigate to `Custom XRPL Networks` and select `Stop Network`
- CLI Mode
    - Run `claudia local-mainnet stop`
- Demo Mode
    - Select `Custom XRPL Networks` -> `Stop local-mainnet`

### How to start a local-sidechain network?

Before you can start a local sidechain network:

1. rippled has to be built/installed locally.
2. Witness server has to be built locally.
3. `XChainBridge` rippled feature has to be enabled.
4. The local-mainnet network has to be running.

Once all the requirements have been met, you can start the local sidechain network as follows:

- UI
    - Navigate to `Custom XRPL Networks` and select `Start Sidechain Network`
- CLI Mode
    - Run `claudia local-sidechain start`
- Demo Mode
    - Select `Custom XRPL Networks` -> `Start local-sidechain`

### How to stop a local-sidechain network?

You can follow these instructions to stop a local sidechain network:

- UI
    - Navigate to `Custom XRPL Networks` and select `Stop Sidechain Network`
- CLI Mode
    - Run `claudia local-sidechain stop`
- Demo Mode
    - Select `Custom XRPL Networks` -> `Stop local-sidechain`

Please note that once the sidechain has been stopped, local-mainnet has to be restarted before attempting to start the
local-sidechain again.

### How to run unit tests?

Before you can run unit tests, rippled has to be built or installed locally. Afterwards, you can run the unit tests as
follows:

- UI
    - Navigate to `XRPL tests` and select `Run Unit Tests`
- CLI Mode
    - Run `claudia run unittests`. Run `claudia run unittests --help` to see options.
- Demo Mode
    - Select `XRPL Tests` -> `Run unit tests`

By default, all tests will run. Optionally, you can also set a filter to run a selected few tests in each mode.

### How to run system tests?

Claudia offers a way to run system tests on different networks. If you wish to run tests on locally running mainnet or
sidechain networks, the networks should be running first. Alternatively, you can run the tests on devnet and testnet as
well.

The system tests can run using either JavaScript or Python client libraries. For Python client, both `JSON-RPC`
and `WebSocket` connections are supported. JavaScript client only supports `WebSocket` connection.

These tests are broken down into different features and are tagged as well. You can choose to run a few or all tests.
Please note that if you chose regression tag, all test in the chosen feature will be executed.

The system tests can be configured to be run in any way you need them to. By default, the following configuration is
selected:

- **Client Library:** `Python`
- **Connection:** `JSON-RPC`
- **Network:** `local-mainnet`
- **Test Tag:** `smoke`
- **Feature:** `payments`

The system test run can be started as follows:

- UI
    - Navigate to `XRPL tests` and select `Run System Tests`. Choose your options and start the run.
- CLI Mode
    - Run `claudia run systemtests`. Run `claudia run systemtests --help` to see options.
- Demo Mode
    - Select `XRPL Tests` -> `Run system tests`

### How to cleanup your computer and free resources after running Claudia?

While using claudia, there are a few files created permanently. Also, there are a few system resources which are
reserved for future use. Running this command will delete these files and free up resources. As a result, any progress
made by using Claudia will be lost. This action cannot be undone. Resources can be freed and your machine can be freed
as follows:

- UI
    - Navigate to `Settings` and select `Cleanup`
- CLI Mode
    - Run `claudia clean`
- Demo Mode
    - Select `Settings` -> `Clean up the host and free resources`

### How to run XRPL Learning Center?

Claudia offers a neat interactive learning environment in which you can learn a few things about XRPL. These learning
activities can be performed on local-mainnet, local-sidechain, devnet and testnet networks. You can launch the XRPL
Learning Center only via UI.

Navigate to `XRPL Learning Center`, select a learning activity and follow the instructions.

### How to uninstall Claudia?

*We recommend that you cleanup your machine before uninstalling Claudia.* Afterwards, please run:

    pip3 uninstall claudia

## Contributions

Claudia is developed by Ripple Automation Team. The following people contributed to this release:

- Manoj Doshi <mdoshi@ripple.com>
- Ramkumar SG <rsg@ripple.com>
- Kaustubh Saxena <ksaxena@ripple.com>
- Michael Legleux <mlegleux@ripple.com>
- Anagha Agashe <aagashe@ripple.com>
- Mani Mounika Kunasani <mkunasani@ripple.com>

            

Raw data

            {
    "_id": null,
    "home_page": "https://xrpl.org/",
    "name": "claudia",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "ripple xrpl python javascript",
    "author": "Kausty Saxena",
    "author_email": "ksaxena@ripple.com",
    "download_url": "https://files.pythonhosted.org/packages/05/73/adc27d1b9ddb8083bf6f7e3ddc36ad0a0703043c164578f183bf313ddca4/claudia-0.1.13.tar.gz",
    "platform": null,
    "description": "# Claudia\n\nClaudia is a tool which helps make a few XRPL specific tasks look very easy. Tasks like running a local instance of\nrippled, managing a local network, managing a sidechain network, running tests and even learning a few neat tricks with\nXRPL in a quick fashion can be done effortlessly with this tool.\n\nClaudia was developed by the XRPL Automation Team as an internal tool to help with XRPL local development, debugging and\ntesting. As the tool matured, the team quickly realized its potential and decided to expose it outside of Ripple, so\nthat everyone can benefit from its capabilities.\n\nFollowing are some of the important tasks that can be performed using Claudia:\n\n- Build rippled from local code.\n- Install rippled from pre-built binaries released by Ripple.\n- Manage a local-mainnet network using local rippled instance.\n- Locally build a local witness server to start a sidechain network.\n- Manage a local-sidechain network.\n- Run unit tests on the built/installed rippled instance.\n- Run system tests on local-mainnet, local-sidechain, devnet and testnet networks.\n- Manage rippled features on the local-mainnet and local-sidechain networks.\n- Learn more about XRPL capabilities and perform real-time learning activities on local-mainnet, local-sidechain, devnet\n  and testnet networks.\n\n---\n\n## General Prerequisites\n\nClaudia can be installed on both macOS and Ubuntu. Currently, there is no support for Windows. Following prerequisites\nmust be installed before installing Claudia:\n\n- [Python3](https://www.python.org/)\n    - Run ```python3 --version``` to check if Python3 is already installed.\n    - If Python3 is not installed, please install it using the\n      official [Python installer](https://www.python.org/downloads/).\n    - Verify installation by running: ```python3 --version```\n- [pip3](https://pip.pypa.io/en/stable/)\n    - Run ```pip3 --version``` to check if Python3 is already installed.\n    - If pip3 is not installed, follow the next steps:\n        - macOS:\n            - ```python3 -m ensurepip --upgrade```\n        - Linux:\n            - ```sudo apt update```\n            - ```sudo apt install python3-pip```\n        - Verify installation by running: ```pip3 --version```\n- [docker](https://www.docker.com/)\n    - Run ```docker --version``` to check if docker is already installed.\n    - If docker is not installed, follow the next steps:\n        - macOS:\n            - Download and then run\n              the [Docker Desktop installer for macOS](https://docs.docker.com/desktop/install/mac-install/).\n        - Linux:\n            - Download and then run\n              the [Docker Desktop installer for Linux](https://docs.docker.com/desktop/install/linux-install/).\n- Claudia allows its users to run System tests using Javascript client library. The following is **ONLY** required if you\n  intend to run the Javascript system tests:\n    - [node](https://nodejs.org/en/download)\n        - Run ```node --version``` to check if node is already installed.\n        - If node is not installed, follow the next steps:\n            - macOS:\n                - ```brew install node```\n            - Linux:\n                - ```curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && sudo apt-get install -y nodejs```\n    - [npm](https://www.npmjs.com/package/download)\n        - Run ```npm -v``` to check if npm ia already installed.\n        - If npm in not installed, follow the next steps:\n            - macOS:\n                - ```brew install npm```\n            - Linux:\n                - ```sudo apt install npm```\n\n---\n\n## Installation\n\nOnce the general prerequisites have been installed, Claudia can be installed\nfrom [PyPi](https://pypi.org/project/claudia/). From your terminal please run:\n\n    pip3 install claudia\n\n### If you want to build Claudia from the local code, you can run:\n\n      rm -fr build/ dist/ claudia.egg-info\n      pip uninstall -y claudia\n      python3 setup.py sdist bdist_wheel\n      pip install dist/*.tar.gz\n      rm -fr build/ dist/ claudia.egg-info\n\n---\n\n## Usage\n\nClaudia has a bunch of self-explanatory features which are offered via a seamless UI and CLI experience. Please note that\nXRPL Learning Center is only available with Claudia UI.\n\nClaudia CLI offers two modes:\n\n1. Demo mode. This is an interactive mode that can help reduce typing efforts significantly. You would mostly navigate a\n   pre-built menu using \u2191 \u2193 and \u21b5 keys. Minimal typing will be required.\n2. (Standard) CLI mode.\n\n### How to run Claudia CLI commands?\n\nAfter installing claudia, go to your terminal and run claudia. Each command supports --help flag that displays the usage\nand arguments. e.g. claudia --help, claudia run --help\n\n### How to run Claudia in demo mode?\n\nFrom your terminal and run claudia demo\n\n### How to start Claudia UI?\n\nFrom your terminal, run claudia ui. Alternatively, you can launch the UI via the Claudia demo mode by selecting Launch\nClaudia UI\n\n---\n\n## Features\n\nClaudia offers a bunch of features which allows you to manage local rippled instance, manage networks, run tests and\neven learn a few XRPL tricks. This section walks you through some major features.\n\n### How to build rippled?\n\nClaudia offers a way to build rippled from local code. You will need to\nclone [rippled](https://github.com/XRPLF/rippled) repository first before starting with this step. If you intend to use\nsidechain functionality, please use [this](https://github.com/seelabs/rippled/tree/xbridge) rippled fork instead.\n\nOnce the repository has been cloned, you can build rippled as follows. Each option would require you to provide the ***\nabsolute path*** to the cloned repository.\n\n- UI\n    - Navigate to `Custom XRPL Networks` and select `Build rippled`\n- CLI Mode\n    - Run `claudia rippled build --repo <repo_path>`\n- Demo Mode\n    - Select `Custom XRPL Networks` -> `Build rippled from local code`\n\n### How to install rippled?\nClaudia offers a way to install rippled using the pre-built binaries distributed by Ripple.\nBy default, Claudia will choose binaries generated from the master branch.\nYou also have an option to specify different branches.\nPossible options are: master, develop and release (case-sensitive).\nYou can install rippled as follows:\n- UI\n    - Navigate to `Custom XRPL Networks` and select `Install rippled`\n- CLI Mode\n  - Run `claudia rippled install` to install rippled binaries built from master branch.\n  - Run `claudia rippled install --rippled_branch <branch_name>` and choose the rippled branch.\n- Demo Mode\n    - Select `Custom XRPL Networks` -> `Install rippled`\n\n### How to switch between build and install rippled modes?\n\nOnce you build or install rippled, Claudia will remember that context forever. If you have already built and installed\nrippled in both modes, and would like to switch between the two modes, run the following:\n\n- UI\n    - Navigate to `Settings` and select `Set Install Mode`\n- CLI Mode\n    - Run `claudia set-install-mode build` to set build mode.\n    - Run `claudia set-install-mode install` to set install mode.\n- Demo Mode\n    - Select `Settings` -> `Set install mode as build` to set build mode.\n    - Select `Settings` -> `Set install mode as install` to set install mode.\n\n*Please note that all previously running networks will have to be stopped and started again after switching rippled\nmodes.*\n\n### How to enable a feature in rippled?\n\nPlease note that there is no validation for feature name. Please make sure the feature name is correct (case-sensitive).\nYou can follow these instructions to enable a rippled feature:\n\n- UI\n    - Navigate to `Settings` and select `Enable a rippled feature`\n- CLI Mode\n    - Run `claudia enable-feature --feature <feature_name>`\n- Demo Mode\n    - Select `Settings` -> `Enable a rippled feature`\n\n### How to disable a feature in rippled?\n\nPlease note that there is no validation for feature name. Please make sure the feature name is correct (case-sensitive).\nYou can follow these instructions to disable a rippled feature:\n\n- UI\n    - Navigate to `Settings` and select `Disable a rippled feature`\n- CLI Mode\n    - Run `claudia disable-feature --feature <feature_name>`\n- Demo Mode\n    - Select `Settings` -> `Disable a rippled feature`\n\n### How to build witness server?\n\nBefore you can start a sidechain network, you will need to build a witness server locally. You will need to\nclone [XBridge Witness](https://github.com/seelabs/xbridge_witness) repository first before starting on this step. Once\nthe repository has been cloned, you can build the witness server as follows. Each option would require you to provide\nthe absolute path to the cloned repository.\n\n- UI\n    - Navigate to `Custom XRPL Networks` and select `Build Witness Server`\n- CLI Mode\n    - Run `claudia witness build --repo <repo_path>`\n- Demo Mode\n    - Select `Custom XRPL Networks` -> `Build witness server`\n\n### How to deploy custom network to AWS?\n\nYou can use Claudia to spin up a custom network on your AWS cloud infrastructure. This option is only supported via UI. \n\nNavigate to `Custom XRPL Networks` and select `Deploy Network to Cloud`. You will be asked to provide the following information: \n* AWS IAM user access key\n* AWS IAM user secret access key\n* Region\n\nClaudia runs each a validator node on a separate EC2 instance. At least two validator nodes are required to spin up a network.\nYou can choose to run up to 10 validator nodes running the rippled variant built using the latest master branch code. \nSimilarly, you can choose to run up to 10 validator nodes running the rippled variant built using the latest release and\ndevelop branches code each. This way you can run up to 30 validator nodes running three different rippled variants.\n\nThe deployment process takes a while. Once finished, the details will be provided along with the connection URLs.\n\n### How to start a local-mainnet network?\n\nBefore you can start a local mainnet network, rippled has to be built or installed locally. Afterwards, you can follow\nthese instructions to start a local mainnet network:\n\n- UI\n    - Navigate to `Custom XRPL Networks` and select `Start Network`\n- CLI Mode\n    - Run `claudia local-mainnet start`\n- Demo Mode\n    - Select `Custom XRPL Networks` -> `Start local-mainnet`\n\n### How to stop a local-mainnet network?\n\nYou can follow these instructions to stop a local mainnet network:\n\n- UI\n    - Navigate to `Custom XRPL Networks` and select `Stop Network`\n- CLI Mode\n    - Run `claudia local-mainnet stop`\n- Demo Mode\n    - Select `Custom XRPL Networks` -> `Stop local-mainnet`\n\n### How to start a local-sidechain network?\n\nBefore you can start a local sidechain network:\n\n1. rippled has to be built/installed locally.\n2. Witness server has to be built locally.\n3. `XChainBridge` rippled feature has to be enabled.\n4. The local-mainnet network has to be running.\n\nOnce all the requirements have been met, you can start the local sidechain network as follows:\n\n- UI\n    - Navigate to `Custom XRPL Networks` and select `Start Sidechain Network`\n- CLI Mode\n    - Run `claudia local-sidechain start`\n- Demo Mode\n    - Select `Custom XRPL Networks` -> `Start local-sidechain`\n\n### How to stop a local-sidechain network?\n\nYou can follow these instructions to stop a local sidechain network:\n\n- UI\n    - Navigate to `Custom XRPL Networks` and select `Stop Sidechain Network`\n- CLI Mode\n    - Run `claudia local-sidechain stop`\n- Demo Mode\n    - Select `Custom XRPL Networks` -> `Stop local-sidechain`\n\nPlease note that once the sidechain has been stopped, local-mainnet has to be restarted before attempting to start the\nlocal-sidechain again.\n\n### How to run unit tests?\n\nBefore you can run unit tests, rippled has to be built or installed locally. Afterwards, you can run the unit tests as\nfollows:\n\n- UI\n    - Navigate to `XRPL tests` and select `Run Unit Tests`\n- CLI Mode\n    - Run `claudia run unittests`. Run `claudia run unittests --help` to see options.\n- Demo Mode\n    - Select `XRPL Tests` -> `Run unit tests`\n\nBy default, all tests will run. Optionally, you can also set a filter to run a selected few tests in each mode.\n\n### How to run system tests?\n\nClaudia offers a way to run system tests on different networks. If you wish to run tests on locally running mainnet or\nsidechain networks, the networks should be running first. Alternatively, you can run the tests on devnet and testnet as\nwell.\n\nThe system tests can run using either JavaScript or Python client libraries. For Python client, both `JSON-RPC`\nand `WebSocket` connections are supported. JavaScript client only supports `WebSocket` connection.\n\nThese tests are broken down into different features and are tagged as well. You can choose to run a few or all tests.\nPlease note that if you chose regression tag, all test in the chosen feature will be executed.\n\nThe system tests can be configured to be run in any way you need them to. By default, the following configuration is\nselected:\n\n- **Client Library:** `Python`\n- **Connection:** `JSON-RPC`\n- **Network:** `local-mainnet`\n- **Test Tag:** `smoke`\n- **Feature:** `payments`\n\nThe system test run can be started as follows:\n\n- UI\n    - Navigate to `XRPL tests` and select `Run System Tests`. Choose your options and start the run.\n- CLI Mode\n    - Run `claudia run systemtests`. Run `claudia run systemtests --help` to see options.\n- Demo Mode\n    - Select `XRPL Tests` -> `Run system tests`\n\n### How to cleanup your computer and free resources after running Claudia?\n\nWhile using claudia, there are a few files created permanently. Also, there are a few system resources which are\nreserved for future use. Running this command will delete these files and free up resources. As a result, any progress\nmade by using Claudia will be lost. This action cannot be undone. Resources can be freed and your machine can be freed\nas follows:\n\n- UI\n    - Navigate to `Settings` and select `Cleanup`\n- CLI Mode\n    - Run `claudia clean`\n- Demo Mode\n    - Select `Settings` -> `Clean up the host and free resources`\n\n### How to run XRPL Learning Center?\n\nClaudia offers a neat interactive learning environment in which you can learn a few things about XRPL. These learning\nactivities can be performed on local-mainnet, local-sidechain, devnet and testnet networks. You can launch the XRPL\nLearning Center only via UI.\n\nNavigate to `XRPL Learning Center`, select a learning activity and follow the instructions.\n\n### How to uninstall Claudia?\n\n*We recommend that you cleanup your machine before uninstalling Claudia.* Afterwards, please run:\n\n    pip3 uninstall claudia\n\n## Contributions\n\nClaudia is developed by Ripple Automation Team. The following people contributed to this release:\n\n- Manoj Doshi <mdoshi@ripple.com>\n- Ramkumar SG <rsg@ripple.com>\n- Kaustubh Saxena <ksaxena@ripple.com>\n- Michael Legleux <mlegleux@ripple.com>\n- Anagha Agashe <aagashe@ripple.com>\n- Mani Mounika Kunasani <mkunasani@ripple.com>\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Run XRPL Automated Tests",
    "version": "0.1.13",
    "project_urls": {
        "Download": "https://gitlab.ops.ripple.com/xrpledger/xrpl-nocode-automation",
        "Homepage": "https://xrpl.org/"
    },
    "split_keywords": [
        "ripple",
        "xrpl",
        "python",
        "javascript"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48f23508c244c3526ec118dc8befab551abd3ebe3b7a1e64b2e21f6a1e1ec6d2",
                "md5": "4fcc2827367743e6b15ad69cd78ec78f",
                "sha256": "9c8dc4b527c4f89493bbb63a26b10f07b30c3ad9678146b75e14129b9405d6c8"
            },
            "downloads": -1,
            "filename": "claudia-0.1.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4fcc2827367743e6b15ad69cd78ec78f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 150486,
            "upload_time": "2023-12-13T22:59:41",
            "upload_time_iso_8601": "2023-12-13T22:59:41.074686Z",
            "url": "https://files.pythonhosted.org/packages/48/f2/3508c244c3526ec118dc8befab551abd3ebe3b7a1e64b2e21f6a1e1ec6d2/claudia-0.1.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0573adc27d1b9ddb8083bf6f7e3ddc36ad0a0703043c164578f183bf313ddca4",
                "md5": "95c0f84a091f1e1ddee40241753835bf",
                "sha256": "6540c35c4ed4311a9803d3e027ee2860447b62f34d3c22f391cb4fd80f38455d"
            },
            "downloads": -1,
            "filename": "claudia-0.1.13.tar.gz",
            "has_sig": false,
            "md5_digest": "95c0f84a091f1e1ddee40241753835bf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 132158,
            "upload_time": "2023-12-13T22:59:43",
            "upload_time_iso_8601": "2023-12-13T22:59:43.376924Z",
            "url": "https://files.pythonhosted.org/packages/05/73/adc27d1b9ddb8083bf6f7e3ddc36ad0a0703043c164578f183bf313ddca4/claudia-0.1.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-13 22:59:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "claudia"
}
        
Elapsed time: 0.16046s