Implement PyPI Community & Social Tools

- Add get_pypi_package_reviews: Aggregates community feedback from GitHub issues, Stack Overflow, and social media with sentiment analysis
- Add manage_pypi_package_discussions: Future-ready discussion management with GitHub Discussions integration
- Add get_pypi_maintainer_contacts: Privacy-respecting maintainer contact discovery with communication guidelines
- Integrate all tools with MCP server endpoints and comprehensive error handling
- Add extensive test coverage for all community functionality
- Follow existing code patterns and async/await best practices
- Include future-ready implementations for when PyPI adds native community features
This commit is contained in:
Ryan Malloy 2025-08-16 09:53:32 -06:00
parent f79144d710
commit 05dd346f45
4 changed files with 2567 additions and 0 deletions

View file

@ -59,6 +59,11 @@ from .workflow import (
preview_pypi_package_page,
validate_pypi_package_name,
)
from .community import (
get_pypi_package_reviews,
manage_pypi_package_discussions,
get_pypi_maintainer_contacts,
)
__all__ = [
"query_package_info",
@ -98,4 +103,7 @@ __all__ = [
"preview_pypi_package_page",
"check_pypi_upload_requirements",
"get_pypi_build_logs",
"get_pypi_package_reviews",
"manage_pypi_package_discussions",
"get_pypi_maintainer_contacts",
]