Skip to content

Commit d732235

Browse files
authored
Update package index (#196)
- Include gitlab packages correctly in package search - Add interfacing and formatting packages
1 parent c78f531 commit d732235

File tree

4 files changed

+144
-41
lines changed

4 files changed

+144
-41
lines changed

_data/package_index.yml

Lines changed: 112 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
# 'license' (optional) override automatic github license. Mandatory if automatic detection fails.
88
# 'version' (optional) override automatic github version. Set to 'none' to hide.
99
#
10+
# Fields for gitlab projects:
11+
# 'name' (mandatory)
12+
# 'gitlab' (mandatory) format: <user>/<repo>
13+
# 'description' (mandatory) single line description
14+
# 'categories' (mandatory)
15+
# 'tags' (optional) used for searching. Don't include category name here.
16+
# 'license' (optional) override automatic gitlab license. Mandatory if automatic detection fails.
17+
# 'version' (optional) override automatic gitlab version. Set to 'none' to hide.
18+
#
1019
# Fields for non github projects:
1120
# 'name' (mandatory)
1221
# 'url' (mandatory)
@@ -159,36 +168,67 @@
159168
categories: interfaces
160169

161170
- name: sqliteff
162-
url: https://gitlab.com/everythingfunctional/sqliteff
171+
gitlab: everythingfunctional/sqliteff
163172
description: A thin wrapper around the SQLite library
164173
categories: interfaces
165174
tags: sql database
166-
license: MIT
175+
176+
- name: fortran-curl
177+
github: interkosmos/fortran-curl
178+
description: Fortran 2008 interface bindings to libcurl
179+
categories: interfaces
180+
tags: https curl imap libcurl smtp gopher
167181

168182
- name: mpifx
169183
github: dftbplus/mpifx
170184
description: Modern Fortran wrappers around MPI routines
171185
categories: interfaces
172186
tags: mpi fypp
173-
version: none
174187

175188
- name: scalapackfx
176189
github: dftbplus/scalapackfx
177190
description: Modern Fortran wrappers around ScaLAPACK routines
178191
categories: interfaces
179192
tags: mpi fypp pblas blacs
180-
version: none
181193

182194
- name: ELSI
183-
url: https://gitlab.com/elsi_project/elsi_interface
195+
gitlab: elsi_project/elsi_interface
184196
description: A software interface designed for electronic structure codes to connect with ELPA, libOMM, PEXSI, EigenExa, SLEPc, NTPoly, BSEPACK, LAPACK, MAGMA, and other solver libraries.
185197
categories: interfaces
186198
tags: electronic-stucture mpi gpu
187-
version: 2.6.0
188199
license: BSD-3-Clause
189200

201+
- name: FKB
202+
github: scientific-computing/FKB
203+
description: Fortran Keras Bridge - A two-way deep learning bridge between Keras and Fortran
204+
categories: interfaces
205+
tags: deep-learning data-science machine-learning neural-networks
206+
version: none
207+
208+
- name: flibcpp
209+
github: swig-fortran/flibcpp
210+
description: Fortran bindings to the C++ Standard Library
211+
categories: interfaces
212+
tags: c++
213+
214+
# --- Compiler
215+
216+
- name: hipfort
217+
github: ROCmSoftwarePlatform/hipfort
218+
description: Fortran interfaces for ROCm libraries
219+
categories: programming
220+
tags: hip rocm
221+
license: MITx11
222+
190223
# --- Programming utilities ---
191224

225+
- name: fpm
226+
github: fortran-lang/fpm
227+
description: Fortran Package Manager
228+
categories: programming
229+
tags: build-system package-manager
230+
version: none
231+
192232
- name: FORD
193233
github: Fortran-FOSS-Programmers/ford
194234
description: Automatic documentation generator for modern Fortran programs
@@ -203,12 +243,10 @@
203243
tags: metaprogramming
204244

205245
- name: vegetables
206-
url: https://gitlab.com/everythingfunctional/vegetables
246+
gitlab: everythingfunctional/vegetables
207247
description: A Fortran testing framework written using functional programming principles.
208248
categories: programming
209249
tags: testing assert
210-
license: MIT
211-
version: 4.0
212250

213251
- name: pFUnit
214252
github: Goddard-Fortran-Ecosystem/pFUnit
@@ -218,11 +256,10 @@
218256
license: NASA-1.3
219257

220258
- name: erloff
221-
url: https://gitlab.com/everythingfunctional/erloff
259+
gitlab: everythingfunctional/erloff
222260
description: Errors and logging for fortran
223261
categories: programming
224262
tags: errors logging
225-
license: BSD-3-Clause
226263

227264
- name: fytest
228265
url: https://bitbucket.org/aradi/fytest/src/develop/
@@ -244,6 +281,50 @@
244281
categories: programming numerical
245282
tags: algorithmic derivative ad
246283
license: MIT
284+
version: 3.16-v2
285+
286+
- name: camfort
287+
github: camfort/camfort
288+
description: Light-weight verification and transformation tools for Fortran
289+
categories: programming
290+
tags: refactoring
291+
license: Apache-2.0
292+
293+
- name: findent
294+
url: https://sourceforge.net/projects/findent/
295+
description: Indents/beautifies/converts Fortran sources
296+
categories: programming
297+
tags: formatter converter
298+
license: BSD-3-Clause
299+
version: 3.1.7
300+
301+
- name: fprettify
302+
github: pseewald/fprettify
303+
description: auto-formatter for modern fortran source code
304+
categories: programming
305+
tags: formatter
306+
license: GPL-3.0
307+
308+
- name: shroud
309+
github: LLNL/shroud
310+
description: generate Fortran and Python wrappers for C and C++ libraries
311+
categories: programming
312+
tags: interface-generator c++
313+
314+
- name: SWIG-Fortran
315+
github: swig-fortran/swig
316+
description: SWIG for C++ to Fortran interface generation
317+
categories: programming
318+
tags: interface-generator c++
319+
license: GPL-3.0
320+
321+
- name: f90wrap
322+
github: jameskermode/f90wrap
323+
description: F90 to Python interface generator with derived type support
324+
categories: programming
325+
tags: interface-generator python
326+
license: GPL-3.0
327+
version: none
247328

248329
# --- Data types ---
249330

@@ -329,19 +410,16 @@
329410
tags: upper lower quoted join replace white space string conversion tokens split
330411
version: none
331412

332-
- name: Strings for Fortran
333-
url: https://gitlab.com/everythingfunctional/strff
334-
description: A library of string functions for Fortran.
413+
- name: strff
414+
gitlab: everythingfunctional/strff
415+
description: Strings for Fortran - A library of string functions for Fortran.
335416
categories: strings
336-
tags:
337-
license: MIT
338417

339418
- name: iso_varying_string
340-
url: https://gitlab.com/everythingfunctional/iso_varying_string
419+
gitlab: everythingfunctional/iso_varying_string
341420
description: Implementation of the Fortran ISO_VARYING_STRING module in accordance with the standard
342421
categories: strings
343422
tags: varying length character strings
344-
license: MIT
345423

346424
# --- File input / output ---
347425

@@ -353,11 +431,12 @@
353431
version: none
354432

355433
- name: FortJSON
356-
url: https://gitlab.com/elsi_project/fortjson
434+
gitlab: elsi_project/fortjson
357435
description: A JSON library designed with portability across HPC architectures in mind
358436
categories: io
359437
tags: json hpc
360438
license: BSD-3-Clause
439+
version: none
361440

362441
- name: json-fortran
363442
github: jacobwilliams/json-fortran
@@ -412,7 +491,7 @@
412491
github: jacobwilliams/fortran-csv-module
413492
description: Read and write CSV Files using modern Fortran
414493
categories: io
415-
tags:
494+
tags: csv
416495
license: BSD-3-Clause
417496

418497
- name: M_IO
@@ -424,11 +503,10 @@
424503
version: none
425504

426505
- name: jsonff
427-
url: https://gitlab.com/everythingfunctional/jsonff
506+
gitlab: everythingfunctional/jsonff
428507
description: Routines for building JSON structures in Fortran
429508
categories: io
430-
tags:
431-
license: MIT
509+
tags: json
432510

433511
- name: NPY for Fortran
434512
github: MRedies/NPY-for-Fortran
@@ -450,12 +528,11 @@
450528
tags:
451529
version: none
452530

453-
- name: Parser for Fortran
454-
url: https://gitlab.com/everythingfunctional/parff
531+
- name: parff
532+
gitlab: everythingfunctional/parff
455533
description: The foundations of a functional style parser combinator library
456534
categories: io
457-
tags:
458-
license: MIT
535+
tags: parser
459536

460537
- name: Serialbox
461538
github: GridTools/serialbox
@@ -501,7 +578,6 @@
501578
categories: graphics interfaces
502579
tags: animation plot surface contour
503580
license: MIT
504-
version: none
505581

506582
- name: gtk-fortran
507583
github: vmagnin/gtk-fortran
@@ -550,6 +626,7 @@
550626
description: Finite element software for numerical solution of partial differential equations
551627
categories: numerical
552628
tags: pde fe
629+
license: GPL-2.0
553630
version: none
554631

555632
- name: fortranlib
@@ -632,6 +709,7 @@
632709
description: Parallel Sparse BLAS
633710
categories: numerical data-types
634711
tags: linear algebra mpi
712+
license: BSD-3-Clause
635713

636714
- name: GALAHAD
637715
github: ralna/GALAHAD
@@ -655,11 +733,10 @@
655733
license: BSD-3-Clause
656734

657735
- name: quaff
658-
url: https://gitlab.com/everythingfunctional/quaff
736+
gitlab: everythingfunctional/quaff
659737
description: Quantities for Fortran. Make math with units more convenient
660738
categories: numerical
661739
tags:
662-
license: MIT
663740

664741
- name: rng_fortran
665742
github: jannisteunissen/rng_fortran
@@ -864,12 +941,11 @@
864941
license: LGPL-2.1-only
865942

866943
- name: Truchas
867-
url: https://gitlab.com/truchas/truchas
944+
gitlab: truchas/truchas
868945
description: 3D Multiphysics Simulation of Metal Casting and Processing
869946
categories: scientific
870947
tags: fluid dynamics metal casting multiphysics hpc
871948
license: BSD-3-Clause
872-
version: none
873949

874950
- name: dftatom
875951
github: certik/dftatom
@@ -885,7 +961,7 @@
885961
categories: scientific
886962
tags: stellar astrophysics
887963
license: GPL-2
888-
version: 12778
964+
version: 15140
889965

890966
- name: Wannier90
891967
github: wannier-developers/wannier90
@@ -900,7 +976,7 @@
900976
categories: scientific
901977
tags: particle physics parallel mpi monte carlo optimization sampling integration
902978
license: GPL-2.0-or-later
903-
version: 2.8.4
979+
version: 2.8.5
904980

905981
- name: HANDE
906982
github: hande-qmc/hande
@@ -910,14 +986,14 @@
910986
version: none
911987

912988
- name: OpenMolcas
913-
url: https://gitlab.com/Molcas/OpenMolcas
989+
gitlab: Molcas/OpenMolcas
914990
description: Quantum chemistry software package for multiconfigurational approaches to the electronic structure
915991
categories: scientific
916992
tags: electronic-structure casscf caspt2
917993
license: LGPL-2.1
918994

919995
- name: Octopus
920-
url: https://gitlab.com/octopus-code/octopus
996+
gitlab: octopus-code/octopus
921997
description: Real-space Time-Dependent Density Functional Theory code
922998
categories: scientific
923999
tags: electronic-structure

_layouts/code_category.html

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,32 @@ <h3>
4343
{% else %}
4444
<img src="https://img.shields.io/github/license/{{ project.github }}">
4545
{% endif %}</td>
46-
<td> <img src="https://img.shields.io/github/stars/{{ project.github }}?style=social"></td>
47-
<td> <img src="https://img.shields.io/github/forks/{{ project.github }}?style=social&label=Fork"> </td>
46+
<td> <img src="https://img.shields.io/github/stars/{{ project.github }}"></td>
47+
<td> <img src="https://img.shields.io/github/forks/{{ project.github }}"> </td>
4848
<td> <img src="https://img.shields.io/github/last-commit/{{ project.github }}?color=blue"> </td>
4949
<td> <img src="https://img.shields.io/github/issues/{{ project.github }}"> </td>
5050
{% else %}
51+
{% if project.gitlab %}
52+
<td> <h3><a href="https://gitlab.com/{{ project.gitlab }}" target="_blank">
53+
<i class="devicon-gitlab-plain colored"></i>
54+
{{ project.name }}</a></h3> </td>
55+
<td> {% if project.version %}
56+
{% if project.version != 'none' %}
57+
<img src="https://img.shields.io/badge/version-{{ project.version | replace: " ", "%20" | replace: "-", "--" }}-green.svg">
58+
{% endif %}
59+
{% else %}
60+
<img src="https://badgen.net/gitlab/release/{{ project.gitlab }}?color=green">
61+
{% endif %}</td>
62+
<td> {% if project.license %}
63+
<img src="https://img.shields.io/badge/license-{{ project.license | replace: " ", "%20" | replace: "-", "--" }}-green">
64+
{% else %}
65+
<img src="https://badgen.net/gitlab/license/{{ project.gitlab }}">
66+
{% endif %}</td>
67+
<td> <img src="https://badgen.net/gitlab/stars/{{ project.gitlab }}"></td>
68+
<td> <img src="https://badgen.net/gitlab/forks/{{ project.gitlab }}"> </td>
69+
<td> <img src="https://badgen.net/gitlab/last-commit/{{ project.gitlab }}?color=blue"> </td>
70+
<td> <img src="https://badgen.net/gitlab/open-issues/{{ project.gitlab }}"> </td>
71+
{% else %}
5172
<td> <h3><a href="{{ project.url }}" target="_blank">
5273
{% if project.url contains "gitlab.com" %}
5374
<i class="devicon-gitlab-plain colored"></i>
@@ -71,6 +92,7 @@ <h3>
7192
<td></td>
7293
<td></td>
7394
{% endif %}
95+
{% endif %}
7496
</tr>
7597
<tr><td colspan="7" class="light">
7698
{{ project.description }}

assets/js/package_search.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
// Sort by subsentence length descending
6161
subs = subs.sort(function(a,b){return b.split(" ").length - a.split(" ").length})
6262

63-
var fields = ['name','description','tags','license','github','url'];
64-
var fieldWeights = [10.0,1.0,1.0,0.1,1.0,0.1];
63+
var fields = ['name','description','tags','license','github','gitlab','url'];
64+
var fieldWeights = [10.0,1.0,1.0,0.1,1.0,1.0,0.1];
6565

6666
// Loop over projects JSON
6767
var i;
@@ -124,6 +124,9 @@
124124
if (results[i].github != "" && !project.fpm){
125125
out += '<h3><a href="https://github.com/'+project.github+'" target="_blank">';
126126
out += '<i class="devicon-github-plain colored"></i> '+project.name+'</a></h3>';
127+
} else if (results[i].gitlab != "" && !project.fpm){
128+
out += '<h3><a href="https://gitlab.com/'+results[i].gitlab+'" target="_blank">';
129+
out += '<i class="devicon-gitlab-plain colored"></i> '+project.name+'</a></h3>';
127130
} else {
128131
out += '<h3><a href="'+project.url+'" target="_blank">';
129132
if (project.fpm){

0 commit comments

Comments
 (0)