Skip to main content

A simple set of tools for doing calculations of thermal plasma compositions relevant to metallurgical problems using Python 3

Project description

https://github.com/quinnreynolds/minplascalc/actions/workflows/on-push.yml/badge.svg https://raw.githubusercontent.com/quinnreynolds/minplascalc/coverage-badge/coverage.svg?raw=true

A simple set of tools in Python 3 for doing calculations of thermal plasma compositions relevant to metallurgical problems.

Quinn Reynolds, MINTEK Pyrometallurgy Division, 2018-present

What is this repository for?

  • You’re here because you want to calculate plasma compositions, thermodynamics, and physical and radiative properties. This package will do most of those things for LTE plasmas, to varying degrees of fidelity.

  • Version v1.0.2.

Quick start

  • Simply install the package with pip install minplascalc.

  • You should now be able to run the example scripts in the examples directory.

  • The package is still in development, so expect bugs and changes.

Documentation

A full set of documentation is available online at https://quinnreynolds.github.io/minplascalc/.

Workflow for developers/contributors

  • First, clone the repository. You’ll get the package and some test drivers.

  • Since we are using uv, install it by following instructions on their website.

  • Run uv sync --python 3.13 to create a virtual environment at .venv, with python 3.13 and all the necessary dependencies.

  • To test if the package is working, run uv run pytest. All tests should pass.

Next time, you just need to activate the virtual environment with

  • (macOs and Linux) source .venv/bin/activate.

  • (Windows) .venv\Scripts\activate.

Before pushing to GitHub, run the following commands:

  1. Update dependencies with just update-env.

  2. Run quality assurance checks (code linting) checks with just qa.

  3. Run type checks with just type-check.

  4. Run unit tests with just tests.

  5. Run unit tests with coverage and generate a badge with just tests-cov.

  6. Build the documentation with just build-docs.

Contribution guidelines

  • Writing tests: TBC

  • Code review: TBC

  • Other guidelines: TBC

Who do I talk to?

References

  • List of references are available at the reference section.

  • To add a reference, add a new entry to the docs/references/_bibliography.rst file.

Science behind the code

A brief overview of the science behind the code is available at the Background/Theory section.

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

minplascalc-1.0.2.tar.gz (187.2 kB view details)

Uploaded Source

Built Distribution

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

minplascalc-1.0.2-py3-none-any.whl (200.4 kB view details)

Uploaded Python 3

File details

Details for the file minplascalc-1.0.2.tar.gz.

File metadata

  • Download URL: minplascalc-1.0.2.tar.gz
  • Upload date:
  • Size: 187.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for minplascalc-1.0.2.tar.gz
Algorithm Hash digest
SHA256 47c569959d231348c4b49f9567a4bf8cb15a9a06ecff25d8bef3d94be183294d
MD5 59986a22af89db4b5b6e2930febe7ddd
BLAKE2b-256 55c18739bf289006684532851ca0e2fab0eee59aa1551bafe7b5e07072f03e7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for minplascalc-1.0.2.tar.gz:

Publisher: publish.yml on quinnreynolds/minplascalc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file minplascalc-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: minplascalc-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 200.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for minplascalc-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0bf17cff1eec8b33d47b061dbb3bbe81c1c991acdb29c73af9925e59c203f747
MD5 32a280e440869ad868e23912b314a704
BLAKE2b-256 35cd3e201f4ed0c8b89933ff738fbc72d9d49e1cca530438460319eab074b58e

See more details on using hashes here.

Provenance

The following attestation bundles were made for minplascalc-1.0.2-py3-none-any.whl:

Publisher: publish.yml on quinnreynolds/minplascalc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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