Installation
Requirements
- Python 3.8 or higher
- pip (Python package installer)
Install from PyPI
The easiest way to install Marvelpy is using pip:
Install from Source
If you want to install the latest development version:
Install with Development Dependencies
For development and testing:
This will install: - Testing tools (pytest, pytest-cov, pytest-mock) - Linting tools (ruff, mypy) - Documentation tools (mkdocs-material) - Pre-commit hooks
Verify Installation
You can verify the installation by importing the package:
Dependencies
Marvelpy has the following core dependencies:
httpx>=0.23.0- Modern HTTP client for async requestspydantic>=1.10.0- Data validation and settings managementtyping-extensions>=4.9.0- Extended typing supportclick>=8.1.0- Command-line interface framework
Virtual Environment (Recommended)
It's recommended to use a virtual environment: