fastfeedparser 0.6.0__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.
Files changed (20) hide show
  1. {fastfeedparser-0.6.0/src/fastfeedparser.egg-info → fastfeedparser-0.6.2}/PKG-INFO +34 -2
  2. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/README.md +33 -1
  3. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/setup.cfg +1 -1
  4. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/src/fastfeedparser/__init__.py +1 -1
  5. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/src/fastfeedparser/main.py +646 -217
  6. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2/src/fastfeedparser.egg-info}/PKG-INFO +34 -2
  7. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/SOURCES.txt +6 -1
  8. fastfeedparser-0.6.2/tests/test_date_limits.py +42 -0
  9. fastfeedparser-0.6.2/tests/test_decompression_limits.py +172 -0
  10. fastfeedparser-0.6.2/tests/test_regex_complexity.py +148 -0
  11. fastfeedparser-0.6.2/tests/test_tag_cache_limits.py +52 -0
  12. fastfeedparser-0.6.2/tests/test_url_scheme.py +108 -0
  13. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/LICENSE +0 -0
  14. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/pyproject.toml +0 -0
  15. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/dependency_links.txt +0 -0
  16. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/requires.txt +0 -0
  17. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/top_level.txt +0 -0
  18. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/tests/test_encoding.py +0 -0
  19. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/tests/test_feed_image.py +0 -0
  20. {fastfeedparser-0.6.0 → fastfeedparser-0.6.2}/tests/test_integration.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastfeedparser
3
- Version: 0.6.0
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 25x faster (check included `benchmark.py`) than popular feedparser
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
@@ -122,6 +122,38 @@ Feedparser: 11 entries in 0.339s
122
122
  Speedup: 50.1x
123
123
  ```
124
124
 
125
+ And publish a full report looking like this
126
+ ```
127
+ Summary:
128
+ --------------------------------------------------
129
+ Total wall-clock time: 40.90s
130
+ Successfully tested 200/200 feeds
131
+
132
+ FastFeedParser:
133
+ Total entries: 6600
134
+ Total parsing time: 0.35s
135
+ Average per feed: 0.002s
136
+ Feeds/sec: 571.3
137
+
138
+ Feedparser:
139
+ Total entries: 6555
140
+ Total parsing time: 13.19s
141
+ Average per feed: 0.066s
142
+ Feeds/sec: 15.2
143
+
144
+ Speedup: FastFeedParser is 37.7x faster
145
+
146
+ OUTLIERS: Entry Count Mismatches (2 feeds)
147
+ --------------------------------------------------
148
+ https://dylanharris.org/feed-me.rss
149
+ FastFeedParser: 35 entries
150
+ Feedparser: 0 entries
151
+ Difference: +35
152
+ https://humanwhocodes.com/feeds/all.json
153
+ FastFeedParser: 10 entries
154
+ Feedparser: 0 entries
155
+ Difference: +10
156
+ ```
125
157
 
126
158
  ## Key Features
127
159
 
@@ -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 25x faster (check included `benchmark.py`) than popular feedparser
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
@@ -91,6 +91,38 @@ Feedparser: 11 entries in 0.339s
91
91
  Speedup: 50.1x
92
92
  ```
93
93
 
94
+ And publish a full report looking like this
95
+ ```
96
+ Summary:
97
+ --------------------------------------------------
98
+ Total wall-clock time: 40.90s
99
+ Successfully tested 200/200 feeds
100
+
101
+ FastFeedParser:
102
+ Total entries: 6600
103
+ Total parsing time: 0.35s
104
+ Average per feed: 0.002s
105
+ Feeds/sec: 571.3
106
+
107
+ Feedparser:
108
+ Total entries: 6555
109
+ Total parsing time: 13.19s
110
+ Average per feed: 0.066s
111
+ Feeds/sec: 15.2
112
+
113
+ Speedup: FastFeedParser is 37.7x faster
114
+
115
+ OUTLIERS: Entry Count Mismatches (2 feeds)
116
+ --------------------------------------------------
117
+ https://dylanharris.org/feed-me.rss
118
+ FastFeedParser: 35 entries
119
+ Feedparser: 0 entries
120
+ Difference: +35
121
+ https://humanwhocodes.com/feeds/all.json
122
+ FastFeedParser: 10 entries
123
+ Feedparser: 0 entries
124
+ Difference: +10
125
+ ```
94
126
 
95
127
  ## Key Features
96
128
 
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = fastfeedparser
3
- version = 0.6.0
3
+ version = 0.6.2
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
@@ -1,4 +1,4 @@
1
1
  from .main import parse, FastFeedParserDict
2
2
 
3
- __version__ = "0.6.0"
3
+ __version__ = "0.6.2"
4
4
  __all__ = ["parse", "FastFeedParserDict"]