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.5.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_spec-3.3.5-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file py_spec-3.3.5.tar.gz.

File metadata

  • Download URL: py_spec-3.3.5.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for py_spec-3.3.5.tar.gz
Algorithm Hash digest
SHA256 c336814e0e707c8e4adf62198d93ac272838f91de667adbdfcba819cbdf7e960
MD5 b2f36c313d7cdf6b6bf32c18c2103966
BLAKE2b-256 a30f6b3b353d638f0110f5cfcefd8e1d19eee44a169db6b9cb12e832aa873b26

See more details on using hashes here.

File details

Details for the file py_spec-3.3.5-py3-none-any.whl.

File metadata

  • Download URL: py_spec-3.3.5-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for py_spec-3.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ebdf4805bf7326201f1476c078a7a552eb686809eaf2d7e0945b5ca226313100
MD5 86a2e7910a38c03af75c0c2289087096
BLAKE2b-256 0b5ae4baa305ab9a8e88807c09639e00c99f0ba2ad3957a9ab814791cc6049af

See more details on using hashes here.

Supported by

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