Skip to main content

Welcome to GlassPy

DOI

GlassPy is a Python module for scientists working with glass materials.

Screenshot

What is it?

GlassPy focuses on providing an easy way to load SciGlass data and use GlassNet, VITRIFY, and ViscNet — predictive models of glass and glass-forming liquid properties. Documentation is available here (check the examples section for a quick overview).

How to install

The source code is available on GitHub at https://github.com/drcassar/glasspy.

Binary installers for the latest released version are available from the Python Package Index.

[!WARNING] Before installing GlassPy, make sure that you have pytorch installed (see the instructions here).

To install GlassPy with pip run

pip install glasspy

To install GlassPy with uv run

uv pip install glasspy

Development

GlassPy is under development. API changes are not only likely, but expected as development continues.

How to cite

If GlassPy or GlassNet was useful in your research, please cite the following paper:

Cassar, D.R. (2023). GlassNet: A multitask deep neural network for predicting many glass properties. Ceramics International 49, 36013–36024. https://doi.org/10.1016/j.ceramint.2023.08.281.

If VITRIFY was useful in your research, please cite the following paper:

Carvalho, D.P.L., Loponi, A.C.B., Cassar, D.R. (2026). Will it form a glass? Tackling glass formation using binary classification. Paper under peer review.

If ViscNet was useful in your research, please cite the following paper:

Cassar, D.R. (2021). ViscNet: Neural network for predicting the fragility index and the temperature-dependency of viscosity. Acta Materialia 206, 116602. https://doi.org/10.1016/j.actamat.2020.116602.

GlassPy license

GPL

GlassPy, Python module for scientists working with glass materials. Copyright (C) 2019-2026 Daniel Roberto Cassar

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Release files for glasspy 0.6.0

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

Source distribution (sdist)

Source distribution for glasspy 0.6.0
File Size Uploaded
glasspy-0.6.0.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for glasspy 0.6.0
File Interpreter ABI Platform
glasspy-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / glasspy-0.6.0.tar.gz

Download URL glasspy-0.6.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
777423bb6ec8cb6262426e3c6e0e9506aa53e2ccb74540f5e1c349bdd8e62b79
BLAKE2b-256 checksum
How to use checksums
76ba546583d67fbf7b7ef811f3e2ee2503a6ca17f5028176ef26e64e2c63c821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / glasspy-0.6.0-py3-none-any.whl

Download URL glasspy-0.6.0-py3-none-any.whl
Size 98.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebb4aeeed1e61e9409f72e8ce98d55bd28ee8d45bfc9888bbb1feee18287f90f
BLAKE2b-256 checksum
How to use checksums
32d139674f4bcda1dbc6c85fff27fff35fe09a7706aa667e9bd771ee61fc8564
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.0

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

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