No project description provided
Project description
Audex
Derived from "Audio Exchange", Smart Medical Recording & Transcription System with voice recognition and speaker identification.
Documentation • Installation Guide • API Reference
English | 简体中文
System Requirements
- Python 3.10-3.13
- Poetry
- PortAudio
- FFmpeg
- SQLite3
- PyQt6 (Linux: install from system packages)
- NetworkManager (Linux: for WiFi connectivity)
System Dependencies
Ubuntu/Debian:
sudo apt-get install python3-pyqt6 python3-pyqt6.qtwebengine \
portaudio19-dev ffmpeg sqlite3 network-manager \
libfcitx5-qt6-1 alsa-utils gcc build-essential
macOS:
brew install portaudio ffmpeg sqlite3
pip install PyQt6 PyQt6-WebEngine
Windows:
- PortAudio is bundled with PyAudio wheel
- FFmpeg: Download from https://ffmpeg.org/download.html and add to
PATH - SQLite3: Included with Python installation
Installation
From PyPI
pip install audex
From Source
git clone https://github.com/6ixGODD/audex.git
cd audex
poetry install
DEB Package (Debian/Ubuntu/Raspberry Pi)
Download the appropriate DEB package for your architecture from Releases.
For detailed installation instructions, see Installation Guide.
Quick Install:
# Download and install
sudo dpkg -i audex_{version}_arm64.deb
sudo apt-get install -f
# Run configuration wizard
sudo audex-setup
# Start application
sudo audex
Usage
Run Application
# Start with config file
audex -c config.yaml
# Using installed package
python -m audex -c config.yaml
Initialize Configuration
# Generate default configuration
audex init gencfg --format yaml --output config.yaml
# Generate system configuration (Linux)
audex init gencfg --format system --output /etc/audex/config.yml --platform linux
Initialize VPR Group
# Initialize voice print recognition group
audex init vprgroup --config config.yaml
File Export Server
# Start file export server
audex serve --config config.yaml
Configuration
Configuration file structure:
core:
app:
app_name: Audex
native: true
logging:
targets:
- logname: stdout
loglevel: info
audio:
sample_rate: 16000
provider:
transcription:
provider: dashscope
dashscope:
credential:
api_key: <YOUR_API_KEY>
vpr:
provider: xfyun
xfyun:
credential:
app_id: <YOUR_APP_ID>
api_key: <YOUR_API_KEY>
api_secret: <YOUR_API_SECRET>
infrastructure:
sqlite:
uri: "sqlite+aiosqlite:///path/to/audex.db"
store:
type: localfile
base_url: /path/to/store
See config.example.yml for complete configuration options.
Development
Install Development Dependencies
# Development environment
poetry install --extras dev
# Testing environment
poetry install --extras test
# Documentation environment
poetry install --extras docs
Build Package
# Build wheel and sdist
poetry build
# Output: dist/audex-{version}-py3-none-any.whl
Run Tests
poetry install --extras test
poetry run pytest
Documentation
poetry install --extras docs
poetry run mkdocs serve
# Visit: http://127.0.0.1:8000
DEB Package Development
Build DEB Package
Prerequisites:
- Docker
Build:
cd packaging/linux
# Build for ARM64 (Raspberry Pi)
./build.sh
# Build for AMD64
./build.sh amd64
Output: dist/audex_{version}_{arch}.deb
Test DEB Package
cd packaging/linux
./test.sh arm64
Inside test container:
# Install package
dpkg -i /tmp/audex.deb
apt-get install -f
# Verify installation
which audex
audex --version
# View configurations
cat /etc/audex/config.system.yml
cat /etc/audex/config.example.yml
# Run configuration wizard
audex-setup
# Exit container
exit
Project Structure
audex/
├── audex/ # Main package
│ ├── cli/ # Command-line interface
│ ├── service/ # Business layer
│ ├── entity/ # Entities
│ ├── filters/ # Data filters
│ ├── valueobj/ # Value objects
│ ├── view/ # View layer
│ └── lib/ # Shared libraries
├── packaging/
│ └── linux/ # DEB packaging
│ ├── templates/ # Package templates
│ ├── build.sh # Build script
│ └── test.sh # Test script
├── scripts/ # Development scripts
├── tests/ # Test suite
└── pyproject.toml # Project configuration
Links
- Documentation: https://6ixgodd.github.io/audex/
- PyPI: https://pypi.org/project/audex/
- GitHub: https://github.com/6ixGODD/audex
- Issues: https://github.com/6ixGODD/audex/issues
- Releases: https://github.com/6ixGODD/audex/releases
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audex-1.0.6.tar.gz.
File metadata
- Download URL: audex-1.0.6.tar.gz
- Upload date:
- Size: 197.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96665808f509ff3a65e210a69126fe363ddb11bd0d6b9de27464dfdebd8d9ee9
|
|
| MD5 |
27cd460ac53ca7833c1f3e33492cdb1f
|
|
| BLAKE2b-256 |
1d588b16ac4db5d6c9a943954a3e965d7f47b55425b57da72ed9b3abc64f6704
|
Provenance
The following attestation bundles were made for audex-1.0.6.tar.gz:
Publisher:
publish.yml on 6ixGODD/audex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
audex-1.0.6.tar.gz -
Subject digest:
96665808f509ff3a65e210a69126fe363ddb11bd0d6b9de27464dfdebd8d9ee9 - Sigstore transparency entry: 731928283
- Sigstore integration time:
-
Permalink:
6ixGODD/audex@8880727513b8ec88f64c6eac7caf913839adf80b -
Branch / Tag:
refs/tags/v1.0.6 - Owner: https://github.com/6ixGODD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8880727513b8ec88f64c6eac7caf913839adf80b -
Trigger Event:
push
-
Statement type:
File details
Details for the file audex-1.0.6-py3-none-any.whl.
File metadata
- Download URL: audex-1.0.6-py3-none-any.whl
- Upload date:
- Size: 285.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cceb76b4972923751c9a7d94daf8a11ce961a546f219293736a04b7c5f80f3c8
|
|
| MD5 |
ea19f65c8687f71acb1d5df43ae7e077
|
|
| BLAKE2b-256 |
dcbf2e65c33003b049134ad51a6ea512ffe94579285657d46c362ca96f221c7f
|
Provenance
The following attestation bundles were made for audex-1.0.6-py3-none-any.whl:
Publisher:
publish.yml on 6ixGODD/audex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
audex-1.0.6-py3-none-any.whl -
Subject digest:
cceb76b4972923751c9a7d94daf8a11ce961a546f219293736a04b7c5f80f3c8 - Sigstore transparency entry: 731928284
- Sigstore integration time:
-
Permalink:
6ixGODD/audex@8880727513b8ec88f64c6eac7caf913839adf80b -
Branch / Tag:
refs/tags/v1.0.6 - Owner: https://github.com/6ixGODD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8880727513b8ec88f64c6eac7caf913839adf80b -
Trigger Event:
push
-
Statement type: