https://github.com/elmisback/python-evolver
A Python interface for Ken Brakke's surface evolver REPL.
https://github.com/elmisback/python-evolver
Last synced: 12 months ago
JSON representation
A Python interface for Ken Brakke's surface evolver REPL.
- Host: GitHub
- URL: https://github.com/elmisback/python-evolver
- Owner: elmisback
- License: gpl-2.0
- Created: 2015-10-19T14:48:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-28T20:09:19.000Z (over 10 years ago)
- Last Synced: 2024-12-25T03:27:20.599Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## python-evolver
### Setup
Make sure evolver is on the system path. This is as simple as running
```
ln -s /Absolute/path/to/evolver /usr/local/bin/evolver
```
### Usage
```
import evolver
with evolver.Evolver('/path/to/evolver') as E:
E.run_command('foo := 3')
output = E.run_command('print foo')
print(output) # prints the string 3
```
### Development
Get [pip](http://pip.readthedocs.org/en/stable/installing/). [Clone the
repository](https://help.github.com/articles/cloning-a-repository/) and run
```
pip install --editable /path/to/repo
```
### Source
To download the surface evolver, see its
[homepage](http://facstaff.susqu.edu/brakke/evolver/evolver.html).