Skip to main content

Installer for the LioranDB Windows portable server ZIP.

Project description

liorandb-server-windows

This package installs the LioranDB Windows portable ZIP and (optionally) adds the install folder to your PATH.

It resolves the latest Windows ZIP from https://db.lioransolutions.com/release.json (default channel), and will not download again if the latest version is already installed in the target folder.

Install

py -m pip install liorandb-server-windows

One-command setup (recommended)

Installs into %USERPROFILE%\.liorandb, adds it to User PATH, and tells you what to run next:

liorandb-server-windows

If that command is not found (your Python Scripts folder isn’t on PATH), run:

py -m liorandb_server_windows

Open a new terminal, then run:

ldb-serve

Add to PATH manually (PowerShell)

Avoids adding duplicates:

$dir = 'C:\LioranDB-Server'
$p = [Environment]::GetEnvironmentVariable('Path', 'User')
if (-not ($p -split ';' | Where-Object { $_.TrimEnd('\') -ieq $dir.TrimEnd('\') })) {
  [Environment]::SetEnvironmentVariable('Path', ($p + ';' + $dir), 'User')
}

Or via this package:

liorandb-server-windows add-to-path --target $env:USERPROFILE\.liorandb

Open a new terminal afterwards.

Fix “command not found” for liorandb-server-windows

Add Python’s Scripts directory to User PATH:

$scripts = py -c "import sysconfig; print(sysconfig.get_path('scripts'))"
$p = [Environment]::GetEnvironmentVariable('Path','User')
if (-not ($p -split ';' | Where-Object { $_.TrimEnd('\') -ieq $scripts.TrimEnd('\') })) {
  [Environment]::SetEnvironmentVariable('Path', ($p + ';' + $scripts), 'User')
}

CLI help

liorandb-server-windows --help
liorandb-server-windows install --help

To auto-add to PATH instead of printing a command:

liorandb-server-windows install --path-scope user

To only print a command (no PATH changes):

liorandb-server-windows install --path-scope none

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

liorandb_server_windows-0.1.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

liorandb_server_windows-0.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file liorandb_server_windows-0.1.2.tar.gz.

File metadata

  • Download URL: liorandb_server_windows-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for liorandb_server_windows-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6bfb28ceb859c811009eddbbc10abab39ddf05de7660139c5f6c5153d41e49a7
MD5 f30bf25d50074e773e0b2141ba9f157a
BLAKE2b-256 9e45400b2157497ebf9b9572eece7a59102d22bce84caddcded37bc8ac6fec87

See more details on using hashes here.

File details

Details for the file liorandb_server_windows-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for liorandb_server_windows-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 206cfbb21d62c79c6d2fca83ed146d8b7d1c0a7991da1843315b15e104511ca8
MD5 a7cc7ee7442affc59ce8c6e9ce02399f
BLAKE2b-256 a31fab1b167a07404d114210d79c091b108ebb4097cfdbb025a4c37f1b40cabf

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