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
Release history Release notifications | RSS feed
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 details)
Built Distribution
py_spec-3.3.3-py3-none-any.whl
(24.8 kB
view details)
File details
Details for the file py_spec-3.3.3.tar.gz
.
File metadata
- Download URL: py_spec-3.3.3.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 536babdc10816acce5095d744c8b1ba18d6cde1d65aee2becb43fcba14a83b25 |
|
MD5 | 25d9aaf520cb87f55bcef042f2a43b37 |
|
BLAKE2b-256 | 2fc647eff98734b43b41d76f838483504b032aef3adff8e0d44e779a28382b8c |
File details
Details for the file py_spec-3.3.3-py3-none-any.whl
.
File metadata
- Download URL: py_spec-3.3.3-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa40c2eb824df627f1f14765a94aaded30aaa2a30bd66f9e6bd83a2023e28556 |
|
MD5 | 74ed348dad31a6f9080556a4fc8ffab5 |
|
BLAKE2b-256 | 3c5732be556903d79c87bcef5a2a111f9618ebe2ff23dd3d7245336072c35c6f |