CustomShell
Description
This package implements a Customizable Shell.
Requirements
This package require:
- python3
- python3 Standard Library
Installation
pip install CustomShell
Usages
Command lines
python3 -m CustomShell
python3 CustomShell.pyz
Shell
Python3
from CustomShell import main
main()
from CustomShell import Shell
shell = Shell()
shell.cmdloop()
Configuration
Default
Default configuration file path:
- Windows:
C:\\Users\\<username>\\Shell.ini - Linux:
~/Shell.ini
[DISPLAY]
prompt = {E} {color}{green}{U}{color}{reset}@{color}{green}{N}{color}{reset}:{color}{green}{P}{color}{reset}$
start_intro = echo {a}
end_intro = echo {a}
intro = {S} {V} [{s}, {o}] {n}Python {v} [{e}]{n}CustomShell {c} [GPL-3.0]{n}{n}{color}{bgwhite}{color}{bold}{blue}*** {D} {T} - Welcome in CustomShell {U} ! ***{color}{reset}{n}
start_quit = echo {a}
end_quit = echo {a}
quit = {n}{color}{bgwhite}{color}{underline}{red}*** {D} {T} - Bye {U} ! ***{color}{reset}{n}
[ALIAS]
pyc = python -c
pym = python -m
Variables for configuration
{U} = username,
{N} = hostname,
{P} = current path,
{p} = directory,
{T} = time,
{D} = date,
{o} = operatoring system (win32, linux, ...),
{S} = system (Windows, Linux, ...),
{s} = system (nt, posix...),
{n} = new line (\n),
{a} = ASCII character 7 (sound),
{e} = python executable,
{v} = python version,
{V} = system version,
{c} = CustomShell version,
{E} = status of the last command execution,
Unix Color
{black} {red} {green} {other} {blue} {purple} {cyan} {white} {bgblack} {bgred} {bggreen} {bgother} {bgblue} {bgpurple} {bgcyan} {bgwhite} {texte} {bold} {underline} {reset} {color}
- To make a white background you can use:
{color}{bgwhite}. - To make a blue bold text you can use:
{color}{bold}{blue}. - To make a red undernline text you can use:
{color}{underline}{red}. - To reset color:
{color}{reset}.
Links
Licence
Licensed under the GPL, version 3.
Metadata
Release files for CustomShell 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| CustomShell-0.2.1.tar.gz | 21.1 kB | Without provenance | Details for CustomShell-0.2.1.tar.gz |
Release files / CustomShell-0.2.1.tar.gz
| Download URL | CustomShell-0.2.1.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38fc43da18c845d3a4c402e4e7f3962b231268970b42cc049ce33a5bb0188248
|
|
BLAKE2b-256 checksum How to use checksums |
a0804600bbf8b99033f2682e553bf6fc1d982115478bcd006641f18657a32261
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for CustomShell 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.