Skip to main content

Neon Enclosure

The enclosure module implements the Platform and Hardware Abstraction Layer (PHAL) from OpenVoiceOS. This service loads PHAL plugins that provide different functionality to the core; plugins primarily differ from skills in that they do not have any intents and that they may only be valid in certain core environments (i.e. only for particular hardware or operating system environments).

Admin Services

neon_enclosure.admin contains a service much like neon_enclosure, but plugins it loads will have root privileges. This service is intended for handling any OS-level interactions requiring escalation of privileges and is excluded from Docker support. Because this service runs as root, it also requires configuration be initialized prior to its initialization; user-level configurations will be placed in the /root directory per XDG, so any configuration should be done at the system-level.

Running in Docker

The included Dockerfile may be used to build a docker container for the neon_audio module. The below command may be used to start the container.

docker run -d \
--network=host \
--name=neon_enclosure \
-v ~/.config/pulse/cookie:/home/neon/.config/pulse/cookie:ro \
-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro \
--device=/dev/snd:/dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-e PULSE_COOKIE=/home/neon/.config/pulse/cookie \
neon_enclosure

Note: The above example assumes Docker data is stored in the standard user locations ~/.local/share and ~/.config. You may want to change these values to some other path to separate container and host system data.

Metadata

Release files for neon-enclosure 1.8.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 neon-enclosure 1.8.0
File Size Uploaded
neon-enclosure-1.8.0.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neon-enclosure 1.8.0
File Interpreter ABI Platform
neon_enclosure-1.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.4 kB

Release files / neon-enclosure-1.8.0.tar.gz

Download URL neon-enclosure-1.8.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fe9aba6d509b6c4d6902c70bf4ec1ef0ac70f1023923f427cf1b2e46227439f2
BLAKE2b-256 checksum
How to use checksums
69eca6bc44d8ebd1b737a3604e010ff77e1931fc056811e2807ecf151e5763a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / neon_enclosure-1.8.0-py3-none-any.whl

Download URL neon_enclosure-1.8.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff68f085cf37df3ee2c2864ade06eb7b5f05387b94be37def4cb749f3c1c3d0f
BLAKE2b-256 checksum
How to use checksums
0f6dd189492ca561d7477c674fe5846f3ce73ca7d4766b090cb65f1f83e43725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 release files

1.7.0

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.1

1 release file

1.5.0

1 release file

1.4.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.1.2

1 release file

0.1.0

1 release file

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