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

Uploaded Source

Built Distributions

pycrosskit-1.0.5.1-py3.9.egg (20.4 kB view details)

Uploaded Source

pycrosskit-1.0.5.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

pycrosskit-1.0.5.1-py2.py3-none-any.whl (10.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pycrosskit-1.0.5.1.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/33.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.1.tar.gz
Algorithm Hash digest
SHA256 3d46ab569fbede5ea6949cc12f9ec152eb207ab22208e319d1f9de0e9871c2c0
MD5 62eb933edb1ced4418dd988e294ed24e
BLAKE2b-256 d0fa874446fbe9a26d0361eb8589e65ea3ab9abfc643b7e1bba61e99c0d19ece

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pycrosskit-1.0.5.1-py3.9.egg
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.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.1-py3.9.egg
Algorithm Hash digest
SHA256 5f61c6a6774ead15e2bcd3ba289ff5442044e3a6d5fccd2d4a1f8d03e16c15ab
MD5 54819da3261bcf12deb943c74826d240
BLAKE2b-256 3113c211acd94f02d46d112b23de186fbe729a5046d8a241b8378778f790d938

See more details on using hashes here.

Provenance

File details

Details for the file pycrosskit-1.0.5.1-py3-none-any.whl.

File metadata

  • Download URL: pycrosskit-1.0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa4f50a8556bdf12980bd9acae4ea29a52efb305d89d45b58530c36cbf809fab
MD5 f77a87c748915d20bfbc1c48a3e9e8c5
BLAKE2b-256 5f48ecae9618d729cdede4de03f9bd6211b19ab3ef669fa376eafe213d8fddba

See more details on using hashes here.

Provenance

File details

Details for the file pycrosskit-1.0.5.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pycrosskit-1.0.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3dc77a8f257c0aee5c952d5ba4ba1804f80e2e50878301d0c846842a0df9286d
MD5 cfa84caaa65d7b1c604e5b71488ff38c
BLAKE2b-256 240ba9700effb5c9aee90568f48a62962328223d0e1ae9d5d1f116a398a6b073

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