semvec/pypi-packages huggingface dataset:
aquanta 0.2
Unofficial library to interact with Aquanta water heater smart controller.
Requires Python: >=3.6

# aquanta

`aquanta` is an unofficial python library to communicate with the
Aquanta water heater smart controller. This library covers a limited
set of the device features.

```
>>> from aquanta import Aquanta
>>> aquanta = Aquanta('<YOUR-EMAIL>', '<YOUR-PASSWORD>')
```

Multiple aquanta devices can be attached to a single Aquanta
accounts. Similarly an `Aquanta` object list all these devices as
couples of identifier (`int`) and `AquantaDevice` object.

```
>>> list(aquanta)
[(19658, <aquanta.AquantaDevice object at 0x7f5c5037bd90>)]
```

The `AquantaDevice` object offers method to read the water heater
status and access its schedule. The schedule can be read and written
but the write feature has not been tested.

```
>>> aquanta[19658].water
{'temperature': 49.41, 'available': 1}
>>> aquanta[19658].infocenter
{'title': 'Aquanta', 'currentMode': {'type': 'timer'},
'records': [{'title': 'Controlling to Manual Setpoint',
             'type': 'setpoint', 'state': 'ongoing',
             'body': 'Aquanta is controlling to your specified setpoint'},
            {'title': 'Your Timer Is Running', 'type': 'timer', 
             'state': 'ongoing',
             'body': 'Aquanta is keeping your water heater off until 8:00AM tomorrow'}]}
>>> aquanta[19658].advanced
{'controlEnabled': True, 'intelEnabled': False, 'efficiencySelection': 0.5,
 'setPoint': 90, 'thermostatEnabled': True, 'touEnabled': False,
 'timerEnabled': True}
>>> aquanta[19658].timer
{'schedules': [{'start': {'hour': 8, 'minute': 15, 'second': 0},
                'end': {'hour': 14, 'minute': 30, 'second': 0},
                'daysOfWeek': [1, 2, 3, 4, 5], 'resolution': 2},
               {'start': {'hour': 8, 'minute': 15, 'second': 0},
                'end': {'hour': 14, 'minute': 30, 'second': 0},
                'daysOfWeek': [0, 6], 'resolution': 2}, 
               {'start': {'hour': 15, 'minute': 15, 'second': 0},
                'end': {'hour': 23, 'minute': 59, 'second': 59},
                'daysOfWeek': [1, 2, 3, 4, 5], 'resolution': 2},
               {'start': {'hour': 15, 'minute': 15, 'second': 0},
                'end': {'hour': 23, 'minute': 59, 'second': 59}, 
                'daysOfWeek': [0, 6], 'resolution': 2},
               {'start': {'hour': 0, 'minute': 0, 'second': 0},
                'end': {'hour': 8, 'minute': 0, 'second': 0},
                'daysOfWeek': [1, 2, 3, 4, 5], 'resolution': 2},
               {'start': {'hour': 0, 'minute': 0, 'second': 0},
                'end': {'hour': 8, 'minute': 0, 'second': 0},
                'daysOfWeek': [0, 6], 'resolution': 2}],
 'selectedResolution': 2}
```

The `AquantaDevice` object also provides methods to set the `boost` or
`away` mode time window. The `set_boost()` and `set_away()` method
parameters are two strings (`start` and `end`) of UTC time formatted
as `%Y-%m-%dT%H:%M:%S.000Z`.
disstat 1.0.3
A Python wrapper for the DisStat API.

# Disstat

Disstat is a Python package for computing dissimilarity statistics for wrapping the Disstat API.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install disstat.

```bash
pip install disstat
```

## Usage

