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.

The server always accepts both scheme-less serial clients and GUID clients; no identity-mode setting or database reset is required. Serial clients are limited to APK installation/update (including MDM self-update); other device commands and Push/Sync require a GUID client. Provisional connections are status-only.

After updating, a GUID client registers as a new device without automatic label, group, or history migration. Old serial records remain until explicitly forgotten. An old serial that does not return reports an untracked update, not confirmed success.

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.7.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.7.0
File Size Uploaded Provenance Actions
styly_mdm-0.7.0.tar.gz 4.3 MB With provenance Details for styly_mdm-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.6 MB

Release files / styly_mdm-0.7.0.tar.gz

Download URL styly_mdm-0.7.0.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
1fcca604cfbf816d6e889a0499896196b0a48ae2c5f47c42ddf7825b00af75ac
BLAKE2b-256 checksum
How to use checksums
520317e4a20a7b227db2d5a257e04e940a9c2f8f2096bdddc938baaaddffba20
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 23, 2026.

Transparency log

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

Download URL styly_mdm-0.7.0-py3-none-any.whl
Size 4.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5e7e042c82228f88307a1bbddfc8b92c3e365a276fafe3c8fe7f2844e00443dc
BLAKE2b-256 checksum
How to use checksums
40a3bd4b8a25342224577e5ded424c20b04571a5e66794c9578dd90182cd1b40
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 23, 2026.

Transparency log

Security for styly-mdm 0.7.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.7.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 23, 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