Cross Platform Toolkit for Windows and Linux in order to make variables and shortcuts easy
Project description
Python Cross Platform Toolkit for Windows and Linux variables, shortcuts and start menu shortcuts
Simple Cross Platform creation of shortcuts and Persistent Environment Variables
Installing
Install and update using pip:
pip install pycrosskit
or
pip3 install pycrosskit
Supported Platforms:
- Linux
- Windows
Shortcuts usage:
# Will Create shortcut
# * at Desktop if desktop is True
# * at Start Menu if start_menu is True
Shortcut(shortcut_name, exec_path, description,
icon_path, desktop, start_menu)
# Will Delete shortcut
# * at Desktop if desktop is True
# * at Start Menu if start_menu is True
Shortcut.delete(shortcut_name, desktop, start_menu)
Environment Variables usage:
# Will Set Persistent Value for Variable in System
# * subkey works only for windows like file in folder
# * reg_path works only for windows as register path (is ignored if registry=False)
# * registry works only for windows, if is False variable is saved to User Envirnoment Variables
SysEnv.set_var(name, value, subkey, reg_path=default_reg_path, registry=True)
# Will Get Persistent Value for Variable in System
# * reg_path works only for windows as register path
# * delete, deletes key from environment and its subkeys after read
# * registry works only for windows, if is False variable is obrained from User Envirnoment Variables
SysEnv.get_var(name, reg_path=default_reg_path, delete=False, registry=True)
Did I made your life less painfull ?
Support my coffee addiction ;)
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
pycrosskit-1.0.4.8.tar.gz
(8.7 kB
view details)
Built Distribution
pycrosskit-1.0.4.8-py3.9.egg
(20.3 kB
view details)
File details
Details for the file pycrosskit-1.0.4.8.tar.gz
.
File metadata
- Download URL: pycrosskit-1.0.4.8.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d076bfeb0abb1352fcf337f814589bfa47fac59811fdc6b54dc90294e9c24de |
|
MD5 | 1524580772ebb03d2665f0fbf1bcceb5 |
|
BLAKE2b-256 | c72a13b7994185176be03fb4a30db7d0cf25a1c820ebd353a61703946d2888f8 |
Provenance
File details
Details for the file pycrosskit-1.0.4.8-py3.9.egg
.
File metadata
- Download URL: pycrosskit-1.0.4.8-py3.9.egg
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d9b439afe23c671af853aee82fc75fbb81d203a25da5536ed917c3207d8a7a |
|
MD5 | b62cd1bc7cb2e2c196ea0a3c6740aabd |
|
BLAKE2b-256 | 9e7d53420242805f6c54f5f31b76753c4dd22d183edaee9392f5ee2526199687 |