Skip to main content

Server-less distribution of frozen Python tools over a shared network drive.

Project description

drivedeploy

Server-less distribution of frozen Python tools over a shared network drive.

Teams without an internal PyPI mirror, internet on end-user machines, or permission to run servers still have a mapped drive or UNC path. drivedeploy turns that folder into a versioned publish channel and an in-exe self-update path.

Who this is for

  • You ship frozen executables (PyInstaller / Nuitka), not pip install to users.
  • End users can read a shared drive; maintainers can write to it.
  • You need checksums and in-place updates — not an HTTP update server.

Install

uv add drivedeploy
# optional client helpers for tool authors:
uv add "drivedeploy[typer]"

Quick start

  1. drivedeploy init --location '\\corp\tools\drivedeploy'
  2. drivedeploy prepare
  3. pyinstaller --onefile --name mytool src/mytool/__main__.py
  4. drivedeploy check
  5. drivedeploy publish
  6. drivedeploy list

Minimal config (or let init scaffold it):

[tool.drivedeploy]
location = "\\\\corp\\tools\\drivedeploy"
kind = "onefile"
artifact = "dist/mytool.exe"

Add self-update to your tool

from drivedeploy import update

update.finalize_pending()   # first line of main
info = update.check()
if info:
    update.apply()

Documentation

Full guides (maintainer publish, client integration, CLI/config reference):

uv sync --group docs
uv run mkdocs serve -a 127.0.0.1:10001

When the Read the Docs project is connected, the public URL will be listed under [project.urls] in pyproject.toml.

Status

Windows-only self-update (Phase 2 complete). Non-Windows raises UnsupportedPlatformError in the swap path. See change-log.md.

Also: list / verify / prune / init — see the docs CLI reference.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drivedeploy-0.2.0.tar.gz (57.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drivedeploy-0.2.0-py3-none-any.whl (54.1 kB view details)

Uploaded Python 3

File details

Details for the file drivedeploy-0.2.0.tar.gz.

File metadata

  • Download URL: drivedeploy-0.2.0.tar.gz
  • Upload date:
  • Size: 57.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for drivedeploy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 433cac6b9dc57db0f800857c635a62f462e42fd9bcbe2a9aec990e73eaa6c0f0
MD5 0b8a982867583f9a4c337a2d2e0c23bc
BLAKE2b-256 541f727b167951164fc8db51a235b7cde6c42b93cd655af6b0928452a8e1ab9c

See more details on using hashes here.

File details

Details for the file drivedeploy-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for drivedeploy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15476138812d9b48690d4688f2cd171ff3691330e9bffe3f0bb89fa6321d8ee6
MD5 139d36b79c4d305ef7e9d22d2f865665
BLAKE2b-256 56f06261a0baac06603d0ea9094736c7ebc160db0aed129e242fd1c11bb882e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page