```python
from discord import Intents, Interaction
from discord.ext import commands
from disstat import DisstatClient


class Bot(commands.Bot):
    def __init__(self):
        super().__init__(command_prefix="!", intents=Intents.default())
        self.disstat = DisstatClient(self, "DISSTAT API KEY HERE")

    async def on_ready(self):
        await self.disstat.start_auto_post()

    async def on_command_completion(
        self, ctx: commands.Context
    ):  # For using prefix commands
        await self.disstat.post_command(
            ctx.command.name,
            invoker_id=ctx.user.id,
            guild_id=(ctx.guild.id if ctx.guild else None),
        )

    async def on_app_command_completion(
        self, interaction: Interaction
    ):  # For using slash commands
        await self.disstat.post_command(
            interaction.command.name,
            invoker_id=interaction.user.id,
            guild_id=(interaction.guild.id if interaction.guild else None),
        )

    async def on_disstat_post(self, payload):
        print("Posted stats to Disstat.")

    async def on_disstat_post_command(self, payload):
        print(f"Posted command {payload['command']} to Disstat.")


bot = Bot()

bot.run("TOKEN")
```
mspython 1.0.0
An Scratch API Wrapper for scratch.mit.edu
Keywords: scratch api,scratch api python,scratch python,scratch for python,scratch,scratch cloud,scratch cloud variables,scratch bot

# Manipulating Scratch in python

これはscratchattachの日本語版のものです

## インストール

```
pip install mspython
```
またはpythonで
```
import os

os.system("pip install -U mspython")
```
でインストールできます。
Manipulating Scratch in pythonの機能はすべて`[documentation](https://github.com/TimMcCool/scratchattach/wiki/)`に書いてあります
accesstoscratch 1.0.1
An Scratch API Wrapper for scratch.mit.edu
Keywords: scratch api,scratch api python,scratch python,scratch for python,scratch,scratch cloud,scratch cloud variables,scratch bot

# access to scratch

これはscratchattachの日本語版のものです

## インストール

```
pip install accesstoscratch
```
またはpythonで
```
import os

os.system("pip install -U accesstoscratch")
```
でインストールできます。
access scratchの機能はすべて`[documentation](https://github.com/TimMcCool/scratchattach/wiki/)`に書いてあります
remote-graphcast 0.0.12
Allows people without massive GPUs to easily run graphcast on remote runpod servers
Requires Python: >=3.8

# Remote Graphcast

