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]"

Optional PDF analysis support requires extra native dependencies and is installed separately:

pip install ".[pdf]"

On macOS, diffpy.pdffit2 may require:

brew install gsl

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.1.tar.gz (130.1 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.1-py3-none-any.whl (133.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hybrid_perovskite_studio-0.1.1.tar.gz
  • Upload date:
  • Size: 130.1 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.1.tar.gz
Algorithm Hash digest
SHA256 a51c875a4704b7531d2cf334191ad71fa86363578fa4ef8c04f47e0f4fa0ed5c
MD5 bbf9d6c9fe547dbd5434b5a757b0cfd1
BLAKE2b-256 7a8773c8a74962964a24c02a95506cdde347ffe457ff6344c9b297d3f0323279

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hybrid_perovskite_studio-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 85b56ae13b71f351302a4e76ae8f01a103612c41dafda4f24c3cc89c91699172
MD5 d8151c03946ef58819bdfe5b815da196
BLAKE2b-256 20fedcbb67cb2cd1ac15715589e09b4d632e939827bd2c76134b99f486f8bae3

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