Schemas package is a tool for validating the structure of JSON data. This package is a set of library-based jsonschema wrappers, allowing you to easily and quickly write schemas that can be used for validation, e.g. API response.
Install with PyCharm
- With opened project, select tab "Python Packages" at the bottom of window, click "Add Package" and then "From Disk".
- Select 'Schemas' directory, mark "Install as editable" option and click OK.
Install in virtual environment manually
cd ~/virtual_environments # Select location for virtual environment
python3.8 -m venv venv # Create virtual environment in current directory
source venv/bin/activate # Activate it
pip install -e ~/hive/tests/schemas # Install Schemas
Install in your operating system scope (not recommended)
Enter following command in terminal:pip3 install -e ~/hive/tests/schemas