Skip to main content

Python module for scientists working with glass materials

Project description

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.

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

glasspy-0.6.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glasspy-0.6.0-py3-none-any.whl (98.4 kB view details)

Uploaded Python 3

File details

Details for the file glasspy-0.6.0.tar.gz.

File metadata

  • Download URL: glasspy-0.6.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for glasspy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 777423bb6ec8cb6262426e3c6e0e9506aa53e2ccb74540f5e1c349bdd8e62b79
MD5 197235b94e322ed22f9d6149d92c4480
BLAKE2b-256 76ba546583d67fbf7b7ef811f3e2ee2503a6ca17f5028176ef26e64e2c63c821

See more details on using hashes here.

File details

Details for the file glasspy-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: glasspy-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 98.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for glasspy-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebb4aeeed1e61e9409f72e8ce98d55bd28ee8d45bfc9888bbb1feee18287f90f
MD5 9db23155742796e3dec7eed1543063f9
BLAKE2b-256 32d139674f4bcda1dbc6c85fff27fff35fe09a7706aa667e9bd771ee61fc8564

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