Setup
Install, update, verify, and uninstall Naminter.
Installing
PyPI
Install Naminter with pip or uv tool.
pip
Use a venv so Naminter and its dependencies stay isolated from system Python:
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install --upgrade pip
pip install naminter
With the venv active, naminter is on your PATH (via .venv/bin).
uv tool
Persistent CLI on your PATH:
Optional Dependencies
A plain install (pip install naminter or uv tool install naminter) already includes both core and CLI dependencies — no [cli] extra is needed.
The dev extra adds development, testing, and documentation tools:
pip — create a venv first if you have not already (see pip above):
The core and cli groups in pyproject.toml document dependency subsets; see Dependencies.
Source
Clone the repository and install in editable mode.
pip
Use a venv if you have not already (see pip above):
git clone https://github.com/3xp0rt/naminter.git
cd naminter
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
Docker
Prebuilt image
Run the published image from GitHub Container Registry:
Local build
Clone the repository, build the image, and run with Docker Compose. All needed folders are mounted on the first start of the docker compose run command.
git clone https://github.com/3xp0rt/naminter.git
cd naminter
docker build -t naminter .
docker compose run --rm naminter --username john_doe
Updating
Use the same method you installed with.
PyPI
pip
For optional dependency groups, pass the extra on upgrade:
uv tool
For optional dependency groups:
Source
pip
Docker
Prebuilt image
Local build
Rebuild the image after pulling source changes:
Verifying
After installing or updating, confirm Naminter is working.
For pip, uv tool, and source installs:
For the prebuilt Docker image:
You should see the version number displayed. If you encounter any issues, ensure that:
- Python 3.11+ is installed:
python --version - The installation or upgrade completed without errors
- Your venv is activated, or your PATH includes the Python scripts directory
Uninstalling
Use the same method you installed with.
PyPI
pip
If you created a venv only for Naminter, remove it after uninstalling:
uv tool
Source
pip
Remove the clone when you no longer need it:
Docker
Prebuilt image
Local build
Confirm removal:
- pip, uv tool, and source:
naminter --versionshould report that the command was not found - Docker:
docker imagesshould no longer list the Naminter image
Dependencies
- Python 3.11 or higher
A default install includes all core and CLI dependencies below.
Core Dependencies
The core module requires:
curl-cffi- HTTP client with browser impersonationjsonschema- JSON schema validationorjson- Fast JSON parsing
CLI Dependencies
The CLI module additionally requires:
click- Command-line interface frameworkrich- Rich console outputrich-click- Rich click integrationaiofiles- Async file I/Ojinja2- Template engine (for HTML export)weasyprint- PDF generationpathvalidate- Path validationuvloop- Fast event loop implementation
See pyproject.toml for the reference.