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.

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. https://doi.org/10.48550/arXiv.2603.15312

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.

Metadata

Release files for glasspy 0.6.1

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.1
File Size Uploaded Provenance Actions
glasspy-0.6.1.tar.gz 15.5 MB Without provenance Details for glasspy-0.6.1.tar.gz

Built distribution (wheel)

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

Total release size: 21.6 MB

Release files / glasspy-0.6.1.tar.gz

Download URL glasspy-0.6.1.tar.gz
Size 15.5 MB
Tags Source
SHA-256 checksum
How to use checksums
3380a3fd24177dfec40c7bcbe6215ea17eae93a6b5e948ec865dada845f2ed9b
BLAKE2b-256 checksum
How to use checksums
abcede560ed55a6d3ebd69c36f038e3de2b91ec0f4ac64efc0b9d7ed6b75e5b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

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

Download URL glasspy-0.6.1-py3-none-any.whl
Size 6.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7ef0188ff6a235743ed24b29d43f44aabfb64bbc7a70d2569d931a716034c2ac
BLAKE2b-256 checksum
How to use checksums
bd0279b512ff4a1f0f039b1ada21afd5f91bd8fb87ddec647b54fb227d33b53f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Security for glasspy 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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