neon-enclosure


Nameneon-enclosure JSON
Version 1.6.1 PyPI version JSON
download
home_pagehttps://github.com/NeonGeckoCom/neon-enclosure
SummaryNeon Enclosure Module
upload_time2023-12-16 02:24:19
maintainer
docs_urlNone
authorNeongecko
requires_python
licenseBSD-3-Clause
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Neon Enclosure
The enclosure module implements the Platform and Hardware Abstraction Layer (PHAL)
from [OpenVoiceOS](https://github.com/OpenVoiceOS/ovos-PHAL). 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.

```shell
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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/NeonGeckoCom/neon-enclosure",
    "name": "neon-enclosure",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Neongecko",
    "author_email": "developers@neon.ai",
    "download_url": "https://files.pythonhosted.org/packages/81/34/c798313c9e678b5a6f83defe25e4e36a6fd24bec9db5e1e1fb03b5b5c909/neon-enclosure-1.6.1.tar.gz",
    "platform": null,
    "description": "# Neon Enclosure\nThe enclosure module implements the Platform and Hardware Abstraction Layer (PHAL)\nfrom [OpenVoiceOS](https://github.com/OpenVoiceOS/ovos-PHAL). This service loads\nPHAL plugins that provide different functionality to the core; plugins primarily \ndiffer from skills in that they do not have any intents and that they may only\nbe valid in certain core environments (i.e. only for particular hardware or\noperating system environments).\n\n## Admin Services\n`neon_enclosure.admin` contains a service much like `neon_enclosure`, but plugins\nit loads will have `root` privileges. This service is intended for handling any\nOS-level interactions requiring escalation of privileges and is excluded from Docker support.\nBecause this service runs as root, it also requires configuration be initialized\nprior to its initialization; user-level configurations will be placed in the `/root`\ndirectory per XDG, so any configuration should be done at the system-level.\n\n## Running in Docker\nThe included `Dockerfile` may be used to build a docker container for the neon_audio module. The below command may be used\nto start the container.\n\n```shell\ndocker run -d \\\n--network=host \\\n--name=neon_enclosure \\\n-v ~/.config/pulse/cookie:/home/neon/.config/pulse/cookie:ro \\\n-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro \\\n--device=/dev/snd:/dev/snd \\\n-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \\\n-e PULSE_COOKIE=/home/neon/.config/pulse/cookie \\\nneon_enclosure\n```\n\n>*Note:* The above example assumes Docker data is stored in the standard user locations `~/.local/share` and `~/.config`.\n> You may want to change these values to some other path to separate container and host system data.\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Neon Enclosure Module",
    "version": "1.6.1",
    "project_urls": {
        "Homepage": "https://github.com/NeonGeckoCom/neon-enclosure"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3fec0ce9524fa2597a765535ac04b25f56282d1963a23d1b953ab839218e6eed",
                "md5": "0a8a3733978b7aa3aec3a5c29b47ac28",
                "sha256": "8d62cf16f6e82a0bfcdf7a708df6cf50a5dfeed70f571e64840f0494adca8ec7"
            },
            "downloads": -1,
            "filename": "neon_enclosure-1.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a8a3733978b7aa3aec3a5c29b47ac28",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 14406,
            "upload_time": "2023-12-16T02:24:17",
            "upload_time_iso_8601": "2023-12-16T02:24:17.399012Z",
            "url": "https://files.pythonhosted.org/packages/3f/ec/0ce9524fa2597a765535ac04b25f56282d1963a23d1b953ab839218e6eed/neon_enclosure-1.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8134c798313c9e678b5a6f83defe25e4e36a6fd24bec9db5e1e1fb03b5b5c909",
                "md5": "ba9261d56215dfec166564f642de75b8",
                "sha256": "3019cec978dde0bbc7a20e4db8e2731386868a977d63a5ff63d14f11926d5ced"
            },
            "downloads": -1,
            "filename": "neon-enclosure-1.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ba9261d56215dfec166564f642de75b8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7306,
            "upload_time": "2023-12-16T02:24:19",
            "upload_time_iso_8601": "2023-12-16T02:24:19.320329Z",
            "url": "https://files.pythonhosted.org/packages/81/34/c798313c9e678b5a6f83defe25e4e36a6fd24bec9db5e1e1fb03b5b5c909/neon-enclosure-1.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-16 02:24:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NeonGeckoCom",
    "github_project": "neon-enclosure",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "neon-enclosure"
}
        
Elapsed time: 0.20326s