Skip to main content

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

image Build Status Downloads

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 ;)
Buy me a Coffee

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

pycrosskit-1.0.4.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

pycrosskit-1.0.4.3-py3.9.egg (20.6 kB view details)

Uploaded Egg

File details

Details for the file pycrosskit-1.0.4.3.tar.gz.

File metadata

  • Download URL: pycrosskit-1.0.4.3.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

Hashes for pycrosskit-1.0.4.3.tar.gz
Algorithm Hash digest
SHA256 b8019e4bb377d3be27d91e6b0cf4b061726b884d73f9cb736b9e0780cd0e64fe
MD5 768c08d698462da7e5161e076460ad06
BLAKE2b-256 0bcfa013e64b9296a5f595d2cdd4dfaf1eb6547411c5f0d626e97f18ab9208e8

See more details on using hashes here.

File details

Details for the file pycrosskit-1.0.4.3-py3.9.egg.

File metadata

  • Download URL: pycrosskit-1.0.4.3-py3.9.egg
  • Upload date:
  • Size: 20.6 kB
  • Tags: Egg
  • 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

Hashes for pycrosskit-1.0.4.3-py3.9.egg
Algorithm Hash digest
SHA256 812e25f258c3f2e3555c8f928bc2f3912100a63ddf2de6d1e13b4efc0d265861
MD5 d4e0dea0cb71c6e67529d2424de9bce0
BLAKE2b-256 7e7b7a9bd7fa4945cff3a311f4d1b1d5b92c8b7c89befb5ed8a8aad73ae7bfcf

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