Weather App
Project description
-- RU --
Приложение «Погода»
Простое приложение Python для получения данных о погоде с помощью API OpenWeather.
Установка
pip install openweatherappapi
Получить ключ API
- Нажмите здесь, чтобы получить ключ API
- Зарегистрируйтесь на странице.
- Щелкните свое имя пользователя вверху.
- Выберите Мои ключи API и скопируйте ключ API по умолчанию.
Пример использования
from openweatherappapi import WeatherApp
WeatherApp.run(openweatherappapi.weatherApp(), "Твой API Ключь") # если вы хотите преобразовать в exe, напишите этот код:
WeatherApp.run(openweatherappapi.weatherApp(), "Твой API Ключь", "Путь Изображение") # Загрузите изображения здесь: https://drive.usercontent.google.com/u/0/uc?id=1wouoR7zORW_le3UbQtECBjxQewBeF5Ys&export=download
Преобразование скрипта Python в EXE
Вы можете преобразовать скрипт Python в исполняемый файл Windows с помощью пакета auto-py-to-exe.
1. Установите auto-py-to-exe
pip install auto-py-to-exe
2. Запустите auto-py-to-exe
auto-py-to-exe
3. Настройте сборку
- В графическом интерфейсе выберите скрипт Python.
- Выберите Один файл, чтобы объединить все в один исполняемый файл.
- При необходимости измените другие параметры.
4. Запустите сборку
- Нажмите кнопку Преобразовать .py в .exe.
- После завершения процесса вы найдете исполняемый файл в выходной папке.
Для получения более подробной информации ознакомьтесь с документацией auto-py-to-exe.
Контакты
-- EN --
Weather App
A simple Python app to get weather data using the OpenWeather API.
Installation
pip install openweatherappapi
Get an API Key
- Click here to get your API Key
- Register on the page.
- Click your username at the top.
- Select My API keys and copy the default API key.
Example Usage
from openweatherappapi import WeatherApp
WeatherApp.run(openweatherappapi.weatherApp(), "Your Api Key") # if you want convert to exe write code this:
WeatherApp.run(openweatherappapi.weatherApp(), "Your Api Key", "path images") # Download Images Here: https://drive.usercontent.google.com/u/0/uc?id=1wouoR7zORW_le3UbQtECBjxQewBeF5Ys&export=download
Convert Python Script to EXE
You can convert your Python script to a Windows executable using the auto-py-to-exe package.
1. Install auto-py-to-exe
pip install auto-py-to-exe
2. Launch auto-py-to-exe
auto-py-to-exe
3. Configure Your Build
- In the GUI, select your Python script.
- Choose One File to bundle everything into a single executable.
- Adjust other settings as needed.
4. Start the Build
- Click the Convert .py to .exe button.
- After the process completes, you’ll find the executable in the output folder.
For more details, check the auto-py-to-exe documentation.
Contacts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openweatherappapi-7.0.8.tar.gz.
File metadata
- Download URL: openweatherappapi-7.0.8.tar.gz
- Upload date:
- Size: 92.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbc39e824d0cda3db4e78ca07888891a7ecfa470dba0925969f02a21f283328c
|
|
| MD5 |
b59a171f0194021efac540aa3fc7bb49
|
|
| BLAKE2b-256 |
db58ca05c6e15e07dac9c17ae83806cb6326f99ec2373fe5c9123363771cd82e
|
File details
Details for the file openweatherappapi-7.0.8-py3-none-any.whl.
File metadata
- Download URL: openweatherappapi-7.0.8-py3-none-any.whl
- Upload date:
- Size: 106.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19c2cb415c6a6e7f1e146986f380e10fe413bcbcd3ca9131e04b1b92438c2ff5
|
|
| MD5 |
2c442cf70d6786a677345423659efd18
|
|
| BLAKE2b-256 |
cb1bb59dd0032f6c3bdf5542523f16c3ff5d9b622495376095b0861b084b33e8
|