Skip to main content

pyciaaw: CIAAW for python.

Project description

Introduction

Python wrapper around the Fortran ciaaw library. The Fortran library does not need to be installed, the python wrapper embeds all needed fortran dependencies for Windows and MacOS. On linux, you might have to install libgfortran if it is not distributed by default with your linux distribution.

Installation

pip install pyciaaw

Usage

print("########## CIAAW VERSION ##########")
print("version ", pyciaaw.__version__)

print("########## CIAAW SAW ##########")
elmt = pyciaaw.saw.H
print("Element: ", elmt["element"])
print("Symbol: ", elmt["symbol"])
print("Z: ", elmt["z"])
print("standard atomic weight max: ", elmt["saw_max"])
print("standard atomic weight min: ", elmt["saw_min"])
print("standard atomic weight: ", elmt["saw"])
print("standard atomic weight uncertainty: ", elmt["saw_u"])
print("abredged standard atomic weight: ", elmt["asaw"])
print("abredged standard atomic weight uncertainty: ", elmt["asaw_u"])
print()

elmt = pyciaaw.saw.F
print("Element: ", elmt["element"])
print("Symbol: ", elmt["symbol"])
print("Z: ", elmt["z"])
print("standard atomic weight max: ", elmt["saw_max"])
print("standard atomic weight min: ", elmt["saw_min"])
print("standard atomic weight: ", elmt["saw"])
print("standard atomic weight uncertainty: ", elmt["saw_u"])
print("abredged standard atomic weight: ", elmt["asaw"])
print("abredged standard atomic weight uncertainty: ", elmt["asaw_u"])

License

MIT

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

pyciaaw-0.4.1.tar.gz (1.5 MB view hashes)

Uploaded Source

Built Distributions

pyciaaw-0.4.1-cp312-cp312-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

pyciaaw-0.4.1-cp312-cp312-manylinux_2_34_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

pyciaaw-0.4.1-cp312-cp312-macosx_12_0_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.12 macOS 12.0+ x86-64

pyciaaw-0.4.1-cp311-cp311-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

pyciaaw-0.4.1-cp311-cp311-manylinux_2_34_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

pyciaaw-0.4.1-cp311-cp311-macosx_12_0_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.11 macOS 12.0+ x86-64

pyciaaw-0.4.1-cp310-cp310-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

pyciaaw-0.4.1-cp310-cp310-manylinux_2_34_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

pyciaaw-0.4.1-cp310-cp310-macosx_12_0_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.10 macOS 12.0+ x86-64

pyciaaw-0.4.1-cp39-cp39-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

pyciaaw-0.4.1-cp39-cp39-manylinux_2_34_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.34+ x86-64

pyciaaw-0.4.1-cp39-cp39-macosx_12_0_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.9 macOS 12.0+ x86-64

pyciaaw-0.4.1-cp38-cp38-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

pyciaaw-0.4.1-cp38-cp38-manylinux_2_34_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.34+ x86-64

pyciaaw-0.4.1-cp38-cp38-macosx_12_0_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.8 macOS 12.0+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page