weatherincity


Nameweatherincity JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryRetrieves the current temperature in a city
upload_time2025-01-26 07:04:58
maintainerNone
docs_urlNone
authorJürgen Brauer
requires_python>=3.10
licenseUnlicense
keywords weather temperature example-package
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Installation

    pip install weatherincity


# Usage as a CLI tool

    python weatherincity.py Berlin

This will retrieve and display the current temperature for Berlin:

    The current temperature in Berlin is: +6°C


# Usage as a module

    import weatherincity
    print(weatherincity.get_current_temperature('Berlin'))
    '+6°C'





            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "weatherincity",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "weather, temperature, example-package",
    "author": "J\u00fcrgen Brauer",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/3f/c0/98b8105d4871184d450d27ba398845502cf15f827de0cf379aff2d123ad7/weatherincity-1.0.1.tar.gz",
    "platform": null,
    "description": "# Installation\n\n    pip install weatherincity\n\n\n# Usage as a CLI tool\n\n    python weatherincity.py Berlin\n\nThis will retrieve and display the current temperature for Berlin:\n\n    The current temperature in Berlin is: +6\u00b0C\n\n\n# Usage as a module\n\n    import weatherincity\n    print(weatherincity.get_current_temperature('Berlin'))\n    '+6\u00b0C'\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "Unlicense",
    "summary": "Retrieves the current temperature in a city",
    "version": "1.0.1",
    "project_urls": {
        "Source Code": "https://github.com/juebrauer/examples/tree/main/001_writing_an_own_python_package/weatherincity"
    },
    "split_keywords": [
        "weather",
        " temperature",
        " example-package"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "995c15183cd6cec5f6956e2a04d63a1fb84a658a385f522398a8a13d808019a9",
                "md5": "e24f939b4001b73e5778101b3be12d5b",
                "sha256": "1ce072c6a01ccb875f058ff6c7c3e4cf524f73a2908d09bf01ee8cb0146e0b72"
            },
            "downloads": -1,
            "filename": "weatherincity-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e24f939b4001b73e5778101b3be12d5b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 3244,
            "upload_time": "2025-01-26T07:04:56",
            "upload_time_iso_8601": "2025-01-26T07:04:56.581534Z",
            "url": "https://files.pythonhosted.org/packages/99/5c/15183cd6cec5f6956e2a04d63a1fb84a658a385f522398a8a13d808019a9/weatherincity-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3fc098b8105d4871184d450d27ba398845502cf15f827de0cf379aff2d123ad7",
                "md5": "dab291ec243e288673ddd4fd671c382d",
                "sha256": "2db5da1e22499e15608e3d619aedae7e53d26cec4c97a93bb3d2e45456205541"
            },
            "downloads": -1,
            "filename": "weatherincity-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "dab291ec243e288673ddd4fd671c382d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 2740,
            "upload_time": "2025-01-26T07:04:58",
            "upload_time_iso_8601": "2025-01-26T07:04:58.432129Z",
            "url": "https://files.pythonhosted.org/packages/3f/c0/98b8105d4871184d450d27ba398845502cf15f827de0cf379aff2d123ad7/weatherincity-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-26 07:04:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "juebrauer",
    "github_project": "examples",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "weatherincity"
}
        
Elapsed time: 1.91647s