pypi-query-mcp/tests
Ryan Malloy e205176ace feat: add comprehensive PyPI search functionality with advanced filtering
- Implemented PyPISearchClient with semantic search, filtering, and sorting
- Added 4 new search tools: search_packages, search_by_category, find_alternatives, get_trending_packages
- Created SearchFilter and SearchSort classes for flexible configuration
- Added SearchError exception for search-specific error handling
- Comprehensive test suite with 13 tests covering all search functionality
- Enhanced MCP server with 4 new search endpoints
- Support for filtering by Python version, license, category, downloads, maintenance status
- Multiple sorting options: relevance, popularity, quality, recency, name, downloads
- Semantic search using description similarity scoring
- Category-based package discovery with intelligent keyword matching
- Package alternatives finder using metadata analysis
- Trending packages analysis with download activity tracking
- Robust fallback mechanisms using curated package database
- All tests passing (13/13)

This implements feature #6 from the roadmap: "Advanced PyPI Search with filtering by Python version, license, maintenance status and sorting by popularity, recency, quality score with semantic search capabilities"
2025-08-16 07:45:40 -06:00
..
__init__.py feat: Complete PyPI Query MCP Server Implementation (#3) 2025-05-27 11:14:49 +08:00
conftest.py feat: implement comprehensive configuration management system with multi-mirror support 2025-05-27 17:41:42 +08:00
test_basic.py feat: implement comprehensive configuration management system with multi-mirror support 2025-05-27 17:41:42 +08:00
test_config.py feat: implement comprehensive configuration management system with multi-mirror support 2025-05-27 17:41:42 +08:00
test_dependency_resolver.py fix: update dependency resolver tests to match new implementation 2025-08-15 22:34:12 -06:00
test_download_stats.py chore: upgrade all Python packages and fix linting issues 2025-08-15 20:23:14 -06:00
test_package_downloader.py fix: resolve all lint issues and fix failing tests 2025-05-29 18:47:15 +08:00
test_prompt_templates.py fix: resolve all lint issues and fix failing tests 2025-05-29 18:47:15 +08:00
test_search.py feat: add comprehensive PyPI search functionality with advanced filtering 2025-08-16 07:45:40 -06:00
test_version_sorting.py chore: upgrade all Python packages and fix linting issues 2025-08-15 20:23:14 -06:00