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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

concern-30.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

Concern-30-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file concern-30.tar.gz.

File metadata

  • Download URL: concern-30.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for concern-30.tar.gz
Algorithm Hash digest
SHA256 20f7ea140d0071a6d07fa471fd1290035a7dca7b9cace68ad1fe226949b4255a
MD5 ef7c7bc085526c1beab9a131fcf868d3
BLAKE2b-256 de2f31aaac5e9cee424cb648b28e465fe7bc0f10b56a289e34f233d9ecd96a05

See more details on using hashes here.

File details

Details for the file Concern-30-py3-none-any.whl.

File metadata

  • Download URL: Concern-30-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for Concern-30-py3-none-any.whl
Algorithm Hash digest
SHA256 b44a51f76879a2e9dabef77beb65ca0c3df0301c79cf8348e0050da204ae35af
MD5 d14456442295e0a674978c6c3082b5ef
BLAKE2b-256 e4c55a20a4e585cdea4d9ad34a221e44d8d58d86bcb3ffaeec3e3c30c5698cac

See more details on using hashes here.

Release history Release notifications | RSS feed

37

2 files

36

2 files

35

2 files

34

2 files

33

2 files

32

2 files

31

2 files

This release

30 This release

2 files

29

2 files

28

2 files

27

2 files

26

2 files

25

2 files

24

2 files

23

2 files

22

2 files

21

2 files

20

2 files

19

2 files

18

2 files

17

2 files

16

2 files

15

2 files

14

2 files

13

2 files

12

2 files

11

2 files

10

2 files

9

2 files

8

2 files

7

2 files

6

2 files

5

2 files

4

2 files

3

2 files

2

2 files

1

2 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