Skip to main content

An unofficial Python wrapper for the GRACE system.

Project description

python-grace

Test PyPI version

An unofficial Python wrapper for the GRACE system (the public version for tree-level computations).

This is a pre-alpha version.

Requirements

  • Python >= 3.6.1
  • pip >= 19.0
  • C compiler
  • Fortran compiler
  • Make utility
  • X Window system (optional, for gracefig and grcdraw)
  • Motif Toolkit or its clone (optional, for gracefig)

Installation

Use pip:

pip install python-grace

which installs the grace command. (You may need to adjust $PATH. You can always use python -m grace, instead.)

To select the compilers, specify them as environment variables when pip runs:

CC=gcc-9 FC=gfortran-9 pip install python-grace

You can use pipx instead of pip if you prefer to install this software in an isolated and/or temporary environment.

Example

mkdir my_process
cd my_process
grace template sm/eewwa
grace grc
grace grcfort
make all
./gauge
./integ
./spring

License

The code in this repository is covered under the MIT license. (Note that, however, the source code of the GRACE system is not MIT licensed. Indeed, this repository itself does not contain any part of GRACE. When you install this software, the source code distribution of GRACE will automatically be downloaded from the original site.)

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

python-grace-0.0.7.tar.gz (14.9 kB view hashes)

Uploaded Source

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