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.4.tar.gz (283.9 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.4-py3-none-any.whl (287.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hybrid_perovskite_studio-0.1.4.tar.gz
  • Upload date:
  • Size: 283.9 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.4.tar.gz
Algorithm Hash digest
SHA256 160832806412bab89acaa19a05ddc373ad44cd528ea5f8bfe7f5bd36960f1a34
MD5 bd66f3e4de9a6d7d9372d015a44e57fd
BLAKE2b-256 f06fb96eb22b442132f7e92bec541564104004dc785cacc5fd7bc84b49e4c6d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hybrid_perovskite_studio-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ddc47dabe925f6b1c2b61ec09eec312534b40342c07019fc98429ae51553008
MD5 3d8ede7ade9f5e100197e2f8fbdd6ed3
BLAKE2b-256 95d357a188ff6a6608bab325432acd85e81f6018d20df01d293058ec7942185c

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