worldometer


Nameworldometer JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/matheusfelipeog/worldometer
SummaryGet live, population, geography, projected, and historical data from around the world.
upload_time2023-10-26 00:12:08
maintainer
docs_urlNone
authorMatheus Felipe
requires_python>=3.9,<3.12
licenseMIT
keywords worldometer worldometers worldometer-api worldometer-scraping world-data world-metrics metrics real-time-data real-time-metrics api scraping requests-html livedata historical historical-data live world data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
    <img src="https://raw.githubusercontent.com/matheusfelipeog/worldometer/master/.github/assets/images/worldometer.png" alt="Worldometer package logo" width="800px" />
    <br />
    <em>Get live, population, geography, projected, and historical data from around the world.</em>
</p>

---

<p align="center">
    <sup>Metadata</sup>
    <br />
    <a href="https://pypi.org/project/worldometer/">
        <img alt="PyPI - Version" src="https://img.shields.io/pypi/v/worldometer" />
    </a>
    <a href="https://pepy.tech/project/worldometer">
        <img alt="Total Downloads" src="https://pepy.tech/badge/worldometer" />
    </a>
    <a href="https://github.com/matheusfelipeog/worldometer/blob/master/LICENSE">
        <img src="https://img.shields.io/github/license/matheusfelipeog/worldometer" alt="License MIT" />
    </a>
</p>

<p align="center">
    <sup>Status</sup>
    <br />
    <a href="https://pypi.org/project/worldometer/">
        <img alt="PyPI - Status" src="https://img.shields.io/pypi/status/worldometer" />
    </a>
    <a href='https://worldometer.readthedocs.io/en/latest/?badge=latest'>
        <img src='https://readthedocs.org/projects/worldometer/badge/?version=latest' alt='Documentation Status' />
    </a>
</p>


## Index

