Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTIN extraction, Python 3.12 support #11

Merged
merged 7 commits into from
Dec 26, 2023
Merged

GTIN extraction, Python 3.12 support #11

merged 7 commits into from
Dec 26, 2023

Conversation

wRAR
Copy link
Member

@wRAR wRAR commented Dec 25, 2023

No description provided.

@wRAR wRAR requested review from kmike and Gallaecio December 25, 2023 12:59
@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (54592c5) 95.45% compared to head (b27f18e) 96.69%.

❗ Current head b27f18e differs from pull request most recent head 3a0dba5. Consider uploading reports for the commit 3a0dba5 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
+ Coverage   95.45%   96.69%   +1.24%     
==========================================
  Files           6        7       +1     
  Lines         220      303      +83     
==========================================
+ Hits          210      293      +83     
  Misses         10       10              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

zyte_parsers/gtin.py Outdated Show resolved Hide resolved
zyte_parsers/gtin.py Outdated Show resolved Hide resolved
docs/intro.rst Outdated
@@ -4,7 +4,8 @@ Intro

``zyte-parsers`` provides functions that extract specific data from HTML
elements. The input element can be an instance of either
:class:`parsel.selector.Selector` or :class:`lxml.html.HtmlElement`.
:class:`parsel.selector.Selector` or :class:`lxml.html.HtmlElement`. Some
functions also support passing a string as input.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should clarify what thi string is: should it be a string with HTML to extractd data from, or should it be text extracted from a HTML element?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extracted from a HTML element

Or elsewhere (e.g. JSON, regexp).

@wRAR wRAR merged commit 367e75d into main Dec 26, 2023
9 checks passed
@wRAR wRAR deleted the gtin branch December 26, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants