Openfoodfacts Python Versions Save

Python package for Open Food Facts

v0.3.0

1 month ago

0.3.0 (2024-04-18)

Features

  • add get_image_from_url function in utils.py (db35751)
  • add Robotoff resource (953ae41)
  • add run_ocr_on_image_batch function (decd94d)

Bug Fixes

  • fix ProductResource.update method (29c40ad)
  • fix typing error (dd51e71)
  • make predict_lang compatible with signature (757cab9)

v0.2.1

1 month ago

0.2.1 (2024-04-02)

Features

Bug Fixes

v0.2.0

2 months ago

0.2.0 (2024-03-01)

Features

  • add PEP 561 compliance (typing in installed package) (#215) (ca7fc41)
  • Force user agent in API (#184) (34024be)

Bug Fixes

  • add a function to parse ingredients (d0aa579)
  • add add_ingredient_in_taxonomy_field function from Robotoff (64ee295)
  • add custom headers when performing requests with the API (163b33b)
  • add FacetResource.get_products method (d790389)
  • add timeout parameter to API (b08b9d0)
  • fix Facet class (82ab808)
  • fix FacetResource.get method (d562063)
  • fix page_size parameter in facet.get_products (9d99e6c)
  • fixed search products by text (#191) (94c5600)
  • improve sdk (#193) (07f224c)
  • minor fix in ProductResource.get (54a8809)

Documentation

v0.1.12

6 months ago

0.1.12 (2023-11-10)

Bug Fixes

  • add select_image function to API.product (d2d0805)
  • add session cookies to all update queries (if needed) (e3b0de0)
  • provide authentification in POST requests (545bbe9)

v0.1.11

6 months ago

0.1.11 (2023-10-31)

Bug Fixes

  • add get_words_in_area function for OCR (2ea5e27)
  • fix mypy issues (7bf9f67)

v0.1.10

7 months ago

0.1.10 (2023-10-03)

Bug Fixes

  • fix undefined func in ocr.py (ff5eaa2)

v0.1.9

9 months ago

0.1.9 (2023-08-17)

Bug Fixes

  • add get_country_name function (d59e546)
  • add more imports in init.py (92937d0)

v0.1.8

9 months ago

0.1.8 (2023-08-09)

Bug Fixes

v0.1.7

9 months ago

0.1.7 (2023-08-09)

Bug Fixes

v0.1.6

9 months ago

0.1.6 (2023-08-09)

Bug Fixes

  • add country taxonomy (06f0c16)
  • add more taxonomies (d6da4e1)
  • fix api.py code (27a9140)
  • update Country enum to use functional syntax instead (633add8)