Run [graphcast](https://github.com/google-deepmind/graphcast) on a [runpod](https://runpod.io/) GPU server. Output is saved to [s3](https://aws.amazon.com/pm/serv-s3/). Shouldn't cost more than $0.6 USD for a 10 day forcast.

## Order of operations

1. Your input is validated
2. A secure runpod GPU pod is spun up on your runpod account
3. Graphcast is installed into that gpu and forecasts of your chosen length are generated for each timestamp, this takes around 10 minutes for a 10 day forcast
4. These forecasts are saved to your chosen s3 bucket, roughly **6.5GB for 10 days** of forecast
5. The runpod pod is terminated
6. The program exits

## Requirements

- python 3.8+ and pip
- [cds.climate](https://cds.climate.copernicus.eu/api-how-to) credentials
- an [AWS](https://aws.amazon.com/console/) s3 bucket, free tier should be fine
- S3 credentials to go with the bucket
- [Runpod](https://www.runpod.io/) credentials

## Installation

`pip install remote-graphcast`

## Example Code

```python

from remote_graphcast import remote_cast

remote_cast(
	aws_access_key_id='YOUR_AWS_ACCESS_KEY_ID',
	aws_secret_access_key='YOUR_AWS_SECRET_ACCESS_KEY',
	aws_bucket='YOUR_AWS_BUCKET_NAME',
	cds_url='https://cds.climate.copernicus.eu/api/v2', # this is probably your CDS URL 
	cds_key='YOUR_CDS_KEY',
	forcast_list="[{'start': '2023122518', 'hours_to_forcast': 48}]", 
	# dates to forcast from, note the weird quasi-JSON format, of this string, use single quotes instead of double quotes
	# select a date in the future and it will raise an error without spinning up anything
	runpod_key='YOUR_RUNPOD_KEY',
	gpu_type_id="NVIDIA A100-SXM4-80GB", # graphcast needs at least 61GB GPU ram (unless you want to quantize)
	container_disk_in_gb=50, # you'll need around 40GB per 10 day forcast + a healthy 10GB buffer
)

# internally this function will keep polling the pod it spins up and the s3 bucket until it sees that all forcasts 
# are complete, then it will return

```

## Warning

In order to make predictions graphcast must request ERA5 reanalysis data from the European Center for Medium Range Weather Forcasts (ECMWF). Usually the download completes in < 2 minutes. However, if their servers are busy your request will be [put in a queue](https://confluence.ecmwf.int/display/UDOC/My+request+is+queued+for+a+long+time+-+Web+API+FAQ). You can view all your open requests [here](https://cds.climate.copernicus.eu/cdsapp#!/yourrequests). Until your request is granted is granted, the graphcast runpod server will be waiting idly (costing you money). This process has taken me > 1 hour in the past.

You can also check your progress by viewing the runpod logs.
YouTubeAnalytics 0.1.5
A Python package to fetch video statistics from a YouTube channel
Requires Python: >=3.7

# YouTubeAnalytics

YouTubeAnalyticsは、YouTubeチャンネルのビデオ統計を取得するためのPythonパッケージです。このパッケージは、YouTube Data API V3を使用して、特定のチャンネルのビデオのタイトルと視聴回数を取得します。

## インストール

このパッケージはPyPIからインストールできます：

pip install YouTubeAnalytics

## 使用方法

まず、YouTubeAnalyticsクラスをインポートし、APIキーを使用してインスタンスを作成します：

```python
from YTAnalytics import YouTubeAnalytics
yt_analytics = YouTubeAnalytics(api_key="your_api_key")
```


次に、get_channel_videosメソッドを使用して、特定のチャンネルのビデオ統計を取得します：

このメソッドは、指定したチャンネルの全てのビデオのタイトルと視聴回数を含むリストを返します。また、days_limitパラメータを指定することで、過去特定の日数のビデオのみを取得することも可能です：
```python
video_stats = yt_analytics.get_channel_videos(channel_id="your_channel_id")

video_stats = yt_analytics.get_channel_videos(channel_id="your_channel_id", days_limit=30)
```

この場合、過去30日間にアップロードされたビデオのみが取得されます。

## 注意事項

このパッケージはYouTube Data API V3を使用しています。そのため、使用するにはYouTube Data API V3のAPIキーが必要です。APIキーは、Google Cloud Consoleから取得できます。

また、このパッケージを使用する際は、YouTubeの利用規約と著作権法を遵守してください。具体的な使用方法や制限については、YouTube Data APIの公式ドキュメンテーションを参照してください。

## ライセンス

このパッケージはMITライセンスの下で公開されています。詳細はLICENSEファイルをご覧ください。
ion-kit-python 1.0.0
Python Binding for ion-kit
Requires Python: >=3.8

# ionpy - Python binding for ion-kit

```
pip3 install "git+https://github.com/fixstars/ion-kit.git#egg=ionpy&subdirectory=python"
```

## Test

```
LD_LIBRARY_PATH=<path-to-ion-libs> PYTHONPATH=. pytest ./tests/
```
Kisyouchecker 0.0.3
Enter any prefecture name to output the place name, weather, maximum temperature, minimum temperature, and humidity as listed in Yahoo Weather
Requires Python: >=3.7

# kisyou

kisyouは、日本の都道府県の名前を入力すると、その都道府県の今日と明日の天気をスクレイピングして表示するPythonパッケージです。Yahoo!天気のサイトから情報を取得します。

## インストール

pipを使ってインストールできます。


pip install kisyouchecker


## 使い方

kisyouモジュールをインポートして、kisyou関数に都道府県の名前を渡します。すると、その都道府県の今日と明日の天気がリストとして返されます。


from kisyou import kisyou kisyou(“東京都”)

[["今日", "晴れ", "25℃", "17℃", "10%"], ["明日", "曇り", "23℃", "18℃", "20%"]]

## ライセンス

このパッケージはMITライセンスのもとで公開されています。

## 作者

gotouyamato
s2122100@stu.musashino-u.ac.jp