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.2.tar.gz (130.0 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.2-py3-none-any.whl (133.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hybrid_perovskite_studio-0.1.2.tar.gz
  • Upload date:
  • Size: 130.0 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.2.tar.gz
Algorithm Hash digest
SHA256 d36169d40cf735be334f7efcea7d7fd0971a632472c34df7b482bd4164124d74
MD5 d77dc9b63defed3cd8e853bb4051c380
BLAKE2b-256 1c058a2c69570583c9bf1d0bf4866a82d812fda558427996a118a92d8b0bf4bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hybrid_perovskite_studio-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16234084c43f213d06bd9d4aae0159703194d41edae55d43416b1fa71bd2a533
MD5 f86f1f5ade65bfda10bc6ee85cfedbb9
BLAKE2b-256 d4661b7bb7f665a601e91deb98cf522c5b2c80089503907a4efd18cda9cee15e

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