Skip to content

Commit

Permalink
Merge pull request #41 from MoenMi/add-pubchem-periodic-table
Browse files Browse the repository at this point in the history
Add PubChem Periodic Table in Python
  • Loading branch information
vfscalfani authored Feb 26, 2024
2 parents 1b99c5b + 15d884b commit 140c625
Showing 4 changed files with 572 additions and 1 deletion.
6 changes: 6 additions & 0 deletions _toc.yml
Original file line number Diff line number Diff line change
@@ -210,6 +210,12 @@ parts:
- file: content/scripts/C/C_Pub_Chem
title: "...in C"

# PubChem Periodic Table
- file: content/scripts/A_overview/pubchem-periodic-table_overview
sections:
- file: content/scripts/python/python_pubchem-periodic-table
title: "...in Python"

# PubMed
- file: content/scripts/A_overview/pubmed_overview
sections:
22 changes: 22 additions & 0 deletions content/scripts/A_overview/pubchem-periodic-table_overview.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
PubChem Periodic Table
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

.. sectionauthor:: Michael T. Moen <mtmoen@crimson.ua.edu>

Brief Overview
****************

PubChem is a database of chemical molecules and their properties. It is maintained by the National Center for Biotechnology Information (NCBI), a division of the National Library of Medicine (NLM) at the National Institutes of Health (NIH). PubChem is a key chemical information resource for scientists, students, and the general public.

The PubChem Periodic Table API provides programmatic access to a machine-readable periodic table. An API key is not required for this API, but a rate limit of 5 requests per second is enforced.

See the PubChem Periodic Table[#ppt1]_ and PubChem APIs documentation[#ppt2]_ for more information on accessing the API. Please check the terms of use[#ppt3]_ for more information on the usage of this API.

.. rubric:: References

.. [#ppt1] `<https://pubchem.ncbi.nlm.nih.gov/periodic-table/>`_
.. [#bea2] `<https://pubchemdocs.ncbi.nlm.nih.gov/programmatic-access>`_
.. [#bea3] `<https://www.ncbi.nlm.nih.gov/home/about/policies/>`_
2 changes: 1 addition & 1 deletion content/scripts/python/python_nws.ipynb
Original file line number Diff line number Diff line change
@@ -273,7 +273,7 @@
"source": [
"## 2. Get the hourly forecast for a location\n",
"\n",
"The `\\gridpoints` endpoint can also return an hourly forecast for a seven day period. The function below implements the code from the example above using this hourly forecast method:"
"The `/gridpoints` endpoint can also return an hourly forecast for a seven day period. The function below implements the code from the example above using this hourly forecast method:"
]
},
{
Loading

0 comments on commit 140c625

Please sign in to comment.