Skip to main content

SPEC(Stepped-Pressure Equilibrium Code) python utilities

Project description

py_spec (SPEC python utilities)

This is the Python package for SPEC. py_spec uses the black code style.

Install

You can install the package using pip.

pip install py_spec

Or from the GitHub

pip install git+https://github.com/PrincetonUniversity/SPEC.git#egg=SPEC&subdirectory=Utilities/pythontools

You can also install it locally (cd /path/to/SPEC/Utlities/pythontools/).

python setup.py install

or

pip install -e .

You can also add the path to your PYTHONPATH to directly use this package.

import sys
sys.path.append('/path/to/SPEC/Utlities/pythontools/py_spec')

or put this in your env file.

export PYTHONPATH=$PYTHONPATH:/path/to/SPEC/Utlities/pythontools/py_spec

Use

After installation, in your python kernel, you can use the functions by something like

from py_spec import *

Documentation

You can find documentations at ./docs.

Developers

Here are the contributors:

  • Ksenia Aleynikova
  • Zhisong Qu
  • Jonathan Schilling
  • Christopher Berg Smiet
  • Caoxiang Zhu

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

py_spec-3.3.3.tar.gz (22.0 kB view hashes)

Uploaded Source

Built Distribution

py_spec-3.3.3-py3-none-any.whl (24.8 kB view hashes)

Uploaded 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