Skip to content

Command-line application that produces an optimized SQLite database will all periodic table elements in it.

License

Notifications You must be signed in to change notification settings

tylersuehr7/periodic-table-db-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Periodic Table of Elements Database Maker

A command-line application that takes a JSON-formatted datastore file from The National Library of Medicine and produces an optimized SQLite database file with a table containing all of the records from the datastore file.

Build system

  • make used to build this project
  • clang++ using std=c++20
  • clang used for SQLite3 compilation
  • Run $ make to build binary executable
  • Run $ make run to run executable with appropriate command-line arguments
  • Run $ make clean to cleanup build directory

Example usage

$ ./ptegen input_file_path=<path/to/input/file> output_file_path=<path/to/output/file>

Source of elements data

Copyright © 2024 Tyler R. Suehr

About

Command-line application that produces an optimized SQLite database will all periodic table elements in it.

Topics

Resources

License

Stars

Watchers

Forks