Skip to content

Worldometer v2.0.0

Latest
Compare
Choose a tag to compare
@matheusfelipeog matheusfelipeog released this 26 Oct 00:03
· 4 commits to master since this release
ac998de

Added

  • New module structure (#22)
    • new scraper module;
    • new world module for public api;
    • get home page counters, like in the old api, but now having a special data class;
    • get population and geography data;
    • set new dependencies;
    • new mapped pages;
    • add some tests.
  • Add docstrings to the new api (#23)
  • Define explicit fields in all counter dataclasses (#26)

Changed

  • Reformulation of all docs (#24)
    • new fully documented API;
    • new package logo and icon.
  • Use the new API in the old core module. This is a temporary measure until the module is completely removed. (#25)
    • warn about the deprecation of the old API and indicate the use of the new one.
  • Update all project metadata (#27)
  • Change package manager and add action to run tests (#29)
  • Support only Python >=3.9, <3.12 (#29)

Removed

  • Removed support for Python 3.7 and 3.8 (#29)

Deprecated

  • worldometer.core and worldometer.api deprecated (#25)

Fixed

  • Fix old API (#25)
    • fix: import "requests_html" could not be resolved (#12)
    • fix: problem with Importing and Crashing (#13)
    • fix: issue with "sanitize_metrics" method (#18)
    • fix: navigation Timeout Exceeded Error (#20)
    • fix: import error (#21)