chemelem
Chemical elements with atomic masses and radii
This package implements getting atomic masses or covalent radii by element or atomic number. It is intended to be simple and load fast.
Usage
The package provides dict-like objects: mass, covalent_radius,
and chemelem, which can be indexed by atomic number
(int, from 1 to 118) or element symbol (str such as 'Cl').
-
Getting the atomic mass (standard, isotope-weighted atomic weight) in amu:
import chemelem as ce ce.mass['Cl'] ce.mass[17]
Both give the same result:
35.47 -
Getting the covalent radius (value in pm):
import chemelem as ce ce.covalent_radius['Fe'] ce.covalent_radius[26]
Both give the same result:
116.0. -
Getting all the element's properties as dictionary:
import chemelem as ce ce.chemelem['Cl'] ce.chemelem[17]
Both give the same result:
{'atomic_number': 17, 'symbol': 'Cl', 'mass': 35.45, 'covalent_radius': 99.0}. -
The elements properties can be also obtained using the
chemelemconsole scriptchemelem Cl
Metadata
Release files for chemelem 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chemelem-0.1.1.tar.gz | 6.0 kB | Without provenance | Details for chemelem-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chemelem-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for chemelem-0.1.1-py3-none-any.whl |
Total release size: 11.9 kB
Release files / chemelem-0.1.1.tar.gz
| Download URL | chemelem-0.1.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a71d6d1a4564c7517e8a9baa78cf82f791165ffb3da72c84dad909a5e3a72ec4
|
|
BLAKE2b-256 checksum How to use checksums |
a33baf0aadc92c5d0fed6b552fae2157fee99812104d959173a810f9ac8ea55b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|
Release files / chemelem-0.1.1-py3-none-any.whl
| Download URL | chemelem-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c5f40fc0b20a29c5703d6c8c733e6e405275316dd0219b452364e86829a24e1
|
|
BLAKE2b-256 checksum How to use checksums |
529f0664d6c1813a14b7526020ffc9a56f063cd2d6b4743fc5ec7fa6626a2a1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|
Security for chemelem 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.