Skip to main content

A metapackage combining several computational tools based on Chemical, Biochemical, and Engineering Thermodynamics (5th edition) by Stan Sandler

Project description

Sandlertools

A metapackage of computational tools based on Sandler's Chemical, Biochemical, and Engineering Thermodynamics (5th ed.)

Sandlertools bundles six companion packages into a single installation and wires their command-line interfaces into one unified sandlertools command. It should be used for educational purposes only.

Installation

pip install sandlertools

Included packages

Package Description Links
sandlerprops Pure-component properties database GitHub · PyPI · Docs
sandlersteam Steam tables GitHub · PyPI · Docs
sandlercubics Cubic equations of state GitHub · PyPI · Docs
sandlercorrespondingstates Corresponding-states chart reads GitHub · PyPI · Docs
sandlerchemeq Chemical equilibrium calculations GitHub · PyPI · Docs
sandlermisc Miscellaneous utilities (gas constant, ideal-gas functions, unit registry) GitHub · PyPI · Docs

Command-line usage

sandlertools [<global-options>] <command> [<command-options>]
$ sandlertools --help

Global options (--banner/--no-banner, --logging-level, --log) apply to all subcommands. Each subcommand's own options and examples are described in the corresponding package's documentation.

Subcommand Delegates to
props sandlerprops
cubic sandlercubics
steam sandlersteam
cs sandlercorrespondingstates
chemeq sandlerchemeq

Python API

sandlertools re-exports the public API of each sub-package so that a single import is sufficient for most use cases:

from sandlertools import (
    # sandlerprops
    Compound, PropertiesDatabase, get_database, Properties,
    # sandlersteam
    SandlerSteamState, SteamTables, get_tables,
    # sandlercubics
    IdealGasEOS, VanDerWaalsEOS, SoaveRedlichKwongEOS, PengRobinsonEOS,
    # sandlercorrespondingstates
    CSState,
    # sandlerchemeq
    Component, Reaction, ChemEqSystem,
    # sandlermisc
    R, ureg, DeltaH_IG, DeltaS_IG,
)

Properties and SteamTables are lazy singletons — the underlying data files are parsed only on first access. See each sub-package's documentation for class signatures and usage examples.

Release history

  • 0.5.1 — changed default banner behaviour
  • 0.5.0 — reports versions of all tools in banner message
  • 0.4.0sandlerchemeq integration
  • 0.3.0SteamRequest implemented
  • 0.2.0 — updated readme
  • 0.1.0 — initial release

Meta

Cameron F. Abrams — cfa22@drexel.edu Distributed under the MIT license. See LICENSE for more information. https://github.com/cameronabrams

Contributing

  1. Fork it (https://github.com/cameronabrams/sandlertools/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

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

sandlertools-0.6.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

sandlertools-0.6.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file sandlertools-0.6.2.tar.gz.

File metadata

  • Download URL: sandlertools-0.6.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sandlertools-0.6.2.tar.gz
Algorithm Hash digest
SHA256 c88d393e62ed97441b232e4a5a3ede528d3dd7e63da90934b49ae6edc53a319e
MD5 65e947b1db37ae5362532238b1c4d020
BLAKE2b-256 c66a9dbb068a43f8a296d751bb9b509889020e32eb7b47184ce2d88b043afcfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for sandlertools-0.6.2.tar.gz:

Publisher: release.yaml on cameronabrams/sandlertools

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

File details

Details for the file sandlertools-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: sandlertools-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sandlertools-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c458b4e70e88a8661189ae899d12cf3578fbbd6ced0d55dcc1396dc5fcc72fbe
MD5 36224a0ec06cb2a6f8317f8ec0e2ea99
BLAKE2b-256 856fd5bc8e137b0299af7eae14fbbe47b52fc7677c395e6202cea0d960944e23

See more details on using hashes here.

Provenance

The following attestation bundles were made for sandlertools-0.6.2-py3-none-any.whl:

Publisher: release.yaml on cameronabrams/sandlertools

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