fastfeedparser 0.6.1__tar.gz → 0.6.2__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.6.1/src/fastfeedparser.egg-info → fastfeedparser-0.6.2}/PKG-INFO +9 -9
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/README.md +8 -8
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/setup.cfg +1 -1
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser/__init__.py +1 -1
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser/main.py +538 -209
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2/src/fastfeedparser.egg-info}/PKG-INFO +9 -9
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/SOURCES.txt +3 -0
- fastfeedparser-0.6.2/tests/test_date_limits.py +42 -0
- fastfeedparser-0.6.2/tests/test_regex_complexity.py +148 -0
- fastfeedparser-0.6.2/tests/test_tag_cache_limits.py +52 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/LICENSE +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/pyproject.toml +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/dependency_links.txt +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/requires.txt +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/top_level.txt +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_decompression_limits.py +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_encoding.py +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_feed_image.py +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_integration.py +0 -0
- {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_url_scheme.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fastfeedparser
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
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
|
|
@@ -35,7 +35,7 @@ A high-performance feed parser for Python that handles RSS, Atom, and RDF. Built
|
|
|
35
35
|
|
|
36
36
|
### Why FastFeedParser?
|
|
37
37
|
|
|
38
|
-
It's about
|
|
38
|
+
It's about 35x faster (check included `benchmark.py`) than popular feedparser
|
|
39
39
|
library while keeping a familiar API. This speed comes from:
|
|
40
40
|
|
|
41
41
|
- lxml for efficient XML parsing
|
|
@@ -126,22 +126,22 @@ And publish a full report looking like this
|
|
|
126
126
|
```
|
|
127
127
|
Summary:
|
|
128
128
|
--------------------------------------------------
|
|
129
|
-
Total wall-clock time:
|
|
129
|
+
Total wall-clock time: 40.90s
|
|
130
130
|
Successfully tested 200/200 feeds
|
|
131
131
|
|
|
132
132
|
FastFeedParser:
|
|
133
133
|
Total entries: 6600
|
|
134
|
-
Total parsing time: 0.
|
|
134
|
+
Total parsing time: 0.35s
|
|
135
135
|
Average per feed: 0.002s
|
|
136
|
-
Feeds/sec:
|
|
136
|
+
Feeds/sec: 571.3
|
|
137
137
|
|
|
138
138
|
Feedparser:
|
|
139
139
|
Total entries: 6555
|
|
140
|
-
Total parsing time:
|
|
141
|
-
Average per feed: 0.
|
|
142
|
-
Feeds/sec:
|
|
140
|
+
Total parsing time: 13.19s
|
|
141
|
+
Average per feed: 0.066s
|
|
142
|
+
Feeds/sec: 15.2
|
|
143
143
|
|
|
144
|
-
Speedup: FastFeedParser is
|
|
144
|
+
Speedup: FastFeedParser is 37.7x faster
|
|
145
145
|
|
|
146
146
|
OUTLIERS: Entry Count Mismatches (2 feeds)
|
|
147
147
|
--------------------------------------------------
|
|
@@ -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 35x 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
|
|
@@ -95,22 +95,22 @@ And publish a full report looking like this
|
|
|
95
95
|
```
|
|
96
96
|
Summary:
|
|
97
97
|
--------------------------------------------------
|
|
98
|
-
Total wall-clock time:
|
|
98
|
+
Total wall-clock time: 40.90s
|
|
99
99
|
Successfully tested 200/200 feeds
|
|
100
100
|
|
|
101
101
|
FastFeedParser:
|
|
102
102
|
Total entries: 6600
|
|
103
|
-
Total parsing time: 0.
|
|
103
|
+
Total parsing time: 0.35s
|
|
104
104
|
Average per feed: 0.002s
|
|
105
|
-
Feeds/sec:
|
|
105
|
+
Feeds/sec: 571.3
|
|
106
106
|
|
|
107
107
|
Feedparser:
|
|
108
108
|
Total entries: 6555
|
|
109
|
-
Total parsing time:
|
|
110
|
-
Average per feed: 0.
|
|
111
|
-
Feeds/sec:
|
|
109
|
+
Total parsing time: 13.19s
|
|
110
|
+
Average per feed: 0.066s
|
|
111
|
+
Feeds/sec: 15.2
|
|
112
112
|
|
|
113
|
-
Speedup: FastFeedParser is
|
|
113
|
+
Speedup: FastFeedParser is 37.7x faster
|
|
114
114
|
|
|
115
115
|
OUTLIERS: Entry Count Mismatches (2 feeds)
|
|
116
116
|
--------------------------------------------------
|