Installation
Requirements
Nukat requires Python 3.8 or higher.
Install from PyPI
Once published, you can install Nukat using pip:
Install from Source
For Users
To install the latest version from GitHub:
For Developers
If you want to contribute or modify the code:
- Clone the repository
- Create a virtual environment (recommended)
- Install in development mode
This installs the package in editable mode with all development dependencies including: - pytest (testing) - pytest-cov (coverage) - black (code formatting) - ruff (linting) - mypy (type checking)
Install Documentation Tools
To build and serve the documentation locally:
Verify Installation
Check that Nukat is installed correctly:
Dependencies
Nukat depends on:
- requests (>= 2.31.0) - HTTP library
- beautifulsoup4 (>= 4.12.0) - HTML parsing
- lxml (>= 4.9.0) - XML/HTML parser
These are automatically installed when you install Nukat.
Troubleshooting
ImportError: No module named 'nukat'
Make sure you've installed the package:
lxml installation fails
On some systems, lxml requires additional build tools. Try:
# Ubuntu/Debian
sudo apt-get install libxml2-dev libxslt1-dev python3-dev
# macOS
brew install libxml2 libxslt
# Then install nukat again
pip install nukat
Python version too old
Nukat requires Python 3.8+. Check your version:
If needed, install a newer Python version from python.org.
Next Steps
Now that you have Nukat installed, check out the Quick Start Guide to learn how to use it!