eces-eg-weather-package


Nameeces-eg-weather-package JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://adawoud.com/
SummaryWeather forecast data
upload_time2024-02-27 10:42:57
maintainer
docs_urlNone
authorAhmed Dawoud
requires_python
licenseMIT
keywords weather forecast openweather
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ECES Weather Package

Welcome to the ECES Weather Package – the first official release from the ECES Data Analytics Unit led by Ahmed Dawoud. This Python package provides a simple and intuitive interface to interact with weather data using the OpenWeatherMap API. With it, you can fetch weather forecasts and analyze weather patterns.

## Installation

To install the ECES Weather Package, run the following command in your terminal:

```bash
pip install eces-weather-package
```

Make sure you have Python and pip already installed on your system.

## Features

- **Retrieve Weather Forecasts**: Easily get weather forecasts for the next five days.
- **Temperature and Wind Data**: Access detailed temperature and wind data in a structured format.
- **Data Analysis Ready**: Integrate with Pandas for further data analysis.

## Quick Start

Here's how to use the ECES Weather Package to retrieve weather forecast data for a specified city:

```python
from eces_weather_package import Weather

# Initialize the Weather object with your API key and desired city
weather = Weather(apikey='your_openweathermap_api_key_here', city='Cairo')

# Get temperature forecast for the next 5 days
temperature_data = weather.temp_next_5_days()
print(temperature_data)

# Get wind forecast for the next 5 days
wind_data = weather.wind_next_5_days()
print(wind_data)
```

## Usage

### Initializing the Weather Object

Before you can retrieve any data, you'll need to initialize the `Weather` object with your OpenWeatherMap API key and the city you're interested in:

```python
weather = Weather(apikey='your_api_key_here', city='Cairo')
```

### Getting Temperature Data

To get the temperature forecast for the next five days:

```python
temperature_data = weather.temp_next_5_days()
print(temperature_data)
```

This will return a Pandas DataFrame with the temperature and time data.

### Getting Wind Data

Similarly, to get the wind forecast:

```python
wind_data = weather.wind_next_5_days()
print(wind_data)
```

This will return a Pandas DataFrame with wind speed and direction data.

## Future Work

We are excited to continue developing the ECES Weather Package. Future updates will include more features for weather analysis and prediction, harnessing the power of data science and machine learning.

## Support

For support, bug reports, or feature requests, please contact [support_email@example.com](mailto:support_email@example.com).

## License

This project is licensed under the [MIT License](LICENSE.txt) - see the LICENSE file for details.

## Contributing

We welcome contributions from the community. To contribute to the ECES Weather Package, please fork the repository, make your changes, and submit a pull request.

## Author

- **Ahmed Dawoud** - *Initial work* - [AhmedDawoud](https:adawoud.com)

            

