harparser 0.1__tar.gz → 0.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.
- home/justus/.virtualenvs/harparser/lib/python2.7/site-packages/harparser-0.2-py2.7.egg-info +21 -0
- {harparser-0.1 → home/justus/.virtualenvs/harparser/lib/python2.7/site-packages}/harparser.py +2 -2
- home/justus/.virtualenvs/harparser/lib/python2.7/site-packages/harparser.pyc +0 -0
- harparser-0.1/PKG-INFO +0 -10
- harparser-0.1/setup.py +0 -11
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 1.1
|
|
2
|
+
Name: harparser
|
|
3
|
+
Version: 0.2
|
|
4
|
+
Summary: Python HAR Parser Utility
|
|
5
|
+
Home-page: https://github.com/JustusW/harparser
|
|
6
|
+
Author: Justus Wingert
|
|
7
|
+
Author-email: wingert@kw-it.info
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Description: UNKNOWN
|
|
10
|
+
Platform: UNKNOWN
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Plugins
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: Information Technology
|
|
15
|
+
Classifier: Intended Audience :: System Administrators
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Natural Language :: English
|
|
18
|
+
Classifier: Programming Language :: Python :: 2
|
|
19
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
20
|
+
Classifier: Topic :: Internet :: Log Analysis
|
|
21
|
+
Classifier: Topic :: Utilities
|
{harparser-0.1 → home/justus/.virtualenvs/harparser/lib/python2.7/site-packages}/harparser.py
RENAMED
|
@@ -84,7 +84,7 @@ class HAREncodable(MutableMapping):
|
|
|
84
84
|
if json_string is not None:
|
|
85
85
|
return self.__init__(loads(json_string))
|
|
86
86
|
dump = self
|
|
87
|
-
if self
|
|
87
|
+
if isinstance(self, HAR.log):
|
|
88
88
|
dump = {"log": dump}
|
|
89
89
|
return dumps(dump, default=lambda x: dict(x))
|
|
90
90
|
|
|
@@ -258,4 +258,4 @@ class _HAR(MutableMapping, object):
|
|
|
258
258
|
# Make an instance of _HAR available as HAR. If required one can
|
|
259
259
|
# instantiate another object from _HAR to avoid interference with
|
|
260
260
|
# other peoples code.
|
|
261
|
-
HAR = _HAR()
|
|
261
|
+
HAR = _HAR()
|
harparser-0.1/PKG-INFO
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.0
|
|
2
|
-
Name: harparser
|
|
3
|
-
Version: 0.1
|
|
4
|
-
Summary: Python HAR Parser Utility
|
|
5
|
-
Home-page: https://github.com/JustusW/harparser
|
|
6
|
-
Author: Justus Wingert
|
|
7
|
-
Author-email: wingert@kw-it.info
|
|
8
|
-
License: UNKNOWN
|
|
9
|
-
Description: UNKNOWN
|
|
10
|
-
Platform: UNKNOWN
|
harparser-0.1/setup.py
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
from distutils.core import setup
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
setup(name='harparser',
|
|
5
|
-
version='0.1',
|
|
6
|
-
description='Python HAR Parser Utility',
|
|
7
|
-
author='Justus Wingert',
|
|
8
|
-
author_email='wingert@kw-it.info',
|
|
9
|
-
url='https://github.com/JustusW/harparser',
|
|
10
|
-
py_modules=['harparser'],
|
|
11
|
-
)
|