Skip to main content

python connection to yorick

Project description

The pyorick package starts yorick as a subprocess and provides an interface between python and yorick interpreted code.

Features:

  • exec or eval arbitrary yorick code strings

  • get or set yorick variables

  • call yorick functions or subroutines with python arguments

  • get or set slices of large yorick arrays

  • terminal mode to interact with yorick by keyboard through python

Most of the data is exchanged via binary pipes between the two interpreters. Yorick runs in a request-reply mode. Python prints anything yorick sends to stdout or stderr except prompts.

See DESCRIPTION.rst for a complete description of the interface. You can clone or fork https://github.com/dhmunro/pyorick to contribute to pyorick.

Project details


Download files

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

Source Distribution

pyorick-1.4.tar.gz (39.7 kB view hashes)

Uploaded Source

Built Distribution

pyorick-1.4-py2.py3-none-any.whl (35.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page