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.5.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

pycrosskit-1.0.5-py3.9.egg (20.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pycrosskit-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 dba947723c90adeed9a35bdeffd48f7ace494bab71559a338e6820d0e3f8d8f6
MD5 6fd6e4452e1e90bcebce50dca4532465
BLAKE2b-256 6f114800c8be7447750d62dbdbcda01166b540023a533d3f7145de01242e1b3d

See more details on using hashes here.

Provenance

File details

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

File metadata

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

Hashes for pycrosskit-1.0.5-py3.9.egg
Algorithm Hash digest
SHA256 070f233e3da433fe099bac1a830dba42545ede7da386be377d4456e5c160ec04
MD5 8d0103cb93e11359ed7841fbff30728c
BLAKE2b-256 278c2955e67b2837f9eea4f7326ce7e12d95d1567eb1f79cb2c2a0d8bd0ae513

See more details on using hashes here.

Provenance

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