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.
Files changed (20) hide show
  1. {fastfeedparser-0.6.1/src/fastfeedparser.egg-info → fastfeedparser-0.6.2}/PKG-INFO +9 -9
  2. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/README.md +8 -8
  3. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/setup.cfg +1 -1
  4. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser/__init__.py +1 -1
  5. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser/main.py +538 -209
  6. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2/src/fastfeedparser.egg-info}/PKG-INFO +9 -9
  7. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/SOURCES.txt +3 -0
  8. fastfeedparser-0.6.2/tests/test_date_limits.py +42 -0
  9. fastfeedparser-0.6.2/tests/test_regex_complexity.py +148 -0
  10. fastfeedparser-0.6.2/tests/test_tag_cache_limits.py +52 -0
  11. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/LICENSE +0 -0
  12. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/pyproject.toml +0 -0
  13. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/dependency_links.txt +0 -0
  14. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/requires.txt +0 -0
  15. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/src/fastfeedparser.egg-info/top_level.txt +0 -0
  16. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_decompression_limits.py +0 -0
  17. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_encoding.py +0 -0
  18. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_feed_image.py +0 -0
  19. {fastfeedparser-0.6.1 → fastfeedparser-0.6.2}/tests/test_integration.py +0 -0
  20. {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.1
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
@@ -126,22 +126,22 @@ And publish a full report looking like this
126
126
  ```
127
127
  Summary:
128
128
  --------------------------------------------------
129
- Total wall-clock time: 38.70s
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.46s
134
+ Total parsing time: 0.35s
135
135
  Average per feed: 0.002s
136
- Feeds/sec: 439.0
136
+ Feeds/sec: 571.3
137
137
 
138
138
  Feedparser:
139
139
  Total entries: 6555
140
- Total parsing time: 12.31s
141
- Average per feed: 0.062s
142
- Feeds/sec: 16.2
140
+ Total parsing time: 13.19s
141
+ Average per feed: 0.066s
142
+ Feeds/sec: 15.2
143
143
 
144
- Speedup: FastFeedParser is 27.0x faster
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 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
@@ -95,22 +95,22 @@ And publish a full report looking like this
95
95
  ```
96
96
  Summary:
97
97
  --------------------------------------------------
98
- Total wall-clock time: 38.70s
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.46s
103
+ Total parsing time: 0.35s
104
104
  Average per feed: 0.002s
105
- Feeds/sec: 439.0
105
+ Feeds/sec: 571.3
106
106
 
107
107
  Feedparser:
108
108
  Total entries: 6555
109
- Total parsing time: 12.31s
110
- Average per feed: 0.062s
111
- Feeds/sec: 16.2
109
+ Total parsing time: 13.19s
110
+ Average per feed: 0.066s
111
+ Feeds/sec: 15.2
112
112
 
113
- Speedup: FastFeedParser is 27.0x faster
113
+ Speedup: FastFeedParser is 37.7x faster
114
114
 
115
115
  OUTLIERS: Entry Count Mismatches (2 feeds)
116
116
  --------------------------------------------------
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = fastfeedparser
3
- version = 0.6.1
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.1"
3
+ __version__ = "0.6.2"
4
4
  __all__ = ["parse", "FastFeedParserDict"]