af71f5e80a
- Python package to fetch song lyrics from paroles.net - Web scraping functionality with requests and BeautifulSoup4 - Command-line interface for easy usage - Comprehensive test suite with pytest - GitLab CI configuration with uv support - Package metadata and dependencies in pyproject.toml - Documentation and usage instructions
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