A test client (command line program) for implementations of the "OGC LD API" which is a variant of the standardised OGC API: Features that delivers OGC API data and also Linked Data..
Project description
OGC LD API Test Client
A test client (command line program) for implementations of the "OGC LD API" which is a variant of the standardised OGC API: Features that delivers OGC API data and also Linked Data.
This test client performs tests against a target API instance and reports test passing, failure and failure messages.
It has no Python Package Index dependencies (Standard Library modules only) so should run directly with only a basic Python installation.
Installation
This program runs as a Python 3, command line utility and has only been tested on Unix/Linux systems but should run just fine on Windows too.
Use
work in progress
The program can be run as a Python script on the command line or via the tc.sh
shell script in the bin/
folder.
The command line arguments (Python & shell) are:
Flag | Input values | Requirement | Notes |
---|---|---|---|
api_home positional arg |
URI of an API instance to test | Required | |
-r / --requirements |
Perform the OGC APIs Requirements tests | Optional | |
-as / --abstracttests |
Perform the OGC APIs Abstract Tests tests | Optional | |
-a / --alltests |
Perform all tests | Optional | |
-l / --log |
How to log: screen, file, both | Optional | Default: screen |
License
This code is licensed using the GPL v3 licence. See the LICENSE file for the deed.
Note Citation below for attribution.
Citation
To cite this software, please use the following BibTex:
@software{10.5281/zenodo.xxxxx,
author = {{Nicholas J. Car}},
title = {OGC LD API Test Client},
version = {0.5},
date = {2020},
publisher = "SURROUND Australia Pty. Ltd.",
doi = {10.5281/zenodo.xxxxx},
url = {https://doi.org/10.5281/zenodo.xxxxx}
}
Or the following RDF:
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix sdo: <https://schema.org/> .
@prefix wiki: <https://www.wikidata.org/wiki/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://doi.org/10.5281/zenodo.xxxxx>
a sdo:SoftwareSourceCode , owl:NamedIndividual ;
sdo:codeRepository <https://github.com/surroundaustralia/ogcapild-testclient> ;
dcterms:type wiki:Q7397 ; # "software"
dcterms:creator "Nicholas J. Car" ;
dcterms:date "2020"^^xsd:gYear ;
dcterms:title "OGC LD API Test Client" ;
sdo:version "0.5" ;
dcterms:publisher [
a sdo:Organization ;
sdo:name "SURROUND Pty Ltd" ;
sdo:url <https://surroundaustralia.com> ;
]
.
Contacts
publisher:
SURROUND Australia Pty. Ltd.
https://surroundaustralia.com
creator:
Dr Nicholas J. Car
Data Systems Architect
SURROUND Australia Pty. Ltd.
nicholas.car@surroudaustralia.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ogcldapi-testclient-0.5.tar.gz
.
File metadata
- Download URL: ogcldapi-testclient-0.5.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 036128ed997a8922004fd4f969f12f0aac3c21894982dd90510eccf28ab1509e |
|
MD5 | 3cf39e04709798c20328048cfa3dabb9 |
|
BLAKE2b-256 | 91710bdb8be286c2111bd769ea00be1e9920ed55b2aea15f48a10e5524429950 |
File details
Details for the file ogcldapi_testclient-0.5-py3-none-any.whl
.
File metadata
- Download URL: ogcldapi_testclient-0.5-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec7b8bbe5587b03c93865fdc9ab331c176d1a21439955e5c3aa0f294486aa1f1 |
|
MD5 | 2e59efe46199fd1890ad7d22985b11a9 |
|
BLAKE2b-256 | 2b2a3cc86e8b73f42e4c22adca2f2e5f76e4a5d8a32c43e9d6c54c69e2e3a368 |