- 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
15 lines
317 B
Python
15 lines
317 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Command line interface for paroles.net scraper
|
|
"""
|
|
|
|
import sys
|
|
import os
|
|
|
|
# Add the package directory to the path
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
|
|
from paroles_net_scraper.paroles_net_scraper import main
|
|
|
|
if __name__ == "__main__":
|
|
main() |