Haniwers : ハニワーズ
墳Qの解析コード(個人用)
概要
宇宙線検出器OSECHIでデータを取得・解析するPythonツール。
- ✅ データ取得(DAQ)
- ✅ データ処理・解析
- ✅ スレッショルド測定
ユーザー向け:インストール
インストール方法
推奨:pipx を使用
# 基本インストール(DAQ + データ処理 + 解析)
pipx install haniwers
# オプション:閾値可視化(hvplot)
pipx install "haniwers[analysis]"
# オプション:Notebook分析(plotly, altair)
pipx install "haniwers[viz]"
# 全機能
pipx install "haniwers[all]"
# 動作確認
haniwers --help
詳細ドキュメント
- ユーザーガイド - インストール方法、セットアップ、使い方
- トラブルシューティング - よくある質問
基本的な使い方
# バージョン確認
$ haniwers version
# シリアルポート確認
$ haniwers port list
$ haniwers port test /dev/ttyUSB0
# データ取得(DAQ)
$ haniwers daq --config daq.toml
# データ処理・変換
$ haniwers preprocess input.raw output.csv
# 閾値スキャン
$ haniwers scan --config scan.toml
# 閾値フィッティング
$ haniwers fit data.csv
詳細は各コマンドのヘルプを確認:
haniwers daq --help
haniwers scan --help
開発者向け:開発に参加する
開発環境セットアップ
環境構築(推奨方法)
# 1. リポジトリをクローン
git clone https://gitlab.com/qumasan/haniwers.git
cd haniwers
# 2. 開発環境をセットアップ(Poetry)
poetry install
# 3. テスト実行
task test
# 4. コード品質チェック
task format:check
task lint:fix
# 5. CLIを試す
poetry run haniwers --help
よく使うコマンド
# テストを実行
task test
# コードをフォーマット・チェック
task format
task lint:fix
# ドキュメントをプレビュー
task livehtml
# 詳細は以下で確認
task --list
詳細リソース
リンク
Metadata
Release files for haniwers 1.23.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| haniwers-1.23.0.tar.gz | 175.5 kB | Without provenance | Details for haniwers-1.23.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| haniwers-1.23.0-py3-none-any.whl | Python 3 | none | any | Details for haniwers-1.23.0-py3-none-any.whl |
Total release size: 395.8 kB
Release files / haniwers-1.23.0.tar.gz
| Download URL | haniwers-1.23.0.tar.gz |
|---|---|
| Size | 175.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
373901fa48576ff8706fdc369bc261d7ff3955c4438f3dc25d72a43ff3cb1794
|
|
BLAKE2b-256 checksum How to use checksums |
5a2dfab2e4fb4ddbc74237da09aba3550eb95b16ba204f0a7ddf279f5eaa66c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.7 Darwin/24.6.0
|
Release files / haniwers-1.23.0-py3-none-any.whl
| Download URL | haniwers-1.23.0-py3-none-any.whl |
|---|---|
| Size | 220.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a620cad43905a5b3c02e183fc130ac41cdf4defc2f888acc8a59bba27b125084
|
|
BLAKE2b-256 checksum How to use checksums |
b0585d98df387cdcd6cae65fa0c9046bf7e051b24919b04e31f3baac942ccacc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.7 Darwin/24.6.0
|
Security for haniwers 1.23.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.