matheusfelipeog/worldometer — reverse-engineered prompt
Reverse engineered prompt
Build me a small Python package that lets me pull live stats and other world data from Worldometers in a really simple way.
I want it to read data from worldometers.info and expose easy to understand classes, methods, and attributes for things like world live counters, population, geography, projections, and historical data. A basic example should feel like creating an object for world counters and then reading values like current population or internet users right off it. It should also have a way to refresh and reload the data so the numbers update.
Please make it pleasant to use from a Python shell, with clear naming and help text so someone can explore what sections are available. Add a few tests and simple docs or examples showing how to install it with pip and use it. If the site needs a browser rendering step, handle that cleanly and mention the first run behavior. You can look up current docs online if you need to.
Want more depth? Deep Reverse