Python wrapper module around SPLASH utilities.
Project description
PySplashSPH
A Python wrapper for the smoothed particle hydrodynamics plotting library SPLASH. Currently supports reading many SPH data formats, and useful exact analytic solutions for specific hydrodynamics problems.
PySplashSPH currently does not wrap the SPLASH interpolation routines, however this is planned for a future release.
Building/Installing from source
Installing from source requires an installation of Splash. To install:
python setup.py install
To build a python wheel:
python setup.py bdist_wheel
Note that this will automatically build the splash
libraries and copy them into the correct location (pysplashsph/libs/.
), however it will not "audit" or "delocate" the wheel (i.e. copy in and relink any non-standard external libraries that are dependencies).
To build a 'fixed' wheel instead, run the script build-wheels.sh
, which will build as well as audit the wheel for you. Fixed wheels are stored in pysplashsph/wheelhouse
. You can choose to install directly from a wheel with pip install <wheel-name>.whl
.
Search paths
setup.py
will search for an installation of Splash in the following directories, in this order:
- In the current directory, i.e.
pysplashsph/ |--- README.md |--- pysplashsph/ |--- setup.py ... |--- splash/ ... |--- test/ |--- wheelhouse/
- In the parent directory, i.e.
splash/ |--- bin/ |--- build/ ... |--- pysplashsph/ ... |--- src/
- In the directory defined by the environment variable
$SPLASH_DIR
- In
$HOME/splash
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 Distributions
Built Distributions
File details
Details for the file pysplashsph-0.0.2.post1-py3-none-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pysplashsph-0.0.2.post1-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62d5b25342da85471d45103e2d3223d3ec30f79fb1cffb8124317edd9b0d0816 |
|
MD5 | ae1b1fe66e6abd18043eb1cbdb673fa9 |
|
BLAKE2b-256 | 41a017884772d5f40977f245e3f6d7d758687a71c1f2d2cc5b371843a2d97ebf |
File details
Details for the file pysplashsph-0.0.2.post1-py3-none-manylinux2010_x86_64.whl
.
File metadata
- Download URL: pysplashsph-0.0.2.post1-py3-none-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b5cace83308856917d1c88d483bb0037e156b5f208a0724fb70ed70b0d29d5e |
|
MD5 | 5b6453fb7e2794f2e25fa6803f26281d |
|
BLAKE2b-256 | 9ee3da550a66f687b2739b770dcbf9b330b34ecef0c112590000a136b5157455 |
File details
Details for the file pysplashsph-0.0.2.post1-py3-none-manylinux1_x86_64.whl
.
File metadata
- Download URL: pysplashsph-0.0.2.post1-py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 829.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d84b8e1192253d175bd2f56b86f7e0c1fb26681a9406191090c8017bda70f47 |
|
MD5 | 9eab48c9f6318733a9322954337e297a |
|
BLAKE2b-256 | abc395233438f06cd5727015f7ee425b5e87bb4464af68ba540c8520cbda35e7 |
File details
Details for the file pysplashsph-0.0.2.post1-py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pysplashsph-0.0.2.post1-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3911f3eebe316b8fa2a381c5aa2fc732b6dfbe2a7250a152ab28b1d8245ee668 |
|
MD5 | 0204bb4d22071746b8f169376ec78898 |
|
BLAKE2b-256 | 43bece1539ff1098514962e2cae1a9f48ca1bfeb964c86a79cf57185f035fe85 |