Raw data

            {
    "_id": null,
    "home_page": "https://adawoud.com/",
    "name": "eces-eg-weather-package",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "weather,forecast,openweather",
    "author": "Ahmed Dawoud",
    "author_email": "ahmed.ismail2013@feps.edu.eg",
    "download_url": "https://files.pythonhosted.org/packages/2f/22/11fb5545af2612ac82f0eee6a84416ef2fa1bdf0eb6c6b9cb3ada3ad047c/eces_eg_weather_package-1.1.0.tar.gz",
    "platform": null,
    "description": "# ECES Weather Package\n\nWelcome to the ECES Weather Package \u00e2\u20ac\u201c the first official release from the ECES Data Analytics Unit led by Ahmed Dawoud. This Python package provides a simple and intuitive interface to interact with weather data using the OpenWeatherMap API. With it, you can fetch weather forecasts and analyze weather patterns.\n\n## Installation\n\nTo install the ECES Weather Package, run the following command in your terminal:\n\n```bash\npip install eces-weather-package\n```\n\nMake sure you have Python and pip already installed on your system.\n\n## Features\n\n- **Retrieve Weather Forecasts**: Easily get weather forecasts for the next five days.\n- **Temperature and Wind Data**: Access detailed temperature and wind data in a structured format.\n- **Data Analysis Ready**: Integrate with Pandas for further data analysis.\n\n## Quick Start\n\nHere's how to use the ECES Weather Package to retrieve weather forecast data for a specified city:\n\n```python\nfrom eces_weather_package import Weather\n\n# Initialize the Weather object with your API key and desired city\nweather = Weather(apikey='your_openweathermap_api_key_here', city='Cairo')\n\n# Get temperature forecast for the next 5 days\ntemperature_data = weather.temp_next_5_days()\nprint(temperature_data)\n\n# Get wind forecast for the next 5 days\nwind_data = weather.wind_next_5_days()\nprint(wind_data)\n```\n\n## Usage\n\n### Initializing the Weather Object\n\nBefore you can retrieve any data, you'll need to initialize the `Weather` object with your OpenWeatherMap API key and the city you're interested in:\n\n```python\nweather = Weather(apikey='your_api_key_here', city='Cairo')\n```\n\n### Getting Temperature Data\n\nTo get the temperature forecast for the next five days:\n\n```python\ntemperature_data = weather.temp_next_5_days()\nprint(temperature_data)\n```\n\nThis will return a Pandas DataFrame with the temperature and time data.\n\n### Getting Wind Data\n\nSimilarly, to get the wind forecast:\n\n```python\nwind_data = weather.wind_next_5_days()\nprint(wind_data)\n```\n\nThis will return a Pandas DataFrame with wind speed and direction data.\n\n## Future Work\n\nWe are excited to continue developing the ECES Weather Package. Future updates will include more features for weather analysis and prediction, harnessing the power of data science and machine learning.\n\n## Support\n\nFor support, bug reports, or feature requests, please contact [support_email@example.com](mailto:support_email@example.com).\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.txt) - see the LICENSE file for details.\n\n## Contributing\n\nWe welcome contributions from the community. To contribute to the ECES Weather Package, please fork the repository, make your changes, and submit a pull request.\n\n## Author\n\n- **Ahmed Dawoud** - *Initial work* - [AhmedDawoud](https:adawoud.com)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Weather forecast data",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://adawoud.com/"
    },
    "split_keywords": [
        "weather",
        "forecast",
        "openweather"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83a9d0ac24aa21d90fbb92297bc445cbd7ed84a49fadf2a74b1c27e89ec432f1",
                "md5": "e7ffbd2fd4ec7c15354f0dd7647d7baa",
                "sha256": "4b21900f792a5f46406d70db4b483e0ecaf2bbf4f32fb51a91da07d8b81183ef"
            },
            "downloads": -1,
            "filename": "eces_eg_weather_package-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e7ffbd2fd4ec7c15354f0dd7647d7baa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3205,
            "upload_time": "2024-02-27T10:42:55",
            "upload_time_iso_8601": "2024-02-27T10:42:55.931460Z",
            "url": "https://files.pythonhosted.org/packages/83/a9/d0ac24aa21d90fbb92297bc445cbd7ed84a49fadf2a74b1c27e89ec432f1/eces_eg_weather_package-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f2211fb5545af2612ac82f0eee6a84416ef2fa1bdf0eb6c6b9cb3ada3ad047c",
                "md5": "7980e5eb1eecc53aba888e3cc7ce95ee",
                "sha256": "86f874b12e14b676e7543ea1f8dddb636f7122d1fd1a2e61ecbc836bdcb27d9f"
            },
            "downloads": -1,
            "filename": "eces_eg_weather_package-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7980e5eb1eecc53aba888e3cc7ce95ee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3205,
            "upload_time": "2024-02-27T10:42:57",
            "upload_time_iso_8601": "2024-02-27T10:42:57.907284Z",
            "url": "https://files.pythonhosted.org/packages/2f/22/11fb5545af2612ac82f0eee6a84416ef2fa1bdf0eb6c6b9cb3ada3ad047c/eces_eg_weather_package-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-27 10:42:57",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "eces-eg-weather-package"
}
        
Elapsed time: 0.18992s