Installation¶
This page provides instructions for installing the python-code-validator package.
The recommended way to install the package for regular use is from the
Python Package Index (PyPI) using pip or any compatible package manager.
This will install the latest stable version and make the validate-code
command-line tool available in your environment.
pip install python-code-validator
To upgrade to a new version, use:
pip install --upgrade python-code-validator
If you intend to contribute to the project, you should set up a local development environment from the source code. This will install the package in “editable” mode and include all dependencies for testing and documentation.
First, clone the repository from GitHub:
git clone https://github.com/Qu1nel/PythonCodeValidator.git cd PythonCodeValidator
Then, use the provided
Makefilefor a one-command setup:make setup
This command automates the creation of a virtual environment and the installation of all required packages. For more details on contributing, please see the Contributing guide.
Verifying the Installation¶
After installation, you can verify that the command-line tool is working by checking its version:
validate-code --version
This should print the installed version of the package, for example:
validate-code 0.1.1