fastfeedparser 0.5.4__tar.gz → 0.5.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fastfeedparser-0.5.4/src/fastfeedparser.egg-info → fastfeedparser-0.5.6}/PKG-INFO +4 -3
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/README.md +2 -2
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/setup.cfg +4 -1
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/src/fastfeedparser/main.py +523 -242
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6/src/fastfeedparser.egg-info}/PKG-INFO +4 -3
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/src/fastfeedparser.egg-info/requires.txt +4 -0
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/tests/test_encoding.py +46 -0
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/LICENSE +0 -0
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/pyproject.toml +0 -0
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/src/fastfeedparser/__init__.py +0 -0
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/src/fastfeedparser.egg-info/SOURCES.txt +0 -0
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/src/fastfeedparser.egg-info/dependency_links.txt +0 -0
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/src/fastfeedparser.egg-info/top_level.txt +0 -0
- {fastfeedparser-0.5.4 → fastfeedparser-0.5.6}/tests/test_integration.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fastfeedparser
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.6
|
|
4
4
|
Summary: High performance RSS, Atom, JSON and RDF feed parser in Python
|
|
5
5
|
Home-page: https://github.com/kagisearch/fastfeedparser
|
|
6
6
|
Author: Vladimir Prelovac
|
|
@@ -25,6 +25,7 @@ Requires-Python: >=3.7
|
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
Provides-Extra: dateparser
|
|
27
27
|
Provides-Extra: brotli
|
|
28
|
+
Provides-Extra: orjson
|
|
28
29
|
Provides-Extra: full
|
|
29
30
|
License-File: LICENSE
|
|
30
31
|
|
|
@@ -34,7 +35,7 @@ A high-performance feed parser for Python that handles RSS, Atom, and RDF. Built
|
|
|
34
35
|
|
|
35
36
|
### Why FastFeedParser?
|
|
36
37
|
|
|
37
|
-
It's about
|
|
38
|
+
It's about 25x faster (check included `benchmark.py`) than popular feedparser
|
|
38
39
|
library while keeping a familiar API. This speed comes from:
|
|
39
40
|
|
|
40
41
|
- lxml for efficient XML parsing
|
|
@@ -146,7 +147,7 @@ Speedup: 50.1x
|
|
|
146
147
|
|
|
147
148
|
### Main Functions
|
|
148
149
|
|
|
149
|
-
- `parse(source)`: Parse feed from a source
|
|
150
|
+
- `parse(source, *, include_content=True, include_tags=True, include_media=True, include_enclosures=True)`: Parse feed from a URL/XML/JSON source, with optional field extraction toggles for faster parsing.
|
|
150
151
|
|
|
151
152
|
|
|
152
153
|
### Feed Object Structure
|
|
@@ -4,7 +4,7 @@ A high-performance feed parser for Python that handles RSS, Atom, and RDF. Built
|
|
|
4
4
|
|
|
5
5
|
### Why FastFeedParser?
|
|
6
6
|
|
|
7
|
-
It's about
|
|
7
|
+
It's about 25x faster (check included `benchmark.py`) than popular feedparser
|
|
8
8
|
library while keeping a familiar API. This speed comes from:
|
|
9
9
|
|
|
10
10
|
- lxml for efficient XML parsing
|
|
@@ -116,7 +116,7 @@ Speedup: 50.1x
|
|
|
116
116
|
|
|
117
117
|
### Main Functions
|
|
118
118
|
|
|
119
|
-
- `parse(source)`: Parse feed from a source
|
|
119
|
+
- `parse(source, *, include_content=True, include_tags=True, include_media=True, include_enclosures=True)`: Parse feed from a URL/XML/JSON source, with optional field extraction toggles for faster parsing.
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
### Feed Object Structure
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = fastfeedparser
|
|
3
|
-
version = 0.5.
|
|
3
|
+
version = 0.5.6
|
|
4
4
|
author = Vladimir Prelovac
|
|
5
5
|
author_email = vlad@kagi.com
|
|
6
6
|
description = High performance RSS, Atom, JSON and RDF feed parser in Python
|
|
@@ -40,9 +40,12 @@ dateparser =
|
|
|
40
40
|
dateparser
|
|
41
41
|
brotli =
|
|
42
42
|
brotli
|
|
43
|
+
orjson =
|
|
44
|
+
orjson
|
|
43
45
|
full =
|
|
44
46
|
dateparser
|
|
45
47
|
brotli
|
|
48
|
+
orjson
|
|
46
49
|
|
|
47
50
|
[options.packages.find]
|
|
48
51
|
where = src
|