{"repo":"interkosmos/fortran-sqlite3","free":true,"listed":false,"github":"https://github.com/interkosmos/fortran-sqlite3","clone":"git clone https://github.com/interkosmos/fortran-sqlite3.git","description":"Fortran 2018 interface bindings to SQLite 3","language":"Fortran","stars":32,"topics":["fortran","sqlite","sqlite3","fpm","fortran-package-manager"],"license":"ISC","category":"databases-storage","readme_excerpt":"fortran-sqlite3 A work-in-progress collection of Fortran 2018 interface bindings to SQLite 3 (≥ 3.39.0). See COVERAGE for an overview of bound functions. Build Instructions Make sure that libsqlite3 is installed with development headers. On FreeBSD, run: On Linux: Or, build SQLite 3 from source: Then, clone the GitHub repository: Either build the library with fpm(1) or make(1) . Once compiled, link your Fortran application against libfortran-sqlite3.a and -lsqlite3 . Fortran Package Manager Simply execute the Fortran Package Manager: The output files are written to build/ . Make Execute the provided Makefile : Pass the preprocessor flag -DSQLITE ENABLE COLUMN METADATA=1 to add interface bindings to column meta data functions: You may want to override the default compilers by passing the arguments CC (C compiler) and FC (Fortran compiler). To install the library and the module files system-wide, for example, to /opt , run: Source-Code Documentation Use FORD to generate the source-code documentation: The output files are written to doc/ . Example The following SQL schema will be created by the example: The program opens a database example.sqlite , creates the table example , inserts some values, then reads them back in, and prints them to console. If the library has been installed to /opt , then compile, link, and run the example with: Fortran Package Manager You can add fortran-sqlite3 as an fpm dependency to your fpm.toml : Compatibility The Fortran interfaces to the SQLite f","default_branch":null,"files":null,"tree":[],"storefront":"/r/interkosmos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/interkosmos/fortran-sqlite3/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}