DMARCReporting 0.3.0__tar.gz → 0.3.1__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 (29) hide show
  1. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/__init__.py +1 -1
  2. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/cli.py +6 -3
  3. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting.egg-info/PKG-INFO +13 -2
  4. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/PKG-INFO +13 -2
  5. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/__main__.py +0 -0
  6. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/constants.py +0 -0
  7. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/decompressor.py +0 -0
  8. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/dns.py +0 -0
  9. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/filelister.py +0 -0
  10. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/parser.py +0 -0
  11. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting/renderer.py +0 -0
  12. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting.egg-info/SOURCES.txt +0 -0
  13. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting.egg-info/dependency_links.txt +0 -0
  14. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting.egg-info/entry_points.txt +0 -0
  15. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting.egg-info/requires.txt +0 -0
  16. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/DMARCReporting.egg-info/top_level.txt +0 -0
  17. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/LICENSE +0 -0
  18. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/README.md +0 -0
  19. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/setup.cfg +0 -0
  20. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/setup.py +0 -0
  21. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_acceptance.py +0 -0
  22. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_console_renderer.py +0 -0
  23. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_csv_renderer.py +0 -0
  24. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_decompressor.py +0 -0
  25. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_dns.py +0 -0
  26. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_filelister.py +0 -0
  27. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_parser_dkim.py +0 -0
  28. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_parser_dmarc.py +0 -0
  29. {DMARCReporting-0.3.0 → dmarcreporting-0.3.1}/tests/test_parser_spf.py +0 -0
@@ -1,4 +1,4 @@
1
- __version__ = "0.3.0"
1
+ __version__ = "0.3.1"
2
2
 
3
3
  import argparse
4
4
  from DMARCReporting.cli import CLI
@@ -15,9 +15,12 @@ class CLI():
15
15
  all_data = []
16
16
 
17
17
  for file in files:
18
- report = DecompressorFactory.create(file).decompress(file)
19
- data = parser.parse(io.BytesIO(report), include_all=show_all)
20
- all_data += [[*row, file] for row in data]
18
+ try:
19
+ report = DecompressorFactory.create(file).decompress(file)
20
+ data = parser.parse(io.BytesIO(report), include_all=show_all)
21
+ all_data += [[*row, file] for row in data]
22
+ except Exception as e:
23
+ print(f"Error processing file {file}: {e}")
21
24
 
22
25
  renderer = ConsoleRenderer()
23
26
  renderer.render("All", all_data)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: DMARCReporting
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Simple tool to extract error reports from DMARC files
5
5
  Home-page: https://github.com/MozaicWorks/DMARCReporting
6
6
  Author: Mozaic Works
@@ -13,6 +13,17 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: lxml
15
15
  Requires-Dist: tabulate
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license
23
+ Dynamic: license-file
24
+ Dynamic: requires-dist
25
+ Dynamic: requires-python
26
+ Dynamic: summary
16
27
 
17
28
  # DMARCReporting ![Build Status](https://github.com/mozaicworks/DMARCReporting/actions/workflows/build.yml/badge.svg?event=push)
18
29
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: DMARCReporting
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Simple tool to extract error reports from DMARC files
5
5
  Home-page: https://github.com/MozaicWorks/DMARCReporting
6
6
  Author: Mozaic Works
@@ -13,6 +13,17 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: lxml
15
15
  Requires-Dist: tabulate
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license
23
+ Dynamic: license-file
24
+ Dynamic: requires-dist
25
+ Dynamic: requires-python
26
+ Dynamic: summary
16
27
 
17
28
  # DMARCReporting ![Build Status](https://github.com/mozaicworks/DMARCReporting/actions/workflows/build.yml/badge.svg?event=push)
18
29
 
File without changes
File without changes
File without changes
File without changes