addext
Advanced tools
| Metadata-Version: 1.1 | ||
| Name: addext | ||
| Version: 0.3.0 | ||
| Version: 0.3.1 | ||
| Summary: Adds file extensions to files based on their PRONOM identifiers (PUIDs). | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/timothyryanwalsh/addext |
+7
-3
@@ -21,4 +21,8 @@ #!/usr/bin/env python | ||
| import tempfile | ||
| import urllib2 | ||
| from pprint import pprint | ||
| try: | ||
| # python3 | ||
| from urllib.request import urlopen | ||
| except ImportError: | ||
| # fall back to python 2's urllib2 | ||
| from urllib2 import urlopen | ||
@@ -54,3 +58,3 @@ def _make_parser(): | ||
| file_name = "pronom.db" | ||
| u = urllib2.urlopen(url) | ||
| u = urlopen(url) | ||
| f = open(file_name, 'wb') | ||
@@ -57,0 +61,0 @@ block_sz = 8192 |
+1
-1
| Metadata-Version: 1.1 | ||
| Name: addext | ||
| Version: 0.3.0 | ||
| Version: 0.3.1 | ||
| Summary: Adds file extensions to files based on their PRONOM identifiers (PUIDs). | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/timothyryanwalsh/addext |
+1
-1
@@ -5,3 +5,3 @@ from setuptools import setup | ||
| name = 'addext', | ||
| version = '0.3.0', | ||
| version = '0.3.1', | ||
| url = 'https://github.com/timothyryanwalsh/addext', | ||
@@ -8,0 +8,0 @@ author = 'Tim Walsh', |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
145200
0.07%330
1.23%