mf2util
Advanced tools
| Metadata-Version: 1.1 | ||
| Name: mf2util | ||
| Version: 0.5.1 | ||
| Version: 0.5.2 | ||
| Summary: Python Microformats2 utilities, a companion to mf2py | ||
| Home-page: http://indiewebcamp.com/mf2util | ||
| Author: Kyle Mahan | ||
| Author-email: kyle@kylewm.com | ||
| Author-email: kyle.mahan@gmail.com | ||
| License: UNKNOWN | ||
@@ -9,0 +9,0 @@ Description: |
+3
-2
@@ -14,2 +14,3 @@ """Utilities for interpreting mf2 data. | ||
| import re | ||
| import string | ||
@@ -421,3 +422,3 @@ import unicodedata | ||
| s = s.lower() | ||
| s = re.sub('[^a-z0-9]', '', s) | ||
| s = re.sub('[' + string.whitespace + string.punctuation + ']', '', s) | ||
| return s | ||
@@ -446,3 +447,3 @@ if not content: | ||
| org = get_plain_text(props.get('org')) | ||
| if name == org: | ||
| if name and org and name == org: | ||
| return 'org' | ||
@@ -449,0 +450,0 @@ return 'person' |
+2
-2
| Metadata-Version: 1.1 | ||
| Name: mf2util | ||
| Version: 0.5.1 | ||
| Version: 0.5.2 | ||
| Summary: Python Microformats2 utilities, a companion to mf2py | ||
| Home-page: http://indiewebcamp.com/mf2util | ||
| Author: Kyle Mahan | ||
| Author-email: kyle@kylewm.com | ||
| Author-email: kyle.mahan@gmail.com | ||
| License: UNKNOWN | ||
@@ -9,0 +9,0 @@ Description: |
+4
-2
@@ -6,4 +6,2 @@ Microformats2 Utilities | ||
| Status](https://travis-ci.org/kylewm/mf2util.svg?branch=master)](https://travis-ci.org/kylewm/mf2util) | ||
| [](https://coveralls.io/r/kylewm/mf2util?branch=master) | ||
| [](https://readthedocs.org/projects/mf2util/?badge=latest) | ||
| ### 0.5.2 - 2023-01-15 | ||
| - Bugfix: post-type-discovery should only return org if name and org properties are present. Thanks @snarfed! | ||
| ### 0.5.1 - 2018-11-04 | ||
@@ -171,0 +173,0 @@ |
+2
-2
@@ -27,3 +27,3 @@ #!/usr/bin/env python | ||
| setup(name='mf2util', | ||
| version='0.5.1', | ||
| version='0.5.2', | ||
| description='Python Microformats2 utilities, a companion to mf2py', | ||
@@ -52,3 +52,3 @@ long_description=""" | ||
| author='Kyle Mahan', | ||
| author_email='kyle@kylewm.com', | ||
| author_email='kyle.mahan@gmail.com', | ||
| url='http://indiewebcamp.com/mf2util', | ||
@@ -55,0 +55,0 @@ py_modules=['mf2util'], |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
47901
0.17%780
0.13%