-- 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
Metadata
Release files for openweatherappapi 7.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openweatherappapi-7.0.8.tar.gz | 92.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openweatherappapi-7.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.1 kB
Release files / openweatherappapi-7.0.8.tar.gz
| Download URL | openweatherappapi-7.0.8.tar.gz |
|---|---|
| Size | 92.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbc39e824d0cda3db4e78ca07888891a7ecfa470dba0925969f02a21f283328c
|
|
BLAKE2b-256 checksum How to use checksums |
db58ca05c6e15e07dac9c17ae83806cb6326f99ec2373fe5c9123363771cd82e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.0
|
Release files / openweatherappapi-7.0.8-py3-none-any.whl
| Download URL | openweatherappapi-7.0.8-py3-none-any.whl |
|---|---|
| Size | 106.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19c2cb415c6a6e7f1e146986f380e10fe413bcbcd3ca9131e04b1b92438c2ff5
|
|
BLAKE2b-256 checksum How to use checksums |
cb1bb59dd0032f6c3bdf5542523f16c3ff5d9b622495376095b0861b084b33e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.0
|