cross-platform auto start
Project description
py-auto-starter
cross-platform auto start
Install
pip install py-auto-starter
Usage
import os
from py_auto_starter import auto_starter
name = 'test'
path = os.path.abspath('test.exe')
auto_starter.add(name, path)
print(auto_starter.exists(name))
auto_starter.remove(name)
Reference
- A simple crossplatform autostart helper
- typicode/user-startup: Auto start commands when you log in (cross-platform)
License
MIT License
Copyright (c) 2023 Shihou Kou
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-auto-starter-0.0.1.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for py_auto_starter-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119235ac1d69cc680c63c833cbbc65107f9920092d3c01305099ae9e7c90158f |
|
MD5 | 2202538986db09482b441f675af3deda |
|
BLAKE2b-256 | 12a66cc5dff49cbafdd14527946055a1a21c90a71da48ba5fda74977c6a6f79f |