Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Get live, population, geography, projected, and historical data from around the world.
Readme
Get live, population, geography, projected, and historical data from around the world.
The worldometer
package accesses various counters and live data available throughout the worldometers.info website and provides them through simple and self-describing classes, methods and attributes.
Access data on:
Use pip
to install the worldometer package:
$ pip install worldometer
See the docs for more information and its API at: worldometer.readthedocs.io
[!NOTE] The first time you run any function/method or class, it will download Chromium to
~/.local/share/pyppeteer
directory. It only happens once. After, it will only open the chromium to render the contents of worldometers.info.
Get the data from the live counters available on the homepage:
>>> from worldometer.world import WorldCounters
>>> wc = WorldCounters()
>>> wc.world_population.current_population
8065299074
>>> wc.government_and_economics.computers_produced_this_year
180248430
>>> wc.society_and_media.internet_users_in_the_world_today
5895566559
Reload data to get the latest:
>>> wc.reload_data()
>>> wc.world_population.current_population
8065300592
Get help and view information about mapped sections:
>>> help(wc)
Worldometer is run by an international team of developers, researchers, and volunteers with the goal of making world statistics available in a thought-provoking and time relevant format to a wide audience around the world. It is published by a small and independent digital media company based in the United States. We have no political, governmental, or corporate affiliation. Furthermore, we have no investors, donors, grants, or backers of any type. We are completely independent and self-financed through automated programmatic advertising sold in real time on multiple ad exchanges.
[adapted]: worldometers.info collects its statistics and data from the most reputable national and international organizations, including the United Nations, the World Health Organization, the Food and Agriculture Organization, OECD and others.
Each Worldometer counter has its specific set of sources, which are listed on its dedicated page (accessible by clicking on the counter text link, when available).
Data, estimates, and projections displayed on worldometers.info counters are for the most part provided by organizations included in the following list of United Nations Statistics Division's partners.
All contributions are welcome!
Found a problem, want to give a tip? open an issue
Do you have a solution to the problem? Send me a PR
Did you like this project? Click on the star ⭐
This project is using the MIT license, see in MIT LICENSE.
FAQs
Get live, population, geography, projected, and historical data from around the world.
We found that worldometer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.