Skip to main content

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 q to 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 37

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Concern 37
File Size Uploaded
concern-37.tar.gz 19.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Concern 37
File Interpreter ABI Platform
concern-37-py3-none-any.whl Python 3 none any Details

Total release size: 43.3 kB

Release files / concern-37.tar.gz

Download URL concern-37.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d48805b5b734f264aa9fe3279e56bcabbb43d49c558d407fcb02ba4f4fda6a07
BLAKE2b-256 checksum
How to use checksums
0c781317a9cdd736c4caf7355657973dd78533f105007d457d125491cbbfe15d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / concern-37-py3-none-any.whl

Download URL concern-37-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
516bb70f984c573178abc95a2d88ed91c9dff506228c7d0bb41ff7eb0debfebf
BLAKE2b-256 checksum
How to use checksums
cfdc48ff2026949f5cb20af34cddc6909e075a3316f4530e091e5d7df676740e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

37 This release

2 release files

36

2 release files

35

2 release files

34

2 release files

33

2 release files

32

2 release files

31

2 release files

30

2 release files

29

2 release files

28

2 release files

27

2 release files

26

2 release files

25

2 release files

24

2 release files

23

2 release files

22

2 release files

21

2 release files

20

2 release files

19

2 release files

18

2 release files

17

2 release files

16

2 release files

15

2 release files

14

2 release files

13

2 release files

12

2 release files

11

2 release files

10

2 release files

9

2 release files

8

2 release files

7

2 release files

6

2 release files

5

2 release files

4

2 release files

3

2 release files

2

2 release files

1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page