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.1.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: minplascalc-1.0.1.tar.gz
  • Upload date:
  • Size: 186.9 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.1.tar.gz
Algorithm Hash digest
SHA256 7c6ff1d11bfc21e38b5e5c21fbda2c81d713e6f07e29a0e6ef06e57c2d85970d
MD5 7d9c8e2d4e34bd949c4886636497bef3
BLAKE2b-256 310c08364511408d050c1b2ff153a22477ebd9933dc486530fbaaee9df205740

See more details on using hashes here.

Provenance

The following attestation bundles were made for minplascalc-1.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: minplascalc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 200.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 089feaa9f054eba7ae37280c55b5feae6f66bc74284b976434b70c1ead21327a
MD5 53271622fc0897009f9790395810616e
BLAKE2b-256 fe9c1ed531bf5ea6c71c4d94edc3f19c2eb3118edc8a64038f95138515a3967f

See more details on using hashes here.

Provenance

The following attestation bundles were made for minplascalc-1.0.1-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