fukasis 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -13
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -2,11 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
FUKASIS-app で撮影したデータを PC で処理するコマンドラインツールです。
|
|
4
4
|
アプリの **dark / calibration / csv / view** の 4 画面に相当するコマンドがあります。
|
|
5
|
-
まとめて処理したいときや、スクリプトから呼びたいときに使います。画像を見ながら作業するなら [web 版](
|
|
5
|
+
まとめて処理したいときや、スクリプトから呼びたいときに使います。画像を見ながら作業するなら [web 版](https://igarinpiano.github.io/fukasis/) が向いています。
|
|
6
6
|
|
|
7
7
|
計算はアプリ (共通コア `core/`) と同じ結果になるようにしてあります。
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## インストール
|
|
10
|
+
|
|
11
|
+
次のどれかで入れられます。入れると `fukasis` コマンドが使えるようになります。
|
|
12
|
+
|
|
13
|
+
**npm** ([Node.js](https://nodejs.org/) が入っている場合。ビルド済みの実行ファイルが入ります)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g fukasis
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**cargo** ([Rust](https://www.rust-lang.org/ja/tools/install) が入っている場合。手元でビルドされます)
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
cargo install fukasis
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**実行ファイルをそのまま使う**
|
|
26
|
+
|
|
27
|
+
[GitHub Releases](https://github.com/igarinpiano/fukasis/releases) の `pc-v<バージョン>` から、自分の機種の `fukasis-<バージョン>-<ターゲット>` を取って展開します。
|
|
28
|
+
|
|
29
|
+
| 機種 | ターゲット |
|
|
30
|
+
|---|---|
|
|
31
|
+
| Windows (64 bit) | `x86_64-pc-windows-msvc` |
|
|
32
|
+
| Windows (ARM) | `aarch64-pc-windows-msvc` |
|
|
33
|
+
| macOS (Apple シリコン) | `aarch64-apple-darwin` |
|
|
34
|
+
| macOS (Intel) | `x86_64-apple-darwin` |
|
|
35
|
+
| Linux (64 bit) | `x86_64-unknown-linux-gnu` (古い環境や Alpine では `-musl`) |
|
|
36
|
+
| Linux (ARM 64 bit, Raspberry Pi など) | `aarch64-unknown-linux-gnu` |
|
|
37
|
+
|
|
38
|
+
ほかに 32 bit の Windows / Linux、ARMv5〜v7、RISC-V、PowerPC、s390x、LoongArch、Android (Termux)、FreeBSD、NetBSD、illumos、WebAssembly (WASI) 向けもあります。
|
|
39
|
+
npm で入るのはこのうち 28 機種で、それ以外は GitHub Releases から取ってください。
|
|
40
|
+
|
|
41
|
+
## ソースからビルド
|
|
10
42
|
|
|
11
43
|
[Rust](https://www.rust-lang.org/ja/tools/install) が必要です。外部クレートには依存していません。
|
|
12
44
|
|
|
@@ -17,7 +49,6 @@ cargo build --release
|
|
|
17
49
|
|
|
18
50
|
`cli/target/release/fukasis` (Windows では `fukasis.exe`) ができます。
|
|
19
51
|
`cargo install --path cli` (リポジトリの直下で実行) とすると、`fukasis` コマンドとしてインストールされます。
|
|
20
|
-
GitHub Actions の「PC tools」が動いているリポジトリでは、その実行結果からビルド済みの実行ファイル (Linux / macOS / Windows) も取得できます。
|
|
21
52
|
|
|
22
53
|
## 使い方
|
|
23
54
|
|
|
@@ -97,13 +128,5 @@ cargo test
|
|
|
97
128
|
|
|
98
129
|
## リリース
|
|
99
130
|
|
|
100
|
-
GitHub Releases・crates.io
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
```bash
|
|
104
|
-
cargo install fukasis
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
npm install -g fukasis
|
|
109
|
-
```
|
|
131
|
+
[GitHub Releases](https://github.com/igarinpiano/fukasis/releases)・[crates.io](https://crates.io/crates/fukasis)・[npm](https://www.npmjs.com/package/fukasis) で配布しています。
|
|
132
|
+
新しいバージョンを出す手順は [docs/releasing.md](https://github.com/igarinpiano/fukasis/blob/release/docs/releasing.md) にあります。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fukasis",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Process spectra captured with FUKASIS-app on a PC: dark subtraction, wavelength calibration, CSV export and SVG graphs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"spectroscopy",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git+https://github.com/igarinpiano/fukasis.git"
|
|
16
16
|
},
|
|
17
|
-
"homepage": "https://github.com/igarinpiano/fukasis
|
|
17
|
+
"homepage": "https://github.com/igarinpiano/fukasis",
|
|
18
18
|
"bugs": "https://github.com/igarinpiano/fukasis/issues",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"bin": {
|
|
@@ -29,33 +29,33 @@
|
|
|
29
29
|
"node": ">=16"
|
|
30
30
|
},
|
|
31
31
|
"optionalDependencies": {
|
|
32
|
-
"@fksgeo/fukasis-bin-darwin-arm64": "0.1.
|
|
33
|
-
"@fksgeo/fukasis-bin-darwin-x64": "0.1.
|
|
34
|
-
"@fksgeo/fukasis-bin-win32-x64": "0.1.
|
|
35
|
-
"@fksgeo/fukasis-bin-win32-arm64": "0.1.
|
|
36
|
-
"@fksgeo/fukasis-bin-win32-ia32": "0.1.
|
|
37
|
-
"@fksgeo/fukasis-bin-linux-x64": "0.1.
|
|
38
|
-
"@fksgeo/fukasis-bin-linux-x64-musl": "0.1.
|
|
39
|
-
"@fksgeo/fukasis-bin-linux-arm64": "0.1.
|
|
40
|
-
"@fksgeo/fukasis-bin-linux-arm64-musl": "0.1.
|
|
41
|
-
"@fksgeo/fukasis-bin-linux-ia32": "0.1.
|
|
42
|
-
"@fksgeo/fukasis-bin-linux-ia32-musl": "0.1.
|
|
43
|
-
"@fksgeo/fukasis-bin-linux-arm": "0.1.
|
|
44
|
-
"@fksgeo/fukasis-bin-linux-arm-musl": "0.1.
|
|
45
|
-
"@fksgeo/fukasis-bin-linux-armv6": "0.1.
|
|
46
|
-
"@fksgeo/fukasis-bin-linux-armv6-musl": "0.1.
|
|
47
|
-
"@fksgeo/fukasis-bin-linux-riscv64": "0.1.
|
|
48
|
-
"@fksgeo/fukasis-bin-linux-riscv64-musl": "0.1.
|
|
49
|
-
"@fksgeo/fukasis-bin-linux-ppc64": "0.1.
|
|
50
|
-
"@fksgeo/fukasis-bin-linux-s390x": "0.1.
|
|
51
|
-
"@fksgeo/fukasis-bin-linux-loong64": "0.1.
|
|
52
|
-
"@fksgeo/fukasis-bin-android-arm64": "0.1.
|
|
53
|
-
"@fksgeo/fukasis-bin-android-arm": "0.1.
|
|
54
|
-
"@fksgeo/fukasis-bin-android-x64": "0.1.
|
|
55
|
-
"@fksgeo/fukasis-bin-android-ia32": "0.1.
|
|
56
|
-
"@fksgeo/fukasis-bin-freebsd-x64": "0.1.
|
|
57
|
-
"@fksgeo/fukasis-bin-freebsd-ia32": "0.1.
|
|
58
|
-
"@fksgeo/fukasis-bin-netbsd-x64": "0.1.
|
|
59
|
-
"@fksgeo/fukasis-bin-sunos-x64": "0.1.
|
|
32
|
+
"@fksgeo/fukasis-bin-darwin-arm64": "0.1.1",
|
|
33
|
+
"@fksgeo/fukasis-bin-darwin-x64": "0.1.1",
|
|
34
|
+
"@fksgeo/fukasis-bin-win32-x64": "0.1.1",
|
|
35
|
+
"@fksgeo/fukasis-bin-win32-arm64": "0.1.1",
|
|
36
|
+
"@fksgeo/fukasis-bin-win32-ia32": "0.1.1",
|
|
37
|
+
"@fksgeo/fukasis-bin-linux-x64": "0.1.1",
|
|
38
|
+
"@fksgeo/fukasis-bin-linux-x64-musl": "0.1.1",
|
|
39
|
+
"@fksgeo/fukasis-bin-linux-arm64": "0.1.1",
|
|
40
|
+
"@fksgeo/fukasis-bin-linux-arm64-musl": "0.1.1",
|
|
41
|
+
"@fksgeo/fukasis-bin-linux-ia32": "0.1.1",
|
|
42
|
+
"@fksgeo/fukasis-bin-linux-ia32-musl": "0.1.1",
|
|
43
|
+
"@fksgeo/fukasis-bin-linux-arm": "0.1.1",
|
|
44
|
+
"@fksgeo/fukasis-bin-linux-arm-musl": "0.1.1",
|
|
45
|
+
"@fksgeo/fukasis-bin-linux-armv6": "0.1.1",
|
|
46
|
+
"@fksgeo/fukasis-bin-linux-armv6-musl": "0.1.1",
|
|
47
|
+
"@fksgeo/fukasis-bin-linux-riscv64": "0.1.1",
|
|
48
|
+
"@fksgeo/fukasis-bin-linux-riscv64-musl": "0.1.1",
|
|
49
|
+
"@fksgeo/fukasis-bin-linux-ppc64": "0.1.1",
|
|
50
|
+
"@fksgeo/fukasis-bin-linux-s390x": "0.1.1",
|
|
51
|
+
"@fksgeo/fukasis-bin-linux-loong64": "0.1.1",
|
|
52
|
+
"@fksgeo/fukasis-bin-android-arm64": "0.1.1",
|
|
53
|
+
"@fksgeo/fukasis-bin-android-arm": "0.1.1",
|
|
54
|
+
"@fksgeo/fukasis-bin-android-x64": "0.1.1",
|
|
55
|
+
"@fksgeo/fukasis-bin-android-ia32": "0.1.1",
|
|
56
|
+
"@fksgeo/fukasis-bin-freebsd-x64": "0.1.1",
|
|
57
|
+
"@fksgeo/fukasis-bin-freebsd-ia32": "0.1.1",
|
|
58
|
+
"@fksgeo/fukasis-bin-netbsd-x64": "0.1.1",
|
|
59
|
+
"@fksgeo/fukasis-bin-sunos-x64": "0.1.1"
|
|
60
60
|
}
|
|
61
61
|
}
|