Skip to content

jalanb/pym

Repository files navigation

pym (deprecated)

pym extends python -m

pym was going to help with "Editing code. Not text, no Java neither.", so there's a lot of that baggage still around.

install

$ python -m pip install pym

Use

$ python -m pym

And then, e.g.

$ pym pip install requests

Side-effects

pym may abuse your python installation, try in a virtual environment first pym may really mess with your shell. Not recommended for ~/.bashrc, yet

Old stuff

The code stuff was on GitHub, but the good stuff is on ReadTheDocs.

So, like the man said, "bye for now, and thanks for all the fish"

Documentation

pym remained almost entirely vapourware at it's end, but has working code to parse python and bash to noramlised ASTs, then transform, render and edit NSTs, with some late night inspirations added for "good measure".

The coder wants to edit structural entitites (e.g. modules, methods, mocks), not incidentals (e.g. text, files).

The coder doesn't want to write anything at all, they should only need to choose their favourite cliches, algorithms, functions, packages, ...

Travis

Build Status