Skip to main content

No project description provided

Project description

onboot

cross-platform autostart installer(s)

features

  • Linux
    • XDG
    • Cron
    • Profile.d
    • KDE Plasma
    • Init.d
  • Darwin
    • PList
    • Cron
  • Windows
    • StartMenu
    • Registry
      • HKCU
      • HKLM
      • IFEO
      • UserInit (Winlogon)
    • WMCI
    • Task scheduler
    • Cortana
    • People

todo

  • Tests
  • Handling of specific exceptions instead of the catch-all "except:"

install

pip install onboot

usage

try all available installers for a certain os

from onboot import install_linux, InstallerConfiguration

# install
install_successful, used_installer = install_linux(InstallerConfiguration("/home/user/", "myapp"))

# uninstall
if install_successful:
    used_installer.uninstall()

only use a specific installer

from onboot.windows import HKCUInstaller
from onboot import InstallerConfiguration

# install
installer = HKCUInstaller(InstallerConfiguration("C:\\", "myapp"))
installer.install()

# uninstall
installer.uninstall()

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

onboot-1.0.0.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file onboot-1.0.0.tar.gz.

File metadata

  • Download URL: onboot-1.0.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for onboot-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4c823858c32ef74ddb5ea8fd531c3c9b7c5c9d511c601af7f942851d088a3859
MD5 91674412ec50ceda1cb65ab27749cf0a
BLAKE2b-256 b9332b5022e016e6d14d5edb80ec7f3cd320cc911daa311f4fa68e3d08be50f0

See more details on using hashes here.

Supported by

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