Skip to main content

Workspace-oriented Streamlit toolkit for hybrid perovskite modeling, analysis, and visualization.

Project description

Hybrid Perovskite Studio

Hybrid perovskites are a highly tunable family of functional materials with broad relevance across materials science, chemistry, and condensed-matter physics. Their hybrid organic-inorganic character makes them especially valuable for studying structure-property relationships through systematic changes in composition, molecular orientation, and lattice geometry. At the same time, that same hybrid character makes them difficult to analyze with many conventional structure-chemistry workflows, since the organic and inorganic sublattices often need to be treated differently.

Hybrid Perovskite Studio (HPS) is a workspace-oriented environment, built upon Streamlit, designed to support this kind of analysis and modelling. Its Structure Workspace focuses on tools for parsing, analyzing, and transforming hybrid perovskite structures while explicitly distinguishing between molecular and inorganic building blocks. Starting from experimental or simulated structures, users can inspect symmetry, molecular connectivity, bond lengths, bond angles, distortion metrics, anisotropic displacement information, pair distribution functions, and polarization-related quantities. The same workspace also supports structure editing and modelling operations, including molecule-specific rotations, reflections, translations, deletions, and interpolation-based transformations.

Beyond structure chemistry, HPS also provides tools for analyzing computational outputs. The Electronic Workspace is currently tailored especially to FHI-aims-style inputs and outputs, and includes functionality for plotting band structures, spin textures, partial densities of states, polarization-related quantities, absorption spectra, and Brillouin-zone information. The Dynamics Workspace extends the analysis to time-dependent simulation data, with tools for extracting trajectory-based structural metrics and monitoring how distortions and related descriptors evolve over time. A Utilities Workspace collects supporting tools for plotting and lightweight custom scripting.

HPS is an active research software project and is still evolving. It grew out of a longer collection of notebook-based and script-based workflows developed for hybrid-perovskite research, and is gradually being consolidated into a more structured, reusable application. Although it focuses upon hybrid perovskites, the tools are equally applicable to other materials classes. While the codebase is already useful for day-to-day analysis, some workflows remain under active refinement and edge cases may still appear. The broader goal is to continue expanding HPS into a flexible and maintainable platform for hybrid perovskite modelling, analysis, and visualization.

Install

python3 -m venv .venv
source .venv/bin/activate
pip install ".[full]"

Run

hps

For local development:

pip install -e ".[full]"
streamlit run src/hps/app.py

Docs

Gallery

Landing Page

Structure Workspace

Band Structure Studio

Dynamics Workspace

Notes

  • PyPI/package entrypoint: hps
  • Main entrypoint: streamlit run src/hps/app.py
  • Runtime files belong under tmp/ and output/
  • Navigation is defined in src/hps/ui/navigation.py

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

hybrid_perovskite_studio-0.1.0.tar.gz (129.7 kB view details)

Uploaded Source

Built Distribution

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

hybrid_perovskite_studio-0.1.0-py3-none-any.whl (133.1 kB view details)

Uploaded Python 3

File details

Details for the file hybrid_perovskite_studio-0.1.0.tar.gz.

File metadata

  • Download URL: hybrid_perovskite_studio-0.1.0.tar.gz
  • Upload date:
  • Size: 129.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for hybrid_perovskite_studio-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c7d87c6135c2689952febd0474d710ad7cce1aca09bd7ad5a214d7cb5d07372
MD5 273236bf46e2b8eaba85cde5fcadd624
BLAKE2b-256 6a54f32fad88b1659eef4318e41545e7056c7a6554daafcd9210a9cb657a9e79

See more details on using hashes here.

File details

Details for the file hybrid_perovskite_studio-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hybrid_perovskite_studio-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d13bf59aaad1ab09d4beef516d5a5adf49cc7ad8552c3dcc76ae653e0c8187d
MD5 90ad5ccf2a3e3b433bd0963ed4eb42b6
BLAKE2b-256 0bc56c5a24a7b7e23deae3826b22825dda9588dbd5b6b1dc60e4986a0ec20901

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