Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Releases: Abbe98/ksamsok-py

0.8.0

13 Jan 16:20
Compare
Choose a tag to compare

Changelog

  • dropping API keys
  • get relations: add support for the inferSameAs parameter
  • default to https

Installation

PIP

pip install ksamsok

Source at PyPI:
https://pypi.python.org/pypi/ksamsok/0.8.0

0.7.0

03 Aug 09:27
d557bb5
Compare
Choose a tag to compare

Changelog

  • CQL queries now available through a generator
  • removed print statement
  • refactored search methods

Installation

PIP

pip install ksamsok

Source at PyPI:
https://pypi.python.org/pypi/ksamsok/0.7.0

0.6.0

06 Feb 18:03
Compare
Choose a tag to compare

Changelog

  • Added support for CQL queries
  • Fixed index limitation for retrieving search hints
  • Fixed missing error message when search() is called without an API key
  • Improved package metadata

Installation

Pipenv

pipenv install ksamsok

PIP

pip install ksamsok

Source at PyPI:
https://pypi.python.org/pypi/ksamsok/0.6.0

0.5.1

03 Mar 09:37
Compare
Choose a tag to compare

Changelog

Improvements

  • Empty contexts are now excluded from the returned record/records.

Installation

Pipenv

pipenv install ksamsok

PIP

pip install ksamsok

Source at PyPI:
https://pypi.python.org/pypi/ksamsok/0.5.1

0.5.0

18 Feb 19:32
Compare
Choose a tag to compare

Changelog

New features

  • new kringlaToUri() method for converting Kringla.nu URLs to Kulturarvsdata URIs.

Improvements

  • Removed unused import
  • Improved URI validation (avoiding issues caused by SOCH)
  • Minor fixes to documentation

Installation

Pipenv

pipenv install ksamsok

PIP

pip install ksamsok

Source at PyPI:
https://pypi.python.org/pypi/ksamsok/0.5.0

0.4.0

04 Feb 09:30
Compare
Choose a tag to compare

Includes breaking changes

Changelog

New features

  • K-Samsök API keys are now optional
  • formatUri() now accepts custom URIs as input

Improvements

  • Documentation review
  • Returned records now includes organization
  • Improved error handling

Bug fixes

  • Fixed broken representations parsing

Installation

Pipenv

pipenv install ksamsok

PIP

pip install ksamsok

Source at PyPI:
https://pypi.python.org/pypi/ksamsok/0.4.0

0.3.0

23 Sep 12:28
Compare
Choose a tag to compare

Note that this release could be breaking you project.

New features:

  • getObject(), getRelations(), and formatUri() does now return False instead of throwing ValueError when given bad values.
  • When given an invalid endpoint or API key KSamsok-py now throws a ValueError instead of a generic Exception.

Bug fixes:

  • formatUri() now properly supports MuseumDat as input and not only as output.

0.2.1

03 Sep 12:05
Compare
Choose a tag to compare

New in 0.2.1:

  • Support for MuseumDAT URIs/URLs
  • Faster URI/URL validation
  • Faster API key validation

0.1.2

13 Oct 14:13
Compare
Choose a tag to compare
  • fix context tags parsing #1

0.1.1

05 Oct 11:27
Compare
Choose a tag to compare
  • added support for JSONLD resource URIs