Skip to main content

solvis

About

Various ways to analyze and visualize solvation shell structures, which wraps PyVista. Meant primarily for analyzing the outputs produced by LAMMPS, but anything that ASE can handle should work.

Installation

From PyPI

You can install solvis from PyPI like so:

pip install solvis-tools

From source

We use micromamba as the package manager, but feel free to use your own poison. Create and activate the environment.

micromamba create -f environment.yml
micromamba activate solvisenv

In order to install the code, run the following in the top-level directory:

pip install -e .

Examples

Each example is self-contained. Mostly, they show how to handle interactive plotting. To close the interactive window, press q.

Tests

To run tests (which are inside the tests directory), written with pytest, run the following command from the top-level directory:

pytest -v

In order to debug tests using pdb, you can write the command breakpoint() inside the Python files (in tests) wherever you want to set a breakpoint. Then, run pytest --pdb. This will stop the code at the line where you put the breakpoint() command.

To see more verbose output from pytest, including tests that pass, you can run pytest -rA.

Note that test_hydrogen_bond.py and test_plot_octahedral_shell.py actually compare the results of images created for a single hydrogen bond and for an octahedral shell showing hydrogen bonds formed by the acceptor seventh molecule, respectively. The images compared against are present in the top-level image_cache_dir directory. The package pytest-pyvista is used for image verification.

To view a coverage report, run the following from the top-level directory:

pytest --cov=solvis tests/

Image Gallery

Metadata

Release files for solvis-tools 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solvis-tools 0.1.5
File Size Uploaded Provenance Actions
solvis_tools-0.1.5.tar.gz 4.4 MB Without provenance Details for solvis_tools-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solvis-tools 0.1.5
File Interpreter ABI Platform Actions
solvis_tools-0.1.5-py3-none-any.whl Python 3 none any Details for solvis_tools-0.1.5-py3-none-any.whl

Total release size: 4.4 MB

Release files / solvis_tools-0.1.5.tar.gz

Download URL solvis_tools-0.1.5.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
75c2eab948b46a3dac3403a45078e850ad6a85128a4b50f202e6eac4af610ec4
BLAKE2b-256 checksum
How to use checksums
c828e94ae5896a0b8f2fd7525f73ee72c17ed1a7835d93829ce42cd009a69d55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / solvis_tools-0.1.5-py3-none-any.whl

Download URL solvis_tools-0.1.5-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd7356a2ccc009f84d4c051ba47667d56ae72b6504409ffe4f36fd8bf45200e9
BLAKE2b-256 checksum
How to use checksums
6cb46664afb3c9aa2747fe2c491adc2b9efbe555d0824f86836711f8b3c9752c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for solvis-tools 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page