- [About](#about)
- [Install](#install)
- [Documentation](#documentation)
- [Demo](#demo)
- [worldometers.info](#worldometersinfo)
- [Data Sources](#data-sources)
- [Contributions](#contributions)
- [License](#license)


## About

The [`worldometer`](https://github.com/matheusfelipeog/worldometer) package accesses various counters and live data available throughout the [worldometers.info](https://www.worldometers.info/) website and provides them through simple and self-describing classes, methods and attributes.

Access data on:

- The world 🌍
- Population 👥
- Geography 🗺️
- Projections 🔮
- Historical 📜


## Install

Use `pip` to install the worldometer package:

```bash
$ pip install worldometer
```


## Documentation

See the docs for more information and its API at: [worldometer.readthedocs.io](https://worldometer.readthedocs.io/)


## Demo

> [!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](https://www.worldometers.info/):

```python
>>> 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:

```python
>>> wc.reload_data()
>>> wc.world_population.current_population
8065300592
```

Get help and view information about mapped sections:

```python
>>> help(wc)
```


## worldometers.info

> 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.

<p align="right">
    <sup><a href="https://www.worldometers.info/about/">worldometers.info/about</a></sup>
</p>


## Data Sources

> **[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.

<p align="right">
    <sup><a href="https://www.worldometers.info/sources/">worldometers.info/sources</a></sup>
</p>


## Contributions

All contributions are welcome!

Found a problem, want to give a tip? [open an issue](https://github.com/matheusfelipeog/worldometer/issues)

Do you have a solution to the problem? [Send me a PR](https://github.com/matheusfelipeog/worldometer/pulls)

Did you like this project? [Click on the star ⭐](https://github.com/matheusfelipeog/worldometer/stargazers)


## License

This project is using the MIT license, see in [MIT LICENSE](https://github.com/matheusfelipeog/worldometer/blob/master/LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/matheusfelipeog/worldometer",
    "name": "worldometer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<3.12",
    "maintainer_email": "",
    "keywords": "worldometer,worldometers,worldometer-api,worldometer-scraping,world-data,world-metrics,metrics,real-time-data,real-time-metrics,api,scraping,requests-html,livedata,historical,historical-data,live,world,data",
    "author": "Matheus Felipe",
    "author_email": "matheusfelipeog@protonmail.com",
    "download_url": "https://files.pythonhosted.org/packages/28/83/cfb6d529b34678d9fa5b31c1385e6e4dbf1951eb18679ad8c9ae7a5df1d8/worldometer-2.0.0.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n    <img src=\"https://raw.githubusercontent.com/matheusfelipeog/worldometer/master/.github/assets/images/worldometer.png\" alt=\"Worldometer package logo\" width=\"800px\" />\n    <br />\n    <em>Get live, population, geography, projected, and historical data from around the world.</em>\n</p>\n\n---\n\n<p align=\"center\">\n    <sup>Metadata</sup>\n    <br />\n    <a href=\"https://pypi.org/project/worldometer/\">\n        <img alt=\"PyPI - Version\" src=\"https://img.shields.io/pypi/v/worldometer\" />\n    </a>\n    <a href=\"https://pepy.tech/project/worldometer\">\n        <img alt=\"Total Downloads\" src=\"https://pepy.tech/badge/worldometer\" />\n    </a>\n    <a href=\"https://github.com/matheusfelipeog/worldometer/blob/master/LICENSE\">\n        <img src=\"https://img.shields.io/github/license/matheusfelipeog/worldometer\" alt=\"License MIT\" />\n    </a>\n</p>\n\n<p align=\"center\">\n    <sup>Status</sup>\n    <br />\n    <a href=\"https://pypi.org/project/worldometer/\">\n        <img alt=\"PyPI - Status\" src=\"https://img.shields.io/pypi/status/worldometer\" />\n    </a>\n    <a href='https://worldometer.readthedocs.io/en/latest/?badge=latest'>\n        <img src='https://readthedocs.org/projects/worldometer/badge/?version=latest' alt='Documentation Status' />\n    </a>\n</p>\n\n\n## Index\n\n- [About](#about)\n- [Install](#install)\n- [Documentation](#documentation)\n- [Demo](#demo)\n- [worldometers.info](#worldometersinfo)\n- [Data Sources](#data-sources)\n- [Contributions](#contributions)\n- [License](#license)\n\n\n## About\n\nThe [`worldometer`](https://github.com/matheusfelipeog/worldometer) package accesses various counters and live data available throughout the [worldometers.info](https://www.worldometers.info/) website and provides them through simple and self-describing classes, methods and attributes.\n\nAccess data on:\n\n- The world \ud83c\udf0d\n- Population \ud83d\udc65\n- Geography \ud83d\uddfa\ufe0f\n- Projections \ud83d\udd2e\n- Historical \ud83d\udcdc\n\n\n## Install\n\nUse `pip` to install the worldometer package:\n\n```bash\n$ pip install worldometer\n```\n\n\n## Documentation\n\nSee the docs for more information and its API at: [worldometer.readthedocs.io](https://worldometer.readthedocs.io/)\n\n\n## Demo\n\n> [!NOTE]\n> *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.*\n\nGet the data from the live counters available on the [homepage](https://www.worldometers.info/):\n\n```python\n>>> from worldometer.world import WorldCounters\n\n>>> wc = WorldCounters()\n\n>>> wc.world_population.current_population\n8065299074\n\n>>> wc.government_and_economics.computers_produced_this_year\n180248430\n\n>>> wc.society_and_media.internet_users_in_the_world_today\n5895566559\n```\n\nReload data to get the latest:\n\n```python\n>>> wc.reload_data()\n>>> wc.world_population.current_population\n8065300592\n```\n\nGet help and view information about mapped sections:\n\n```python\n>>> help(wc)\n```\n\n\n## worldometers.info\n\n> 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.\n\n<p align=\"right\">\n    <sup><a href=\"https://www.worldometers.info/about/\">worldometers.info/about</a></sup>\n</p>\n\n\n## Data Sources\n\n> **[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.\n>\n> 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).\n>\n> 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.\n\n<p align=\"right\">\n    <sup><a href=\"https://www.worldometers.info/sources/\">worldometers.info/sources</a></sup>\n</p>\n\n\n## Contributions\n\nAll contributions are welcome!\n\nFound a problem, want to give a tip? [open an issue](https://github.com/matheusfelipeog/worldometer/issues)\n\nDo you have a solution to the problem? [Send me a PR](https://github.com/matheusfelipeog/worldometer/pulls)\n\nDid you like this project? [Click on the star \u2b50](https://github.com/matheusfelipeog/worldometer/stargazers)\n\n\n## License\n\nThis project is using the MIT license, see in [MIT LICENSE](https://github.com/matheusfelipeog/worldometer/blob/master/LICENSE).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Get live, population, geography, projected, and historical data from around the world.",
    "version": "2.0.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/matheusfelipeog/worldometer/issues",
        "Documentation": "https://worldometer.readthedocs.io",
        "Homepage": "https://github.com/matheusfelipeog/worldometer",
        "Pull Requests": "https://github.com/matheusfelipeog/worldometer/pulls",
        "Repository": "https://github.com/matheusfelipeog/worldometer"
    },
    "split_keywords": [
        "worldometer",
        "worldometers",
        "worldometer-api",
        "worldometer-scraping",
        "world-data",
        "world-metrics",
        "metrics",
        "real-time-data",
        "real-time-metrics",
        "api",
        "scraping",
        "requests-html",
        "livedata",
        "historical",
        "historical-data",
        "live",
        "world",
        "data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c110d7f08ed2cb6c0fc1138885a9fb18b8f2d8dfe078067ef2b9d439e2a905c4",
                "md5": "72784425a2ee88b4fe1be6138a05f72c",
                "sha256": "35d38d08b8cf9dc56d1ce0344da76da4c9ea96eebad93e30025a8319e55fb589"
            },
            "downloads": -1,
            "filename": "worldometer-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "72784425a2ee88b4fe1be6138a05f72c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<3.12",
            "size": 30366,
            "upload_time": "2023-10-26T00:12:06",
            "upload_time_iso_8601": "2023-10-26T00:12:06.148814Z",
            "url": "https://files.pythonhosted.org/packages/c1/10/d7f08ed2cb6c0fc1138885a9fb18b8f2d8dfe078067ef2b9d439e2a905c4/worldometer-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2883cfb6d529b34678d9fa5b31c1385e6e4dbf1951eb18679ad8c9ae7a5df1d8",
                "md5": "6e72b144d243bef34c56833461d13aea",
                "sha256": "984cde962f3ddd2961cf72e93e01a3614559506f53327aef9b8db93ed5fd7e8f"
            },
            "downloads": -1,
            "filename": "worldometer-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6e72b144d243bef34c56833461d13aea",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<3.12",
            "size": 20052,
            "upload_time": "2023-10-26T00:12:08",
            "upload_time_iso_8601": "2023-10-26T00:12:08.030571Z",
            "url": "https://files.pythonhosted.org/packages/28/83/cfb6d529b34678d9fa5b31c1385e6e4dbf1951eb18679ad8c9ae7a5df1d8/worldometer-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-26 00:12:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "matheusfelipeog",
    "github_project": "worldometer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "worldometer"
}
        
Elapsed time: 3.45136s