A python interface to the pure-component properties database for Sandler 5e
Project description
sandlerprops
A Python interface to the pure-component properties database that originally accompanied the textbook Chemical, Biochemical, and Engineering Thermodynamics (4th edition) by Stan Sandler (Wiley, USA).
Installation
pip install sandlerprops
Usage example
Command-line interface
$ sandlerprops find methane
Found exact match: methane (index 116)
$ sandlerprops find methanx
methanx not found. Here are similars:
methane
methanol
ethane
ethanol
methylal
methyl amine
nitromethane
deutromethane
methyl silane
dimethylamine
$ sandlerprops show methane
Properties for methane (index 116):
No: 116
Formula: CH4
Name: methane
Molwt: 16.043 g/mol
Tfp: 90.7 K
Tb: 111.6 K
Tc: 190.4 K
Pc: 46.0 bar
Vc: 99.2 m3/mol
Zc: 0.288
Omega: 0.011
Dipm: 0.0
CpA: 19.25 J/mol-K
CpB: 0.05213 J/mol-K2
CpC: 1.197e-05 J/mol-K3
CpD: -1.132e-08 J/mol-K4
dHf: -74900.0 J/mol
dGf: -50870.0 J/mol
Eq: 1
VpA: -6.00435
VpB: 1.1185
VpC: -0.83408
VpD: -1.22833
Tmin: 91.0 K
Tmax: 190.4 K
Lden: 0.425
Tden: 112.0
API
>>> from sandlerprops.properties import Properties as P
>>> m = P.get_compound('methane')
>>> m.Molwt
16.043
>>> p.U.Molwt
'g/mol'
>>> m.Tc
190.4
>>> p.U.Tc
'K'
>>> e = P.get_compound('ethanz')
ethanz not found. Here are similars:
ethane
methane
ethanol
methanol
ethyl amine
ethylene
methylal
methyl amine
ethylbenzene
nitromethane
Release History
- 0.1.0
- command-line interface
- 0.0.3
- returns similar names found in database if requested name is not found
- 0.0.2
- Updated dependencies
- 0.0.1
- Initial version
Meta
Cameron F. Abrams – cfa22@drexel.edu
Distributed under the MIT license. See LICENSE for more information.
https://github.com/cameronabrams
Contributing
- Fork it (https://github.com/cameronabrams/sandlerprops/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sandlerprops-0.1.0.tar.gz.
File metadata
- Download URL: sandlerprops-0.1.0.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
773baf5865c46dc570f0e7a5ea3bcc7585f8f4e2a4ad330dbfdd23627841c85d
|
|
| MD5 |
e88ff0662052517e5d6a583f626833c2
|
|
| BLAKE2b-256 |
15d4eaaa2caca9ebee92cfe628cd7f542ee52ab0aaec15c6fbdefe4c16c85be6
|
Provenance
The following attestation bundles were made for sandlerprops-0.1.0.tar.gz:
Publisher:
release.yaml on cameronabrams/sandlerprops
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sandlerprops-0.1.0.tar.gz -
Subject digest:
773baf5865c46dc570f0e7a5ea3bcc7585f8f4e2a4ad330dbfdd23627841c85d - Sigstore transparency entry: 779138192
- Sigstore integration time:
-
Permalink:
cameronabrams/sandlerprops@031c921f529bea5dbe315c15c23f179634441c11 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cameronabrams
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@031c921f529bea5dbe315c15c23f179634441c11 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sandlerprops-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sandlerprops-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22086c5cede3f847d12bc8cf2ddae17f71225e15a95217b9fcbdc4cf7d14b579
|
|
| MD5 |
d4ae76520514b2d6b6ebb5b4d913f4de
|
|
| BLAKE2b-256 |
4de8d4c557b8960de265dda8bdaa2f61e7d02099cd94e16577051376680ad85f
|
Provenance
The following attestation bundles were made for sandlerprops-0.1.0-py3-none-any.whl:
Publisher:
release.yaml on cameronabrams/sandlerprops
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sandlerprops-0.1.0-py3-none-any.whl -
Subject digest:
22086c5cede3f847d12bc8cf2ddae17f71225e15a95217b9fcbdc4cf7d14b579 - Sigstore transparency entry: 779138193
- Sigstore integration time:
-
Permalink:
cameronabrams/sandlerprops@031c921f529bea5dbe315c15c23f179634441c11 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cameronabrams
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@031c921f529bea5dbe315c15c23f179634441c11 -
Trigger Event:
push
-
Statement type: