Skip to main content

styly-mdm

The control server for STYLY-MDM — a lightweight Mobile Device Management system for Location Based Experience (LBE) VR headsets. It bridges PICO VR HMDs and a browser-based admin console, letting you launch apps and install APKs on many headsets at once over the LAN.

STYLY-MDM is designed for use within a local area network (LAN). It has no authentication. Do not expose the server to the public internet.

Install & run

Run without cloning the repository:

# One-off, no install (recommended):
uvx styly-mdm

# Or install, then run:
pip install styly-mdm
styly-mdm

The server starts on port 7070 and prints its LAN IP addresses. Open http://<server-ip>:7070 in a browser for the web console. Devices on the LAN discover the server automatically via UDP broadcast (port 7071).

Configuration

A command-line flag overrides the corresponding environment variable.

Option Env var Flag Default
HTTP/WebSocket port MDM_WS_PORT --port 7070
UDP discovery port MDM_DISCOVERY_PORT — 7071
Data directory (uploaded APKs, pushed bundles, device registry) MDM_DATA_DIR --data-dir current directory
Simultaneous device downloads, server-wide MDM_MAX_CONCURRENT_TRANSFERS --max-concurrent-transfers 5
Seconds a device may hold a transfer slot MDM_TRANSFER_TIMEOUT — 600

The data directory holds everything the server persists: uploaded APKs (<data-dir>/apks/), pushed file bundles (<data-dir>/bundles/), and the device registry (<data-dir>/device_registry.json). It defaults to the directory the server is started from, so uvx styly-mdm in a fresh directory comes up with no devices or groups.

Transfer throttling bounds how many devices download at once — one server-wide pool shared by every install and push/sync job; the rest queue until a slot frees.

Only one server may answer discovery on a given port: the server probes on startup and exits if another STYLY-MDM server already responds on its discovery port. Run a second server alongside the first by giving it a different MDM_DISCOVERY_PORT and MDM_WS_PORT.

You can also start it as a module: python -m styly_mdm.

Documentation

Full documentation, protocol references, and the Android MDM client live in the project repository: https://github.com/styly-dev/STYLY-MDM.

Metadata

Release files for styly-mdm 0.5.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 styly-mdm 0.5.0
File Size Uploaded Provenance Actions
styly_mdm-0.5.0.tar.gz 4.2 MB With provenance Details for styly_mdm-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for styly-mdm 0.5.0
File Interpreter ABI Platform Actions
styly_mdm-0.5.0-py3-none-any.whl Python 3 none any Details for styly_mdm-0.5.0-py3-none-any.whl

Total release size: 8.3 MB

Release files / styly_mdm-0.5.0.tar.gz

Download URL styly_mdm-0.5.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e60f69da3f164f932dfdc769be1f4c79c70387d75e19656c6f5f2bc57a9c1057
BLAKE2b-256 checksum
How to use checksums
153a4f976c2285f5f89599ef1ae5abd52b12ff9c1e186c489651cf6f338802db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 29, 2026.

Transparency log

Release files / styly_mdm-0.5.0-py3-none-any.whl

Download URL styly_mdm-0.5.0-py3-none-any.whl
Size 4.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8de31dd5dac130087f01fc37e8f02c015fcf4fa5df75201ed4bdbdac69071652
BLAKE2b-256 checksum
How to use checksums
68fc97d3c0519ee5236e25fe806e2d747a0d107d88bba9aea77d84684b1120a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 29, 2026.

Transparency log

Security for styly-mdm 0.5.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for styly_mdm-0.5.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 Jul 29, 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