Skip to content

Releases: micahcochran/scrape-schema-recipe

v0.2.2 - Allow @type to be a list

26 Sep 19:08
5bf46b4
Compare
Choose a tag to compare
  • fix to allow @type to be a List.
  • add py.typed file
  • minor fixes

all from PR #32

0.2.1 Fixed HTML Character References

11 Sep 13:42
2cf00ad
Compare
Choose a tag to compare
  • Fix output to remove HTML character references such as & and replace with the proper Unicode symbol (so &)
  • Improve typing.
  • remove keys with empty values (None, [], or "") from the outputted recipe.

Changes made in PR #30

v0.2.0 - Custom TypeError

05 Aug 10:25
df456e9
Compare
Choose a tag to compare

This is from PR #27.

Created custom SSRTypeError (one item of Issue #26), this is technically an API change. For most it won't matter too much. If you were catching a TypeError, now catch the custom SSRTypeError.

For Python 3.6 dataclasses backport is required for the SSRTypeError and future changes.

For the file test_scraper.py:

  • corrected a few typos
  • converted from CRLF (Windows/DOS) to LF (Linux)
  • because of those extensive I just went ahead and converted the code using black code formatter.

This is a small step on the road of 1.0.0.

v0.1.5 - fix unset date value bug

30 Jun 18:45
Compare
Choose a tag to compare
  • Unset values for date values are removed from the resulting recipe when using python_using is set to True. bugfix (PR #24)
  • Add an example from MedlinePlus

v0.1.4 - Remove validators library

13 Jun 02:47
Compare
Choose a tag to compare

PR #20 -

  • Remove validators library (fixing Issue #18)
  • Add another example.

v0.1.3

10 Oct 12:53
Compare
Choose a tag to compare

fixes example_output() so that it works (Closing Issue #15)

v0.1.2

04 Oct 21:03
Compare
Choose a tag to compare
  • Replaced format() with f-string
  • removed support for Python 3.5

v0.1.1

08 Jul 01:16
22de24b
Compare
Choose a tag to compare

add @graph support
update examples in test-data
update tests

v0.1.0

29 Jun 00:54
cf74598
Compare
Choose a tag to compare
  • Expand python_objects to take a list or tuple to selectively convert some attribute types (PR #10)
  • Drop support for Python 3.4

v0.0.4

10 Mar 03:45
Compare
Choose a tag to compare

Bug Fixes:

  • Fix User-Agent for requests (#5)

New Features:

  • Add pathlib support for load()
  • Add example_output() for prototyping/debugging

other general code fixes that don't really impact the API ;-)