secs2r
secs2r exposes the SECS 2R room-correction engine and its authenticated local API client to Python. It accepts and returns the same JSON-shaped dictionaries as the desktop application. Native audio-device measurement and GPU acceleration are not included.
Install
python -m pip install secs2r
Python 3.9 or newer is required.
Embedded engine
from secs2r import Engine
engine = Engine()
info = engine.call({"method": "bootstrap"})
print(info["data"]["version"])
Long-running requests return a job identifier. Use wait_job for its terminal event or iterate over events() to receive every later job event.
Running application
Enable the local API in the SECS 2R application, then read its status with the default token file:
from secs2r import Client
client = Client()
status = client.status()
print(status["app_name"], status["app_version"])
You may pass token directly or use token_path for another token file.
Licence
secs2r is licensed under AGPL-3.0-only (GNU Affero General Public License v3), like the Rust crates it is built from. If you modify it and offer it to users over a network, you must offer those users the corresponding source. The SECS 2R desktop application remains GPL-3.0-only. Repository: https://github.com/115dkk/Sound-Equalization-and-Correction-System-2R.
한국어
secs2r는 SECS 2R의 방 보정 엔진과 실행 중인 앱의 로컬 API 클라이언트를 Python에서 부르는 패키지입니다. 데스크톱 앱과 같은 JSON 모양의 dict를 주고받으며, 장치 측정과 GPU 가속은 들어 있지 않습니다. Python 3.9 이상이 필요합니다.
from secs2r import Engine
engine = Engine()
info = engine.call({"method": "bootstrap"})
print(info["data"]["version"])
판은 crates.io의 공개 Rust 크레이트와 같습니다. 라이선스는 AGPL-3.0-only(GNU Affero GPL v3)이며, 네트워크로 사용자에게 서비스하는 수정판은 그 사용자에게 소스 코드를 제공해야 합니다. SECS 2R 데스크톱 앱은 지금처럼 GPL-3.0-only입니다.
도움 주신 분들
SECS는 한국 오디오 커뮤니티 스피커 갤러리의 Sound Equalization and Correction System 프로젝트에서 시작했습니다. 그 뒤를 이은 SECS 2가 소스를 GPL v3로 공개한 덕분에 SECS 2R과 이 패키지가 있습니다. 보정 계산은 SECS 2의 방법을 그대로 따릅니다. SECS와 SECS 2를 만든 스피커 갤러리 여러분과 업스트림 저작자께 감사드립니다. SECS 2의 저작자 KIM-O-O(스피커 갤러리 김ㅇㅇ)님은 이 패키지와 이 패키지가 쓰는 Rust 크레이트를 AGPL-3.0-only로 내도록 허락해 주셨습니다(저장소의 docs/licensing/SECS2-AGPL-PERMISSION.md).
Metadata
Release files for secs2r 0.15.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 |
|---|---|---|---|---|
| secs2r-0.15.0.tar.gz | 3.5 MB | With provenance | Details for secs2r-0.15.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| secs2r-0.15.0-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for secs2r-0.15.0-cp39-abi3-win_amd64.whl |
| secs2r-0.15.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details for secs2r-0.15.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| secs2r-0.15.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.9 | abi3 | macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64, macOS 10.12+ x86-64 | Details for secs2r-0.15.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
Total release size: 33.1 MB
Release files / secs2r-0.15.0.tar.gz
| Download URL | secs2r-0.15.0.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
652ad728fe842dfa96ac00f5b4c034ccbd9c4af15ec099dfe45c0464fe511662
|
|
BLAKE2b-256 checksum How to use checksums |
b6f566dd6dff51d802a003b27b719dbd87d4ce015e24cfc21e9851ec222d7a1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / secs2r-0.15.0-cp39-abi3-win_amd64.whl
| Download URL | secs2r-0.15.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 7.8 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1674e0e4cce660f15be79ad08483461a935ff77c036e8986c37bd4698c045c16
|
|
BLAKE2b-256 checksum How to use checksums |
a0fe03662f91d24c810793e3b1a6f5f214af5730516db72168696ef80e637c1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / secs2r-0.15.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | secs2r-0.15.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
985fd48af8624468c3324effa39714b2c1954e3a81f5e5a3b810002427cbd53e
|
|
BLAKE2b-256 checksum How to use checksums |
90b3296c124a06104560f16170bef47f815c5c04a3ef7b4398ed6e7332fc80f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / secs2r-0.15.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | secs2r-0.15.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 14.2 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
72c38e6ff2d21a62cd628c8c12b091888e5712e3294d1c9ba694a7d347dafcba
|
|
BLAKE2b-256 checksum How to use checksums |
cca746ceade5d52ecda0b4c5e9ad3753641ba2376c380449d8e4a6b1c07283af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logSecurity for secs2r 0.15.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.
Full provenance
All 4 files in this release have been uploaded with provenance metadata.
Attestation for secs2r-0.15.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logA 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.