Skip to content

Commit 73247dd

Browse files
authored
Merge pull request #521 from CLARIAH/dev
Release v1.3.10
2 parents 60609b2 + 7a83f61 commit 73247dd

17 files changed

+144
-153
lines changed

.dockerignore

Lines changed: 14 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,54 +2,18 @@
22
#
33
# SPDX-License-Identifier: MIT
44

5-
*~
6-
\#*\#
7-
bin/
5+
# To be ignored
6+
*
7+
8+
# To be included
89
!bin/grlc-server
9-
build/
10-
config.ini
11-
db-cache.json
12-
db.json
13-
DispatchSparqlQuery.ipynb
14-
docker-compose.yml
15-
Dockerfile2
16-
*/.DS_Store
17-
.eggs/
18-
FileLoaders.ipynb
19-
Get_Parameters.ipynb
20-
GetYamlDecorators.ipynb
21-
.git/
22-
.*!.gitignore
23-
grlc.egg-info/
24-
.idea
25-
include/
26-
ink_ext_XXXXXX_img0.png
27-
.ipynb_checkpoints/
28-
lib/
29-
local/
30-
*.log
31-
node_modules
32-
pip-selfcheck.json
33-
Process_sparql_query_text.ipynb
34-
*.pyc
35-
.pytest_cache
36-
.Python
37-
ReleaseProcedure.md
38-
response_1700168662326.html
39-
Rewrite_Query.ipynb
40-
share/
41-
src/config.ini
42-
src/FileLoaderTesting.ipynb
43-
ssl-certificates/
44-
!static/swagger-ui/dist/lib
45-
*.swp
46-
testQueries/
47-
TODOs.md
48-
TwitterAPIKeys.md
49-
venv3.10/
50-
venv3.11/
51-
venv3.8/
52-
venv3.9/
53-
venv-dev/
54-
venv-tests.sh
55-
.vscode/
10+
!LICENSES/
11+
!docker-assets/
12+
!src/
13+
!CITATION.cff
14+
!config.default.ini
15+
!README.md
16+
!requirements-test.txt
17+
!requirements.txt
18+
!setup.cfg
19+
!setup.py

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ updates:
66
schedule:
77
interval: "monthly"
88
target-branch: "dev"
9+
# Apply only major or minor updates, ignore patches
10+
ignore:
11+
- dependency-name: "*"
12+
update-types: ["version-update:semver-patch"]
913
# Add reviewers
1014
reviewers:
1115
- "albertmeronyo"

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-latest, macos-latest, windows-latest]
9-
python-version: [3.8, 3.9, 3.10.x, 3.11]
9+
python-version: [3.9, 3.10.x, 3.11, 3.12, 3.13]
1010
steps:
1111
- uses: actions/checkout@master
1212
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/tweet-release.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ authors:
1616
given-names: Carlos
1717
orcid: "https://orcid.org/0000-0001-5565-7577"
1818
cff-version: "1.0.3"
19-
date-released: 2024-02-17
19+
date-released: 2025-04-01
2020
doi: 10.5281/zenodo.1064391
2121
license: MIT
2222
message: "If you use this software, please cite it as below."
@@ -29,4 +29,4 @@ keywords:
2929
- "linked-data"
3030
- "semantic-web"
3131
- "linked-data-api"
32-
version: "1.3.9"
32+
version: "1.3.10"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
FROM python:3.11-slim
6-
6+
LABEL org.opencontainers.image.authors="[email protected]"
77

88
# Default values for env variables
99
ARG GRLC_GITHUB_ACCESS_TOKEN=

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SPDX-License-Identifier: MIT
1010
[![DOI](https://zenodo.org/badge/46131212.svg)](https://zenodo.org/badge/latestdoi/46131212)
1111
![Build Status](https://github.com/CLARIAH/grlc/actions/workflows/testing.yml/badge.svg?branch=master)
1212
[![status](https://joss.theoj.org/papers/437074e2d77df8c6cbf3bc4e407b3b17/status.svg)](https://joss.theoj.org/papers/437074e2d77df8c6cbf3bc4e407b3b17)
13+
[![FAIR checklist badge](https://ardc-fair-checklist.github.io/badge.svg)](https://ardc-fair-checklist.github.io/v0.2?f=31&a=32113&i=32121&r=123)
1314

1415

1516
grlc, the <b>g</b>it <b>r</b>epository <b>l</b>inked data API <b>c</b>onstructor, automatically builds Web APIs using shared SPARQL queries. http://grlc.io/
@@ -42,6 +43,8 @@ Your queries can add API parameters to each operation by using the [parameter ma
4243

4344
Your queries can include special [decorators](#decorator-syntax) to add extra functionality to your API.
4445

46+
grlc also supports SPARQL queries expressed as json, using the [SPARQL Transformer](https://github.com/D2KLab/py-sparql-transformer) [Query in JSON](https://github.com/D2KLab/sparql-transformer/blob/master/README.md#query-in-json) syntax. (**Tip**: the [SPARQL Transformer Playground](https://d2klab.github.io/sparql-transformer/) is very useful when building queries with this syntax).
47+
4548
### Query location
4649
grlc can load your query collection from different locations: from a GitHub repository (`api-git`), from a GitLab repository (`api-gitlab`), from local storage (`api-local`), and from a specification file (`api-url`). Each type of location has specific features and is accessible via different paths. However all location types produce the same beautiful APIs.
4750

@@ -300,6 +303,9 @@ More details for each of these options are given below.
300303
### grlc.io
301304
The easiest way to use grlc is by visiting [grlc.io](http://grlc.io/) and using this service to convert SPARQL queries into a RESTful API. Your queries can be [stored on a github repo](#from-a-github-repository) or can be [listed on a specification file](#from-a-specification-file).
302305

306+
#### Google Analytics
307+
grlc.io uses Google Analytics to keep track of the number of users of the service. We need this to show the impact of grlc when applying for funding. If this causes you to be conserned about privacy, we recommend you use some user-side anti-tracking, and we would appreciate if you could reach out to us to let us know you are using grlc.
308+
303309
### Docker
304310
To run grlc via [docker](https://www.docker.com/), you'll need a working installation of docker. To deploy grlc, just pull the [latest image from Docker hub](https://hub.docker.com/r/clariah/grlc/). :
305311
```bash

config.default.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ password = none
2323
debug = True
2424

2525
[api_gitlab]
26-
gitlab_url=https://gitlab
26+
gitlab_url=https://gitlab.com

requirements-test.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
mock==5.1.0
2-
pytest==7.4.4
3-
flake8==6.1.0
1+
mock==5.2.0
2+
pytest==8.3.5
3+
flake8==7.2.0
4+
six==1.17.0

requirements.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
docopt-ng==0.9.0
2-
Flask==3.0.0
3-
Flask-Cors==4.0.0
4-
pyaml==23.12.0
5-
python-gitlab==4.3.0
6-
rdflib==7.0.0
7-
requests==2.31.0
8-
SPARQLTransformer==2.3.0
9-
PyGithub==2.1.1
10-
gunicorn==22.0.0; sys_platform!="win32"
2+
Flask==3.1.0
3+
Flask-Cors==5.0.1
4+
pyaml==25.1.0
5+
python-gitlab==5.6.0
6+
rdflib==7.1.3
7+
requests==2.32.3
8+
SPARQLTransformer==2.4.0
9+
PyGithub==2.6.1
10+
gunicorn==23.0.0; sys_platform!="win32"
1111
waitress>=1.4.2; sys_platform=="win32"

0 commit comments

Comments
 (0)