jsonunwrap 0.2.2__tar.gz → 0.2.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.
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/PKG-INFO +11 -4
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/README.md +10 -3
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/jsonunwrap.egg-info/PKG-INFO +11 -4
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/pyproject.toml +1 -1
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/jsonunwrap/__init__.py +0 -0
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/jsonunwrap/core.py +0 -0
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/jsonunwrap.egg-info/SOURCES.txt +0 -0
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/jsonunwrap.egg-info/dependency_links.txt +0 -0
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/jsonunwrap.egg-info/requires.txt +0 -0
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/jsonunwrap.egg-info/top_level.txt +0 -0
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/setup.cfg +0 -0
- {jsonunwrap-0.2.2 → jsonunwrap-0.2.3}/tests/test_core.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jsonunwrap
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: A small python package that unpacks data from a JSON url and converts it into a csv file.
|
|
5
5
|
Author-email: njuedominic <njuemugodominic@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/njuedominic/json-unwrap
|
|
@@ -19,13 +19,20 @@ Requires-Dist: pandas>=2.0.0
|
|
|
19
19
|
|
|
20
20
|
```python
|
|
21
21
|
>>> import jsonunwrap as ju
|
|
22
|
-
>>> url = "https://dummyjson.com/
|
|
22
|
+
>>> url = "https://dummyjson.com/products"
|
|
23
23
|
>>> fetchdata = ju.fetch_json(url)
|
|
24
24
|
>>> df = ju.unwrap_data(fetchdata)
|
|
25
25
|
>>> df.columns
|
|
26
|
-
Index(['id', '
|
|
26
|
+
Index(['id', 'title', 'description', 'category', 'price', 'discountPercentage',
|
|
27
|
+
'rating', 'stock', 'tags', 'brand', 'sku', 'weight',
|
|
28
|
+
'warrantyInformation', 'shippingInformation', 'availabilityStatus',
|
|
29
|
+
'returnPolicy', 'minimumOrderQuantity', 'images', 'thumbnail',
|
|
30
|
+
'dimensions.width', 'dimensions.height', 'dimensions.depth',
|
|
31
|
+
'meta.createdAt', 'meta.updatedAt', 'meta.barcode', 'meta.qrCode',
|
|
32
|
+
'rating_reviews', 'comment', 'date', 'reviewerName', 'reviewerEmail'],
|
|
33
|
+
dtype='object')
|
|
27
34
|
>>> len(df)
|
|
28
|
-
|
|
35
|
+
3771
|
|
29
36
|
```
|
|
30
37
|
|
|
31
38
|
jsonunwrap allows you to deeply normalize complex, semi-structured nested JSON data into clean pandas DataFrames extremely easily.
|
|
@@ -4,13 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
```python
|
|
6
6
|
>>> import jsonunwrap as ju
|
|
7
|
-
>>> url = "https://dummyjson.com/
|
|
7
|
+
>>> url = "https://dummyjson.com/products"
|
|
8
8
|
>>> fetchdata = ju.fetch_json(url)
|
|
9
9
|
>>> df = ju.unwrap_data(fetchdata)
|
|
10
10
|
>>> df.columns
|
|
11
|
-
Index(['id', '
|
|
11
|
+
Index(['id', 'title', 'description', 'category', 'price', 'discountPercentage',
|
|
12
|
+
'rating', 'stock', 'tags', 'brand', 'sku', 'weight',
|
|
13
|
+
'warrantyInformation', 'shippingInformation', 'availabilityStatus',
|
|
14
|
+
'returnPolicy', 'minimumOrderQuantity', 'images', 'thumbnail',
|
|
15
|
+
'dimensions.width', 'dimensions.height', 'dimensions.depth',
|
|
16
|
+
'meta.createdAt', 'meta.updatedAt', 'meta.barcode', 'meta.qrCode',
|
|
17
|
+
'rating_reviews', 'comment', 'date', 'reviewerName', 'reviewerEmail'],
|
|
18
|
+
dtype='object')
|
|
12
19
|
>>> len(df)
|
|
13
|
-
|
|
20
|
+
3771
|
|
14
21
|
```
|
|
15
22
|
|
|
16
23
|
jsonunwrap allows you to deeply normalize complex, semi-structured nested JSON data into clean pandas DataFrames extremely easily.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jsonunwrap
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: A small python package that unpacks data from a JSON url and converts it into a csv file.
|
|
5
5
|
Author-email: njuedominic <njuemugodominic@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/njuedominic/json-unwrap
|
|
@@ -19,13 +19,20 @@ Requires-Dist: pandas>=2.0.0
|
|
|
19
19
|
|
|
20
20
|
```python
|
|
21
21
|
>>> import jsonunwrap as ju
|
|
22
|
-
>>> url = "https://dummyjson.com/
|
|
22
|
+
>>> url = "https://dummyjson.com/products"
|
|
23
23
|
>>> fetchdata = ju.fetch_json(url)
|
|
24
24
|
>>> df = ju.unwrap_data(fetchdata)
|
|
25
25
|
>>> df.columns
|
|
26
|
-
Index(['id', '
|
|
26
|
+
Index(['id', 'title', 'description', 'category', 'price', 'discountPercentage',
|
|
27
|
+
'rating', 'stock', 'tags', 'brand', 'sku', 'weight',
|
|
28
|
+
'warrantyInformation', 'shippingInformation', 'availabilityStatus',
|
|
29
|
+
'returnPolicy', 'minimumOrderQuantity', 'images', 'thumbnail',
|
|
30
|
+
'dimensions.width', 'dimensions.height', 'dimensions.depth',
|
|
31
|
+
'meta.createdAt', 'meta.updatedAt', 'meta.barcode', 'meta.qrCode',
|
|
32
|
+
'rating_reviews', 'comment', 'date', 'reviewerName', 'reviewerEmail'],
|
|
33
|
+
dtype='object')
|
|
27
34
|
>>> len(df)
|
|
28
|
-
|
|
35
|
+
3771
|
|
29
36
|
```
|
|
30
37
|
|
|
31
38
|
jsonunwrap allows you to deeply normalize complex, semi-structured nested JSON data into clean pandas DataFrames extremely easily.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|