Skip to content

Commit

Permalink
Update version numbers and dates
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Baskauf committed Apr 7, 2021
1 parent 5c35a46 commit 7ce6fe8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions vanderbot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Another utility, [count_entities.py](../json_schema/count_entities.py), can be u

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

Current version: v1.7
Current version: v1.7.1

Written by Steve Baskauf 2020-21.

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

----
Revised 2021-03-08
Revised 2021-04-06
2 changes: 1 addition & 1 deletion vanderbot/acquire_wikidata_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

# Best to send a user-agent header because some Wikimedia servers don't like unidentified clients
def generate_header_dictionary(accept_media_type):
user_agent_header = 'VanderBot/1.7 (https://github.com/HeardLibrary/linked-data/tree/master/vanderbot; mailto:[email protected])'
user_agent_header = 'VanderBot/1.7.1 (https://github.com/HeardLibrary/linked-data/tree/master/vanderbot; mailto:[email protected])'
requestHeaderDictionary = {
'Accept' : accept_media_type,
'Content-Type': 'application/sparql-query',
Expand Down
2 changes: 1 addition & 1 deletion vanderbot/convert_json_to_metadata_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
created = '2021-03-13'

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

import json
import sys # Read CLI arguments
Expand Down
2 changes: 1 addition & 1 deletion vanderbot/count_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def load_json_into_data_struct(path):
endpoint = 'https://query.wikidata.org/sparql'
accept_media_type = 'application/json'
# Replace this value with your own user agent header string
user_agent_header = 'VanderBot/1.6.1 (https://github.com/HeardLibrary/linked-data/tree/master/vanderbot; mailto:[email protected])'
user_agent_header = 'VanderBot/1.7.1 (https://github.com/HeardLibrary/linked-data/tree/master/vanderbot; mailto:[email protected])'

# The following code generates a request header dictionary suitable for sending to a SPARQL endpoint.
# If the query is SELECT, use the JSON media type above. For CONSTRUCT queryies use text/turtle to get RDF/Turtle
Expand Down
4 changes: 2 additions & 2 deletions vanderbot/vanderbot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VanderBot, a script for writing CSV data to a Wikibase API. vanderbot.py
version = '1.7.1'
created = '2021-04-xx'
created = '2021-04-06'

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

Expand Down

0 comments on commit 7ce6fe8

Please sign in to comment.