Skip to main content

Custom script notebook

Project description

### OVERVIEW scriptcrypt is a database/notebook program for user programs and associated scripts.

It provides two functions:

1. A structured view of user defined program entries 1. Ability to easily install/remove listed entries via user specified script (using specified shell)

Each entry of the program database consists of:

  • Unique name

  • Category

  • Subcategory

  • Brief description

  • Install script

  • Remove script

### INSTALLATION To install scriptcrypt you have to have these installed:

  • pip3

  • setuptools

On the debian-like system you may obtain those by issuing the following commands:

sudo apt-get install python3-pip

sudo pip3 install -U pip

sudo pip3 install setuptools

Finally, to install scriptcrypt system-wide:

sudo pip3 install scriptcrypt

Or for current user only:

pip3 install –user scriptcrypt

If you installing scriptcrypt for the specific user, you may have to modify your system $PATH variable to add ~/.local/bin folder to it.

### OPTIONS scriptcrypt provides some useful options:

scriptcrypt –db sets the path to the database

scriptcrypt –editor and scriptcrypt –viewer set the TUI text editor and pager

scriptcrypt –appdir sets the environmental variable $APPDIR for use in user defined scripts.

### –POPULATE OPTIONS

scriptcrypt –populate-db copies a predefined database for the user usage

scriptcrypt –populate-bash copies bash-completion script to the user local bash-completion folder

scriptcrypt –populate-zsh copies zsh-completion script to the user local completion folder.

Note that this function only works if you use oh-my-zsh zsh settings framework as it uses ‘~/oh-my-zsh/completion’ folder. If you want to use zsh completion without installing oh-my-zsh, you need to either copy _scriptcrypt completion file to one of the /usr/share/zsh/functions/Completion folders or add _scriptcrypt containing folder to zsh $fpath variable.

### KNOWN ISSUES

  • using backspace or similar when editing entries containing Unicode characters may have unexpected results. When this happens scriptcrypt falls back to the empty strings

### ADDITIONS

json2db.py and db2json.py scripts may be useful if out want to convert database to json fine and visa-versa

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

scriptcrypt-17.3.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

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

scriptcrypt-17.3-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file scriptcrypt-17.3.tar.gz.

File metadata

  • Download URL: scriptcrypt-17.3.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scriptcrypt-17.3.tar.gz
Algorithm Hash digest
SHA256 b5cd4a2c9f860c787d2ee87cd149ac018fa07e43e1534fc71a9d52c98513295c
MD5 b375efcfa4d26a37528643e406a3ce36
BLAKE2b-256 a0e0edfad857db6bf0e3ab517ab83cb126f6d830c1a889f66432eb335ed175d1

See more details on using hashes here.

File details

Details for the file scriptcrypt-17.3-py3-none-any.whl.

File metadata

File hashes

Hashes for scriptcrypt-17.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fdce64b69448170a46af7b6cd3da01e03ea56b809c4d68a50fd7875b70f0646a
MD5 63635dfd8551887a639e76432d08dd12
BLAKE2b-256 ac5ceb144181ae89c09d91dfa6be82a84cac948b2067e4e5cbaa1f629d6802a5

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