Concern
Control pym2149 (via Lurlene) or FoxDot using Vim.
Install
These are generic installation instructions.
To use, disposably
Install the current release from PyPI to a virtual environment:
python3 -m venv venvname
venvname/bin/pip install -U pip
venvname/bin/pip install Concern
. venvname/bin/activate
You will also need one of the following backends.
FoxDot backend
# Simply install, and Concern will use it:
venvname/bin/pip install FoxDot
pym2149 backend
# Install as usual:
venvname/bin/pip install pym2149
# Tell Concern to use it instead of foxdot:
echo Concern consumerName = pym2149 | tee -a ~/.settings.arid
To use, permanently
# Tested on Linux and Mac:
pip3 install --break-system-packages --user Concern
To add a backend, substitute pip3 install --user for venvname/bin/pip install above.
See ~/.local/bin for executables.
To develop
First install venvpool to get the motivate command:
pip3 install --break-system-packages --user venvpool
Get codebase and install executables:
git clone git@github.com:combatopera/Concern.git
motivate Concern
Requirements will be satisfied just in time, using sibling projects with matching .egg-info if any.
Commands
Concern
Vim-based live coding environment.
Usage
FoxDot
# Any arguments are passed to vim, here we discover the FoxDot demo directory:
Concern "$(venvname/bin/python -c 'from pkg_resources import resource_filename; print(resource_filename("FoxDot", "demo"))' | tail -1)"
- FoxDot is running in the right hand third of the screen
- Send code to FoxDot by typing backslash followed by
]- This will send the smallest top-level suite under the cursor
- The backslash is actually your Vim leader key
- Use visual mode to send multiple top-level suites at once
- Use backslash enter instead of backslash
]to send from cursor to the end of the file - Use backslash
qto quit all of Vim, FoxDot and GNU Screen
pym2149
# Download some files to play with:
git clone git@github.com:combatopera/pym2149.git
# Load a non-trivial tune written in the Lurlene live coding language:
Concern 'pym2149/contrib/Lemmings 2 Tune 6.py'
- Once pym2149 has initialised, type backslash enter at the top of the file to send the whole program
Metadata
Release files for Concern 36
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| concern-36.tar.gz | 19.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| concern-36-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.5 kB
Release files / concern-36.tar.gz
| Download URL | concern-36.tar.gz |
|---|---|
| Size | 19.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55fab6bfb84d95e0199b809daf91b3cbeffb69e57a1aa324db65d1e15a514faf
|
|
BLAKE2b-256 checksum How to use checksums |
3a5da9d484e7079b95073f7310bbde6d277ecce9cd8bb0e828be9275fde39e24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / concern-36-py3-none-any.whl
| Download URL | concern-36-py3-none-any.whl |
|---|---|
| Size | 24.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0720b2c05589caf9979211e9931cd88757dec19637a6e288aca97a4c7d62bbf5
|
|
BLAKE2b-256 checksum How to use checksums |
9175b463532164e4fced63bafe1d8d5808287c10bbeed4add62bf9eaefde15d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|