oconnor0 / parinfer.py

Parinfer in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parinfer for Python Build Status

A Parinfer implementation written in Python.

About

There are several text editors where Python is the best - or only - choice for extensions. Having a Parinfer implementation in Python allows Parinfer to reach more editors.

This is basically a 1-to-1 copy of parinfer.js.

The .json files in the tests folder are copied directly from the main Parinfer repo.

I am a very novice Python developer. There is likely lots of room for improvement in this implementation. PR's welcome :)

Run Tests

python tests.py

To run a performance stress test:

python perf.py

To profile those performance stress tests:

python -m cProfile -s time perf.py

License

ISC license

About

Parinfer in Python

License:ISC License


Languages

Language:Python 100.0%