Skip to main content

Basic chemistry

Project description

bschemistry

v0.0.1

Bschemistry (basic chemistry) is a library that contains the basic functions to use chemistry on Python as well! It has a complete and accurate periodic table with all data updated regularly and frequent updates for new functions and features.

Example of the table structure:

'name': 'Hydrogen',
'symbol': 'H',
'a_num': 1,
'a_mass': 1.00794,           # u
'a_radius': 30,              # pm (picometers)
'electron_config': '1s1', 
'electronegativity': 2.2,    # Pauling's scale
'electron_affinity': 72.8,   # kJ/mol
'ionization_energies': 1312, # kJ/mol
'class': 'nonmetal',
'oxidation_nums': [-1,1],
'melting_temp': 14,          # K
'boiling_temp': 20,          # K
'd': 0.0899,                 # g/L
'yr': 1766                   # year of discovery

Practical examples

To receive a dictionary about an element of the periodic table from the table use:

import bschemistry as ch

t = ch.Table()

print(t.elem("H").name)

To get a single datum about an element use:

import bschemistry as ch

t = ch.Table()

print(t.elem("H").a_mass) # take the atomic mass of element H (Hydrogen)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

bschemistry-0.1.0-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file bschemistry-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bschemistry-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for bschemistry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb1c522a72fe184a1c2c224e6108c20adc5d8706108b82ce3d1151b1a8c67358
MD5 4cd0792794366cdd71ee2ec47ed1ebcf
BLAKE2b-256 66d81c6db5866dd29a4ace805304a4646a121a3d7b89214a4a9bb9355811cebb

See more details on using hashes here.

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