- Configure Ruff for linting and formatting with pre-commit hooks - Add Makefile with convenient commands for development workflow - Create build and upload scripts for Gitea package registry - Update README with documentation for new features - Fix code quality issues identified by Ruff - Add development dependencies (ruff, pre-commit) to pyproject.toml - Update Python version requirement to >=3.9 - Add template for Gitea PyPI configuration - Bump version to 0.3.0 - All tests passing and code properly formatted
1.0 KiB
1.0 KiB
Using uv with paroles-net-scraper
This document explains how to use uv with the paroles-net-scraper package.
Installation with uv
-
Clone the repository:
git clone <repository-url> cd paroles-net-scraper -
Install dependencies with uv:
uv sync
Running the package with uv
After installing dependencies, you can run the package directly with uv:
uv run paroles-scraper "Artist Name" "Song Title"
Running tests with uv
To run the test suite with uv:
uv run pytest tests/ -v
Building the package with uv
To build the package distribution files:
uv build
This will create both source and wheel distributions in the dist/ directory.
Installing the package in development mode with uv
uv pip install -e .
Managing dependencies with uv
To add a new dependency:
uv add <package-name>
To remove a dependency:
uv remove <package-name>
To update dependencies:
uv lock --upgrade