semvec/pypi-packages huggingface dataset:
diving-station-py 0.1.1
A Python library for diving station
License: MIT
Requires Python: >=3.9

# Diving Station Python SDK

Diving Stationデバイスと通信するためのPython SDKです。
v1.5.6以降のDiving Stationに対応しています。

## 特徴

- Diving Stationデバイスとの接続管理
- デバイス情報の取得
- ハンドジェスチャー（手の曲げ、クォータニオン）データの受信
- 触覚フィードバックの制御
- 手首の動きデータの受信

## インストール

- pip

```bash
pip install diving-station
```

- rye

```bash
rye add diving-station
```

## 使用方法

```python
import asyncio
from diving_station_py.client import DivingStationClient
from diving_station_py.constants import HandType

async def main():
    client = DivingStationClient()
    
    # デバイスに接続
    await client.connect()
    
    # メインデバイスが見つかるまで待機
    main_device = None
    while not main_device:
        await asyncio.sleep(0.1)
        main_device = client.devices[0] if client.devices else None
    
    if main_device:
        # 右手に触覚フィードバックを送信
        await client.send_haptic(
            device_id=main_device.id,
            hand_type=HandType.RIGHT,
            frequency=0.1,
            intensity=1.0,
            duration=0.2
        )
    
    # 切断
    await client.disconnect()

# 非同期実行
asyncio.run(main())
```

## 開発

### 依存関係のインストール

```bash
rye sync
```

### テストの実行

テストの実行はDiving Stationを起動し, デバイスを接続してから行ってください。

```bash
rye pytest
```

## ライセンス

[MIT](LICENSE)
wai.logging 0.0.2
Python library with helper methods for logging.
License: MIT

Python library with helper methods for logging.

* `init_logging` - initializes the logging with a default level, which can be overridden with an environment variable
* `set_logging_level` - sets the logging level of a `logging.Logger` instance
* `str_to_logging_level` - turns a string logging level into a `logging` module one, used by `init_logging` and `set_logging_level`
* `add_logging_level` - adds an option for the logging level to an `argparse.ArgumentParser` instance
* `add_logger_name` - adds an option for a custom name for a logger to an `argparse.ArgumentParser` instance


Changelog
=========

0.0.2 (2025-01-14)
------------------

- `init_logging` now supports specifying `stream` or `filename` or `handlers` as well as the `log_format`


0.0.1 (2023-11-30)
------------------

- initial release
pyproject-tag-check 1.1.0
Verify version in pyproject.toml is not already used
License: MIT
Requires Python: <4,>=3.7

## pyproject-tag-check

I always forget to bump poetry version in pyproject.toml files. That's why I build this simple package. It is pre-commit hook which check that version in pyproject.toml is not used as a tag for given repo URL (must be public repository).

## Usage:


Put it in `.pre-commit.config.yaml` repos and argument must be URL to public repo on GH (for example this repo itself https://github.com/rafsaf/pyproject-tag-check).

```yml
repos:
  - repo: https://github.com/rafsaf/pyproject-tag-check
    rev: "1.0.0"
    hooks:
      - id: pyproject-tag-check
        always_run: true
        args:
          - https://github.com/rafsaf/pyproject-tag-check

```

Use `always_run: true` if check should be performed always, otherwise it will run only when `pyproject.toml` is changed.


`pyproject.toml` usually looks like 

```toml
[tool.poetry]
name = "some-name..."
version = "0.1.0"
```
If repository is public and tag 0.1.0 already exists like it does for https://github.com/rafsaf/pyproject-tag-check, the check will not pass.
python_project_alban_magerand_203 0.0.6
Final Project of the Python Programming course of the MSc 203
License: MIT
Requires Python: <4.0,>=3.10

# python_project_alban_magerand_203

Final Project of the Python Programming course of the MSc 203. By following the Usage section below, the user:
- is able to perform backtests by adjusting several parameters (universe, objective function, length of the EWMA, ...)
- visualize equity curves and metrics related the strategy (Sharpe, drawdown, ...)
- export graphs thanks to the integration within the Plotly framework

## Installation

```bash
$ pip install python_project_alban_magerand_203
```

## Usage

```python
from python_project_alban_magerand_203.dash_app import BacktestApp
app = BacktestApp()
app.run()
```

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`python_project_alban_magerand_203` was created by Alban Magerand. It is licensed under the terms of the MIT license.

## Credits

`python_project_alban_magerand_203` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).