iwish interactive wish (tcl/tk interpreter)
iwish is a script that gives interactive features to wish like navigating with arrows backward search ... history files (all that readline can offer).
Due to my limitations, however, input are line based and eval in tcl before being interpreted.
It is made for tinkering with tcl/tk to test something fast with the help of an interactive shell.
A typical session looks like this
# pack [ button .c -text that -command { puts "hello" } ]
#
tcl output> hello # here we pressed the button "that"
tcl output> hello # here we pressed the button "that"
# set name 32
# puts $name
tcl output> 32
# #?
#l print current recorded session
#? print current help
#! calls python code like
#!save(name="temp") which saves the current session in current dir in "temp" file
bye exit quit quit the current session
# #l
pack [ button .c -text that -command { puts "hello" } ]
set name 32
puts $name
# #!save("my_test.tcl")
# quit
special words
quit bye exit
These bare keywords exit the shell
#l
This shortcut list the current session
#?
This shortcut call the inline help
Evaluating python
#!...
... being a python command will be evaled in current content
#!save(fn="temp")
Calls the save function which saves the current session in file given as an
argument or "temp" in the current directory by default.
#!load(fn="temp")
Loads a tcl file and evaluate it LINE BY LINE (which may break valid multiline tcl code).
Metadata
Release files for iwish 0.1.4
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 |
|---|---|---|---|---|
| iwish-0.1.4.tar.gz | 6.9 kB | Without provenance | Details for iwish-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iwish-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for iwish-0.1.4-py3-none-any.whl |
Total release size: 16.0 kB
Release files / iwish-0.1.4.tar.gz
| Download URL | iwish-0.1.4.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b10cba84eee87d1c0b0ebd283eb1a611059fa0c4215d43cf589d25ab1e7bbf10
|
|
BLAKE2b-256 checksum How to use checksums |
873a24c4f80d3bce5a65348be5813fa96d1fa32bc8d870a0613b1b9a42cbd084
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / iwish-0.1.4-py3-none-any.whl
| Download URL | iwish-0.1.4-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3852c9ccf58c9ac2f9b0018d99c29e3a02164e097c565e09fce51063100d9da5
|
|
BLAKE2b-256 checksum How to use checksums |
d439c0317afaa3d2ff1caba8fd62d1ddce519c763a25060b1dc3a1d6fde6b43b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for iwish 0.1.4
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.