Skip to content

Commit 7ce6fe8

Browse files
author
Steve Baskauf
committed
Update version numbers and dates
1 parent 5c35a46 commit 7ce6fe8

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

vanderbot/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Another utility, [count_entities.py](../json_schema/count_entities.py), can be u
2929

3030
Script location: <https://github.com/HeardLibrary/linked-data/blob/master/vanderbot/vanderbot.py>
3131

32-
Current version: v1.7
32+
Current version: v1.7.1
3333

3434
Written by Steve Baskauf 2020-21.
3535

@@ -141,4 +141,4 @@ for 30 November 2020
141141
for 100 BCE. The dateTime strings MUST end in `T00:00:00Z` regardless of the precision.
142142

143143
----
144-
Revised 2021-03-08
144+
Revised 2021-04-06

vanderbot/acquire_wikidata_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
# Best to send a user-agent header because some Wikimedia servers don't like unidentified clients
7575
def generate_header_dictionary(accept_media_type):
76-
user_agent_header = 'VanderBot/1.7 (https://github.com/HeardLibrary/linked-data/tree/master/vanderbot; mailto:[email protected])'
76+
user_agent_header = 'VanderBot/1.7.1 (https://github.com/HeardLibrary/linked-data/tree/master/vanderbot; mailto:[email protected])'
7777
requestHeaderDictionary = {
7878
'Accept' : accept_media_type,
7979
'Content-Type': 'application/sparql-query',

vanderbot/convert_json_to_metadata_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
created = '2021-03-13'
99

1010
# The csv-metadata.json file generated by this script is compatible with the
11-
# VanderBot v1.7 API-writing script vanderbot.py
11+
# VanderBot v1.7.1 API-writing script vanderbot.py
1212

1313
import json
1414
import sys # Read CLI arguments

vanderbot/count_entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def load_json_into_data_struct(path):
130130
endpoint = 'https://query.wikidata.org/sparql'
131131
accept_media_type = 'application/json'
132132
# Replace this value with your own user agent header string
133-
user_agent_header = 'VanderBot/1.6.1 (https://github.com/HeardLibrary/linked-data/tree/master/vanderbot; mailto:[email protected])'
133+
user_agent_header = 'VanderBot/1.7.1 (https://github.com/HeardLibrary/linked-data/tree/master/vanderbot; mailto:[email protected])'
134134

135135
# The following code generates a request header dictionary suitable for sending to a SPARQL endpoint.
136136
# If the query is SELECT, use the JSON media type above. For CONSTRUCT queryies use text/turtle to get RDF/Turtle

vanderbot/vanderbot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# VanderBot, a script for writing CSV data to a Wikibase API. vanderbot.py
22
version = '1.7.1'
3-
created = '2021-04-xx'
3+
created = '2021-04-06'
44

55
# (c) 2021 Vanderbilt University. This program is released under a GNU General Public License v3.0 http://www.gnu.org/licenses/gpl-3.0
66
# Author: Steve Baskauf
@@ -90,7 +90,7 @@
9090
# - prior to writing new items, check that there are no existing items with the same labels and descriptions
9191
# - move mutable configuration variables to the top of the script
9292
# -----------------------------------------
93-
# Version 1.7.1 change notes (2021-03-xx):
93+
# Version 1.7.1 change notes (2021-04-06):
9494
# - enable --version option.
9595
# add more complete error trapping for dates
9696

0 commit comments

Comments
 (0)