mail-parser 4.1.2__tar.gz → 4.1.3__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 (22) hide show
  1. {mail_parser-4.1.2/src/mail_parser.egg-info → mail_parser-4.1.3}/PKG-INFO +4 -5
  2. {mail_parser-4.1.2 → mail_parser-4.1.3}/setup.cfg +1 -3
  3. {mail_parser-4.1.2 → mail_parser-4.1.3/src/mail_parser.egg-info}/PKG-INFO +4 -5
  4. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mail_parser.egg-info/requires.txt +0 -1
  5. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mailparser/core.py +1 -1
  6. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mailparser/version.py +1 -1
  7. {mail_parser-4.1.2 → mail_parser-4.1.3}/LICENSE.txt +0 -0
  8. {mail_parser-4.1.2 → mail_parser-4.1.3}/NOTICE.txt +0 -0
  9. {mail_parser-4.1.2 → mail_parser-4.1.3}/README.md +0 -0
  10. {mail_parser-4.1.2 → mail_parser-4.1.3}/pyproject.toml +0 -0
  11. {mail_parser-4.1.2 → mail_parser-4.1.3}/setup.py +0 -0
  12. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mail_parser.egg-info/SOURCES.txt +0 -0
  13. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mail_parser.egg-info/dependency_links.txt +0 -0
  14. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mail_parser.egg-info/entry_points.txt +0 -0
  15. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mail_parser.egg-info/top_level.txt +0 -0
  16. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mailparser/__init__.py +0 -0
  17. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mailparser/__main__.py +0 -0
  18. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mailparser/const.py +0 -0
  19. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mailparser/exceptions.py +0 -0
  20. {mail_parser-4.1.2 → mail_parser-4.1.3}/src/mailparser/utils.py +0 -0
  21. {mail_parser-4.1.2 → mail_parser-4.1.3}/tests/test_mail_parser.py +0 -0
  22. {mail_parser-4.1.2 → mail_parser-4.1.3}/tests/test_main.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: mail-parser
3
- Version: 4.1.2
3
+ Version: 4.1.3
4
4
  Summary: Improved wrapper for email standard library
5
5
  Home-page: https://github.com/SpamScope/mail-parser
6
6
  Author: Fedele Mantuano
@@ -15,15 +15,13 @@ Classifier: Operating System :: OS Independent
15
15
  Classifier: Natural Language :: English
16
16
  Classifier: Programming Language :: Python
17
17
  Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.7
19
18
  Classifier: Programming Language :: Python :: 3.8
20
19
  Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
- Requires-Python: >=3.7
21
+ Requires-Python: >=3.8
23
22
  Description-Content-Type: text/markdown
24
23
  License-File: LICENSE.txt
25
24
  License-File: NOTICE.txt
26
- Requires-Dist: ipaddress
27
25
  Requires-Dist: six
28
26
  Provides-Extra: dev
29
27
  Requires-Dist: build; extra == "dev"
@@ -36,6 +34,7 @@ Requires-Dist: pytest; extra == "test"
36
34
  Requires-Dist: pytest-cov; extra == "test"
37
35
  Requires-Dist: pytest-mock; extra == "test"
38
36
  Requires-Dist: pytest-ordering; extra == "test"
37
+ Dynamic: license-file
39
38
 
40
39
  [![PyPI - Version](https://img.shields.io/pypi/v/mail-parser)](https://pypi.org/project/mail-parser/)
41
40
  [![Coverage Status](https://coveralls.io/repos/github/SpamScope/mail-parser/badge.svg?branch=develop)](https://coveralls.io/github/SpamScope/mail-parser?branch=develop)
@@ -18,7 +18,6 @@ classifiers =
18
18
  Natural Language :: English
19
19
  Programming Language :: Python
20
20
  Programming Language :: Python :: 3
21
- Programming Language :: Python :: 3.7
22
21
  Programming Language :: Python :: 3.8
23
22
  Programming Language :: Python :: 3.9
24
23
  Programming Language :: Python :: 3.10
@@ -28,9 +27,8 @@ package_dir =
28
27
  =src
29
28
  packages = find:
30
29
  install_requires =
31
- ipaddress
32
30
  six
33
- python_requires = >=3.7
31
+ python_requires = >=3.8
34
32
 
35
33
  [options.packages.find]
36
34
  where = src
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: mail-parser
3
- Version: 4.1.2
3
+ Version: 4.1.3
4
4
  Summary: Improved wrapper for email standard library
5
5
  Home-page: https://github.com/SpamScope/mail-parser
6
6
  Author: Fedele Mantuano
@@ -15,15 +15,13 @@ Classifier: Operating System :: OS Independent
15
15
  Classifier: Natural Language :: English
16
16
  Classifier: Programming Language :: Python
17
17
  Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.7
19
18
  Classifier: Programming Language :: Python :: 3.8
20
19
  Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
- Requires-Python: >=3.7
21
+ Requires-Python: >=3.8
23
22
  Description-Content-Type: text/markdown
24
23
  License-File: LICENSE.txt
25
24
  License-File: NOTICE.txt
26
- Requires-Dist: ipaddress
27
25
  Requires-Dist: six
28
26
  Provides-Extra: dev
29
27
  Requires-Dist: build; extra == "dev"
@@ -36,6 +34,7 @@ Requires-Dist: pytest; extra == "test"
36
34
  Requires-Dist: pytest-cov; extra == "test"
37
35
  Requires-Dist: pytest-mock; extra == "test"
38
36
  Requires-Dist: pytest-ordering; extra == "test"
37
+ Dynamic: license-file
39
38
 
40
39
  [![PyPI - Version](https://img.shields.io/pypi/v/mail-parser)](https://pypi.org/project/mail-parser/)
41
40
  [![Coverage Status](https://coveralls.io/repos/github/SpamScope/mail-parser/badge.svg?branch=develop)](https://coveralls.io/github/SpamScope/mail-parser?branch=develop)
@@ -355,7 +355,7 @@ class MailParser(object):
355
355
  charset = p.get_content_charset("utf-8")
356
356
  charset_raw = p.get_content_charset()
357
357
  log.debug("Charset {!r} part {!r}".format(charset, i))
358
- content_disposition = ported_string(p.get("content-disposition"))
358
+ content_disposition = ported_string(p.get_content_disposition()).lower()
359
359
  log.debug(
360
360
  "content-disposition {!r} part {!r}".format(content_disposition, i)
361
361
  )
@@ -17,4 +17,4 @@ See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  """
19
19
 
20
- __version__ = "4.1.2"
20
+ __version__ = "4.1.3"
File without changes
File without changes
File without changes
File without changes
File without changes