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.4.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.4.0
File Size Uploaded Provenance Actions
styly_mdm-0.4.0.tar.gz 4.2 MB With provenance Details for styly_mdm-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.3 MB

Release files / styly_mdm-0.4.0.tar.gz

Download URL styly_mdm-0.4.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
7abd38eded690ad95ba4985b49c9fd109d1e43840b16a7404d5024b719f70810
BLAKE2b-256 checksum
How to use checksums
87ad9cd172bed344351a4636c33e3ab55ecb906995b977ddd1103c731b2fa2a6
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 20, 2026.

Transparency log

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

Download URL styly_mdm-0.4.0-py3-none-any.whl
Size 4.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f882dcf0374d8d54f6aa0ef28902313d8241d3360fc53d201c979a492cbc4811
BLAKE2b-256 checksum
How to use checksums
d6667779713c4e25c91d77011ec0ed4379302b6276899f0062ce9987f09cc9d0
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 20, 2026.

Transparency log

Security for styly-mdm 0.4.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.4.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 20, 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