Skip to content

Release v1.4.0

Choose a tag to compare

@github-actionsgithub-actions released this 31 Jan 13:01
· 14 commits to main since this release

Added

  • Public Python API (get_package_stats function) for programmatic access to PyPI package statistics
  • Automatic retry mechanism with exponential backoff for handling transient network errors and rate limits
  • Custom exception hierarchy (PyPIStatsError, PackageNotFoundError, APIError) for better error handling
  • Comprehensive test suite with unit tests for core functionality (client, cache, processing, utilities)
  • GitHub Actions CI/CD workflow for automated testing across Python 3.8-3.12
  • Test fixtures and sample data for reliable testing

Changed

  • Major codebase refactoring with improved architecture and separation of concerns
  • Reorganized code structure: moved core functionality to core/ directory (client, cache, exceptions, models, processing, constants)
  • Introduced api.py module providing clean public API interface
  • Enhanced README documentation with clearer structure and examples