./textproc/py-referencing, JSON Referencing in Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.35.1, Package name: py311-referencing-0.35.1, Maintainer: pkgsrc-users

An implementation-agnostic implementation of JSON reference
resolution.

In other words, a way for e.g. JSON Schema tooling to resolve the
$ref keyword across all drafts without needing to implement
support themselves.


Master sites:

Filesize: 61.515 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-05 15:52:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-referencing: updated to 0.35.1

v0.35.1

* Make ``Resource.pointer`` also properly handle empty pointers (which refer to \ 
the root document).
  This fix likely only affects you if you were using that function directly, as \ 
``Resource.lookup`` already handles empty fragments.
   2024-04-27 07:03:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-referencing: updated to 0.35.0

v0.35.0

* Ensure that ``Registry.contents()`` also raises ``NoSuchResource`` exceptions \ 
for nonexistent resources, not ``KeyError`` (which is an implementation detail).
   2024-03-17 13:52:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-referencing: updated to 0.34.0

v0.34.0

* Also look inside ``definitions`` keywords even on newer dialects.
  The specification recommends doing so regardless of the rename to ``$defs``.
   2024-01-28 21:24:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-referencing: updated to 0.33.0

v0.33.0
* Add a ``referencing.jsonschema.SchemaResource`` type alias to go along with \ 
the other JSON Schema specialized types.
   2024-01-11 11:17:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-referencing: updated to 0.32.1

v0.32.1

* Make ``Specification.detect`` raise a ``CannotDetermineSpecification`` error \ 
even if passed a mapping with a ``$schema`` key that doesn't match JSON Schema \ 
dialect semantics (e.g. a non-string).
   2023-12-17 21:31:36 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-referencing: updated to 0.32.0

v0.32.0

* Add ``Specification.detect``, which essentially operates like \ 
``Resource.from_contents`` without constructing a resource (i.e. it simply \ 
returns the detected specification).
   2023-11-30 10:24:06 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-referencing: updated to 0.31.1

v0.31.1
* No user facing changes.
   2023-11-17 22:00:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-referencing: updated to 0.31.0

v0.31.0

* Add ``referencing.jsonschema.EMPTY_REGISTRY`` (which simply has a convenient \ 
type annotation, but otherwise is just ``Registry()``).