Skip to main content

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.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for secs2r 0.9.0
File Size Uploaded Provenance Actions
secs2r-0.9.0.tar.gz 3.5 MB With provenance Details for secs2r-0.9.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for secs2r 0.9.0
File Interpreter ABI Platform Actions
secs2r-0.9.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for secs2r-0.9.0-cp39-abi3-win_amd64.whl
secs2r-0.9.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.9.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
secs2r-0.9.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.9.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Total release size: 32.6 MB

Release files / secs2r-0.9.0.tar.gz

Download URL secs2r-0.9.0.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
4ab485ec00217d0dd894669b84368ef7294b519cd144ec431de5a80b91557276
BLAKE2b-256 checksum
How to use checksums
b7019dadd41e81ad8c63024a62c38f2ad0ee227c37833bc252dc289ce78f41a7
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 Oct 31, 2026.

Transparency log

Release files / secs2r-0.9.0-cp39-abi3-win_amd64.whl

Download URL secs2r-0.9.0-cp39-abi3-win_amd64.whl
Size 7.7 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b655cd3fa45a13de14b589c437edb28d29e201f0e1cbc900539b11cc56901724
BLAKE2b-256 checksum
How to use checksums
26cba015e98466fa1a4b454adb2b77657e18182da4b8209700f9d9f7cc325612
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 Oct 31, 2026.

Transparency log

Release files / secs2r-0.9.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL secs2r-0.9.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 7.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
48d556b75b59ea491072f16443fcd14435c8c32eb8b06b953373b6187647912c
BLAKE2b-256 checksum
How to use checksums
317a1c83dfadb60b5958959566f6c348e317993b829fb5faa8a076bd539e7ba6
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 Oct 31, 2026.

Transparency log

Release files / secs2r-0.9.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL secs2r-0.9.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 14.0 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
129eb15b7c5ad99b41f1d5ee8192569dfb435a2d44be17f23eaea89fec12b1bc
BLAKE2b-256 checksum
How to use checksums
a5a44b2848faf272d12884e7f6d67e90c1ce6b7d93841b1607be27df53a0ead9
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 Oct 31, 2026.

Transparency log

Security for secs2r 0.9.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.

Select from 4 files

Attestation for secs2r-0.9.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 Oct 31, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page