python-benedict 0.30.0__tar.gz → 0.30.1__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 (75) hide show
  1. {python-benedict-0.30.0/python_benedict.egg-info → python-benedict-0.30.1}/PKG-INFO +97 -78
  2. {python-benedict-0.30.0 → python-benedict-0.30.1}/README.md +69 -69
  3. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/io/io_util.py +1 -1
  4. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/metadata.py +1 -1
  5. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/csv.py +1 -1
  6. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/ini.py +15 -4
  7. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/xls.py +4 -4
  8. python-benedict-0.30.1/pyproject.toml +176 -0
  9. {python-benedict-0.30.0 → python-benedict-0.30.1/python_benedict.egg-info}/PKG-INFO +97 -78
  10. {python-benedict-0.30.0 → python-benedict-0.30.1}/python_benedict.egg-info/SOURCES.txt +0 -1
  11. {python-benedict-0.30.0 → python-benedict-0.30.1}/python_benedict.egg-info/requires.txt +1 -1
  12. python-benedict-0.30.1/setup.cfg +4 -0
  13. python-benedict-0.30.0/pyproject.toml +0 -21
  14. python-benedict-0.30.0/setup.cfg +0 -141
  15. {python-benedict-0.30.0 → python-benedict-0.30.1}/LICENSE.txt +0 -0
  16. {python-benedict-0.30.0 → python-benedict-0.30.1}/MANIFEST.in +0 -0
  17. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/__init__.py +0 -0
  18. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/__init__.py +0 -0
  19. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/clean.py +0 -0
  20. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/clone.py +0 -0
  21. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/dump.py +0 -0
  22. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/filter.py +0 -0
  23. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/find.py +0 -0
  24. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/flatten.py +0 -0
  25. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/groupby.py +0 -0
  26. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/invert.py +0 -0
  27. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/items_sorted.py +0 -0
  28. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/keylists.py +0 -0
  29. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/keypaths.py +0 -0
  30. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/match.py +0 -0
  31. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/merge.py +0 -0
  32. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/move.py +0 -0
  33. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/nest.py +0 -0
  34. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/remove.py +0 -0
  35. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/rename.py +0 -0
  36. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/search.py +0 -0
  37. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/standardize.py +0 -0
  38. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/subset.py +0 -0
  39. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/swap.py +0 -0
  40. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/traverse.py +0 -0
  41. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/unflatten.py +0 -0
  42. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/core/unique.py +0 -0
  43. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/__init__.py +0 -0
  44. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/base/__init__.py +0 -0
  45. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/base/base_dict.py +0 -0
  46. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/io/__init__.py +0 -0
  47. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/io/io_dict.py +0 -0
  48. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/keyattr/__init__.py +0 -0
  49. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/keyattr/keyattr_dict.py +0 -0
  50. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/keylist/__init__.py +0 -0
  51. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/keylist/keylist_dict.py +0 -0
  52. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/keylist/keylist_util.py +0 -0
  53. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/keypath/__init__.py +0 -0
  54. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/keypath/keypath_dict.py +0 -0
  55. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/keypath/keypath_util.py +0 -0
  56. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/parse/__init__.py +0 -0
  57. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/parse/parse_dict.py +0 -0
  58. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/dicts/parse/parse_util.py +0 -0
  59. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/exceptions.py +0 -0
  60. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/extras.py +0 -0
  61. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/__init__.py +0 -0
  62. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/abstract.py +0 -0
  63. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/base64.py +0 -0
  64. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/json.py +0 -0
  65. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/pickle.py +0 -0
  66. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/plist.py +0 -0
  67. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/query_string.py +0 -0
  68. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/toml.py +0 -0
  69. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/xml.py +0 -0
  70. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/serializers/yaml.py +0 -0
  71. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/utils/__init__.py +0 -0
  72. {python-benedict-0.30.0 → python-benedict-0.30.1}/benedict/utils/type_util.py +0 -0
  73. {python-benedict-0.30.0 → python-benedict-0.30.1}/python_benedict.egg-info/dependency_links.txt +0 -0
  74. {python-benedict-0.30.0 → python-benedict-0.30.1}/python_benedict.egg-info/top_level.txt +0 -0
  75. {python-benedict-0.30.0 → python-benedict-0.30.1}/setup.py +0 -0
@@ -1,14 +1,33 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-benedict
3
- Version: 0.30.0
4
- Summary: python-benedict is a dict subclass with keylist/keypath support, normalized I/O operations (base64, csv, ini, json, pickle, plist, query-string, toml, xls, xml, yaml) and many utilities... for humans, obviously.
5
- Home-page: https://github.com/fabiocaccamo/python-benedict
6
- Download-URL: https://github.com/fabiocaccamo/python-benedict/releases
7
- Author: Fabio Caccamo
8
- Author-email: fabio.caccamo@gmail.com
9
- Maintainer: Fabio Caccamo
10
- Maintainer-email: fabio.caccamo@gmail.com
11
- License: MIT
3
+ Version: 0.30.1
4
+ Summary: python-benedict is a dict subclass with keylist/keypath/keyattr support, normalized I/O operations (base64, csv, ini, json, pickle, plist, query-string, toml, xls, xml, yaml) and many utilities... for humans, obviously.
5
+ Author-email: Fabio Caccamo <fabio.caccamo@gmail.com>
6
+ Maintainer-email: Fabio Caccamo <fabio.caccamo@gmail.com>
7
+ License: MIT License
8
+
9
+ Copyright (c) 2019-present Fabio Caccamo
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ Project-URL: Homepage, https://github.com/fabiocaccamo/python-benedict
30
+ Project-URL: Download, https://github.com/fabiocaccamo/python-benedict/releases
12
31
  Project-URL: Documentation, https://github.com/fabiocaccamo/python-benedict#readme
13
32
  Project-URL: Issues, https://github.com/fabiocaccamo/python-benedict/issues
14
33
  Project-URL: Funding, https://github.com/sponsors/fabiocaccamo/
@@ -63,7 +82,7 @@ License-File: LICENSE.txt
63
82
 
64
83
 
65
84
  # python-benedict
66
- python-benedict is a dict subclass with **keylist/keypath** support, **I/O** shortcuts (`base64`, `csv`, `ini`, `json`, `pickle`, `plist`, `query-string`, `toml`, `xls`, `xml`, `yaml`) and many **utilities**... for humans, obviously.
85
+ python-benedict is a dict subclass with **keylist/keypath/keyattr** support, **I/O** shortcuts (`base64`, `csv`, `ini`, `json`, `pickle`, `plist`, `query-string`, `toml`, `xls`, `xml`, `yaml`) and many **utilities**... for humans, obviously.
67
86
 
68
87
  ## Features
69
88
  - 100% **backward-compatible**, you can safely wrap existing dictionaries.
@@ -346,7 +365,7 @@ Utilities that accept key argument(s) also support keypath(s).
346
365
 
347
366
  Utilities that return a dictionary always return a new `benedict` instance.
348
367
 
349
- - #### clean
368
+ #### `clean`
350
369
 
351
370
  ```python
352
371
  # Clean the current dict instance removing all empty values: None, "", {}, [], ().
@@ -355,14 +374,14 @@ Utilities that return a dictionary always return a new `benedict` instance.
355
374
  d.clean(strings=True, collections=True)
356
375
  ```
357
376
 
358
- - #### clone
377
+ #### `clone`
359
378
 
360
379
  ```python
361
380
  # Return a clone (deepcopy) of the dict.
362
381
  c = d.clone()
363
382
  ```
364
383
 
365
- - #### dump
384
+ #### `dump`
366
385
 
367
386
  ```python
368
387
  # Return a readable representation of any dict/list.
@@ -374,7 +393,7 @@ d = benedict()
374
393
  print(d.dump())
375
394
  ```
376
395
 
377
- - #### filter
396
+ #### `filter`
378
397
 
379
398
  ```python
380
399
  # Return a filtered dict using the given predicate function.
@@ -383,7 +402,7 @@ predicate = lambda k, v: v is not None
383
402
  f = d.filter(predicate)
384
403
  ```
385
404
 
386
- - #### find
405
+ #### `find`
387
406
 
388
407
  ```python
389
408
  # Return the first match searching for the given keys/keypaths.
@@ -392,21 +411,21 @@ keys = ["a.b.c", "m.n.o", "x.y.z"]
392
411
  f = d.find(keys, default=0)
393
412
  ```
394
413
 
395
- - #### flatten
414
+ #### `flatten`
396
415
 
397
416
  ```python
398
417
  # Return a new flattened dict using the given separator to join nested dict keys to flatten keypaths.
399
418
  f = d.flatten(separator="_")
400
419
  ```
401
420
 
402
- - #### groupby
421
+ #### `groupby`
403
422
 
404
423
  ```python
405
424
  # Group a list of dicts at key by the value of the given by_key and return a new dict.
406
425
  g = d.groupby("cities", by_key="country_code")
407
426
  ```
408
427
 
409
- - #### invert
428
+ #### `invert`
410
429
 
411
430
  ```python
412
431
  # Return an inverted dict where values become keys and keys become values.
@@ -415,7 +434,7 @@ g = d.groupby("cities", by_key="country_code")
415
434
  i = d.invert(flat=False)
416
435
  ```
417
436
 
418
- - #### items_sorted_by_keys
437
+ #### `items_sorted_by_keys`
419
438
 
420
439
  ```python
421
440
  # Return items (key/value list) sorted by keys.
@@ -423,7 +442,7 @@ i = d.invert(flat=False)
423
442
  items = d.items_sorted_by_keys(reverse=False)
424
443
  ```
425
444
 
426
- - #### items_sorted_by_values
445
+ #### `items_sorted_by_values`
427
446
 
428
447
  ```python
429
448
  # Return items (key/value list) sorted by values.
@@ -431,7 +450,7 @@ items = d.items_sorted_by_keys(reverse=False)
431
450
  items = d.items_sorted_by_values(reverse=False)
432
451
  ```
433
452
 
434
- - #### keypaths
453
+ #### `keypaths`
435
454
 
436
455
  ```python
437
456
  # Return a list of all keypaths in the dict.
@@ -439,7 +458,7 @@ items = d.items_sorted_by_values(reverse=False)
439
458
  k = d.keypaths(indexes=False)
440
459
  ```
441
460
 
442
- - #### match
461
+ #### `match`
443
462
 
444
463
  ```python
445
464
  # Return a list of all values whose keypath matches the given pattern (a regex or string).
@@ -448,7 +467,7 @@ k = d.keypaths(indexes=False)
448
467
  m = d.match(pattern, indexes=True)
449
468
  ```
450
469
 
451
- - #### merge
470
+ #### `merge`
452
471
 
453
472
  ```python
454
473
  # Merge one or more dictionary objects into current instance (deepupdate).
@@ -458,7 +477,7 @@ m = d.match(pattern, indexes=True)
458
477
  d.merge(a, b, c, overwrite=True, concat=False)
459
478
  ```
460
479
 
461
- - #### move
480
+ #### `move`
462
481
 
463
482
  ```python
464
483
  # Move an item from key_src to key_dst.
@@ -467,7 +486,7 @@ d.merge(a, b, c, overwrite=True, concat=False)
467
486
  d.move("a", "b", overwrite=True)
468
487
  ```
469
488
 
470
- - #### nest
489
+ #### `nest`
471
490
 
472
491
  ```python
473
492
  # Nest a list of dicts at the given key and return a new nested list
@@ -475,7 +494,7 @@ d.move("a", "b", overwrite=True)
475
494
  d.nest("values", id_key="id", parent_id_key="parent_id", children_key="children")
476
495
  ```
477
496
 
478
- - #### remove
497
+ #### `remove`
479
498
 
480
499
  ```python
481
500
  # Remove multiple keys from the dict.
@@ -483,7 +502,7 @@ d.nest("values", id_key="id", parent_id_key="parent_id", children_key="children"
483
502
  d.remove(["firstname", "lastname", "email"])
484
503
  ```
485
504
 
486
- - #### rename
505
+ #### `rename`
487
506
 
488
507
  ```python
489
508
  # Rename a dict item key from "key" to "key_new".
@@ -491,21 +510,21 @@ d.remove(["firstname", "lastname", "email"])
491
510
  d.rename("first_name", "firstname")
492
511
  ```
493
512
 
494
- - #### search
513
+ #### `search`
495
514
 
496
515
  ```python
497
516
  # Search and return a list of items (dict, key, value, ) matching the given query.
498
517
  r = d.search("hello", in_keys=True, in_values=True, exact=False, case_sensitive=False)
499
518
  ```
500
519
 
501
- - #### standardize
520
+ #### `standardize`
502
521
 
503
522
  ```python
504
523
  # Standardize all dict keys, e.g. "Location Latitude" -> "location_latitude".
505
524
  d.standardize()
506
525
  ```
507
526
 
508
- - #### subset
527
+ #### `subset`
509
528
 
510
529
  ```python
511
530
  # Return a dict subset for the given keys.
@@ -513,14 +532,14 @@ d.standardize()
513
532
  s = d.subset(["firstname", "lastname", "email"])
514
533
  ```
515
534
 
516
- - #### swap
535
+ #### `swap`
517
536
 
518
537
  ```python
519
538
  # Swap items values at the given keys.
520
539
  d.swap("firstname", "lastname")
521
540
  ```
522
541
 
523
- - #### traverse
542
+ #### `traverse`
524
543
 
525
544
  ```python
526
545
  # Traverse a dict passing each item (dict, key, value) to the given callback function.
@@ -529,14 +548,14 @@ def f(d, key, value):
529
548
  d.traverse(f)
530
549
  ```
531
550
 
532
- - #### unflatten
551
+ #### `unflatten`
533
552
 
534
553
  ```python
535
554
  # Return a new unflattened dict using the given separator to split dict keys to nested keypaths.
536
555
  u = d.unflatten(separator="_")
537
556
  ```
538
557
 
539
- - #### unique
558
+ #### `unique`
540
559
 
541
560
  ```python
542
561
  # Remove duplicated values from the dict.
@@ -567,7 +586,7 @@ In all `from_*` methods, the first argument can be: **url**, **filepath** or **d
567
586
 
568
587
  In all `to_*` methods, if `filepath="..."` kwarg is specified, the output will be also **saved** at the specified filepath.
569
588
 
570
- - #### from_base64
589
+ #### `from_base64`
571
590
 
572
591
  ```python
573
592
  # Try to load/decode a base64 encoded data and return it as benedict instance.
@@ -579,7 +598,7 @@ In all `to_*` methods, if `filepath="..."` kwarg is specified, the output will b
579
598
  d = benedict.from_base64(s, subformat="json", encoding="utf-8", **kwargs)
580
599
  ```
581
600
 
582
- - #### from_csv
601
+ #### `from_csv`
583
602
 
584
603
  ```python
585
604
  # Try to load/decode a csv encoded data and return it as benedict instance.
@@ -591,7 +610,7 @@ d = benedict.from_base64(s, subformat="json", encoding="utf-8", **kwargs)
591
610
  d = benedict.from_csv(s, columns=None, columns_row=True, **kwargs)
592
611
  ```
593
612
 
594
- - #### from_ini
613
+ #### `from_ini`
595
614
 
596
615
  ```python
597
616
  # Try to load/decode a ini encoded data and return it as benedict instance.
@@ -602,7 +621,7 @@ d = benedict.from_csv(s, columns=None, columns_row=True, **kwargs)
602
621
  d = benedict.from_ini(s, **kwargs)
603
622
  ```
604
623
 
605
- - #### from_json
624
+ #### `from_json`
606
625
 
607
626
  ```python
608
627
  # Try to load/decode a json encoded data and return it as benedict instance.
@@ -613,7 +632,7 @@ d = benedict.from_ini(s, **kwargs)
613
632
  d = benedict.from_json(s, **kwargs)
614
633
  ```
615
634
 
616
- - #### from_pickle
635
+ #### `from_pickle`
617
636
 
618
637
  ```python
619
638
  # Try to load/decode a pickle encoded in Base64 format and return it as benedict instance.
@@ -624,7 +643,7 @@ d = benedict.from_json(s, **kwargs)
624
643
  d = benedict.from_pickle(s, **kwargs)
625
644
  ```
626
645
 
627
- - #### from_plist
646
+ #### `from_plist`
628
647
 
629
648
  ```python
630
649
  # Try to load/decode a p-list encoded data and return it as benedict instance.
@@ -635,7 +654,7 @@ d = benedict.from_pickle(s, **kwargs)
635
654
  d = benedict.from_plist(s, **kwargs)
636
655
  ```
637
656
 
638
- - #### from_query_string
657
+ #### `from_query_string`
639
658
 
640
659
  ```python
641
660
  # Try to load/decode a query-string and return it as benedict instance.
@@ -644,7 +663,7 @@ d = benedict.from_plist(s, **kwargs)
644
663
  d = benedict.from_query_string(s, **kwargs)
645
664
  ```
646
665
 
647
- - #### from_toml
666
+ #### `from_toml`
648
667
 
649
668
  ```python
650
669
  # Try to load/decode a toml encoded data and return it as benedict instance.
@@ -655,7 +674,7 @@ d = benedict.from_query_string(s, **kwargs)
655
674
  d = benedict.from_toml(s, **kwargs)
656
675
  ```
657
676
 
658
- - #### from_xls
677
+ #### `from_xls`
659
678
 
660
679
  ```python
661
680
  # Try to load/decode a xls file (".xls", ".xlsx", ".xlsm") from url, filepath or data-string.
@@ -667,7 +686,7 @@ d = benedict.from_toml(s, **kwargs)
667
686
  d = benedict.from_xls(s, sheet=0, columns=None, columns_row=True, **kwargs)
668
687
  ```
669
688
 
670
- - #### from_xml
689
+ #### `from_xml`
671
690
 
672
691
  ```python
673
692
  # Try to load/decode a xml encoded data and return it as benedict instance.
@@ -678,7 +697,7 @@ d = benedict.from_xls(s, sheet=0, columns=None, columns_row=True, **kwargs)
678
697
  d = benedict.from_xml(s, **kwargs)
679
698
  ```
680
699
 
681
- - #### from_yaml
700
+ #### `from_yaml`
682
701
 
683
702
  ```python
684
703
  # Try to load/decode a yaml encoded data and return it as benedict instance.
@@ -689,7 +708,7 @@ d = benedict.from_xml(s, **kwargs)
689
708
  d = benedict.from_yaml(s, **kwargs)
690
709
  ```
691
710
 
692
- - #### to_base64
711
+ #### `to_base64`
693
712
 
694
713
  ```python
695
714
  # Return the dict instance encoded in base64 format and optionally save it at the specified 'filepath'.
@@ -701,7 +720,7 @@ d = benedict.from_yaml(s, **kwargs)
701
720
  s = d.to_base64(subformat="json", encoding="utf-8", **kwargs)
702
721
  ```
703
722
 
704
- - #### to_csv
723
+ #### `to_csv`
705
724
 
706
725
  ```python
707
726
  # Return a list of dicts in the current dict encoded in csv format and optionally save it at the specified filepath.
@@ -711,7 +730,7 @@ s = d.to_base64(subformat="json", encoding="utf-8", **kwargs)
711
730
  s = d.to_csv(key="values", columns=None, columns_row=True, **kwargs)
712
731
  ```
713
732
 
714
- - #### to_ini
733
+ #### `to_ini`
715
734
 
716
735
  ```python
717
736
  # Return the dict instance encoded in ini format and optionally save it at the specified filepath.
@@ -721,7 +740,7 @@ s = d.to_csv(key="values", columns=None, columns_row=True, **kwargs)
721
740
  s = d.to_ini(**kwargs)
722
741
  ```
723
742
 
724
- - #### to_json
743
+ #### `to_json`
725
744
 
726
745
  ```python
727
746
  # Return the dict instance encoded in json format and optionally save it at the specified filepath.
@@ -731,7 +750,7 @@ s = d.to_ini(**kwargs)
731
750
  s = d.to_json(**kwargs)
732
751
  ```
733
752
 
734
- - #### to_pickle
753
+ #### `to_pickle`
735
754
 
736
755
  ```python
737
756
  # Return the dict instance as pickle encoded in Base64 format and optionally save it at the specified filepath.
@@ -742,7 +761,7 @@ s = d.to_json(**kwargs)
742
761
  s = d.to_pickle(**kwargs)
743
762
  ```
744
763
 
745
- - #### to_plist
764
+ #### `to_plist`
746
765
 
747
766
  ```python
748
767
  # Return the dict instance encoded in p-list format and optionally save it at the specified filepath.
@@ -752,7 +771,7 @@ s = d.to_pickle(**kwargs)
752
771
  s = d.to_plist(**kwargs)
753
772
  ```
754
773
 
755
- - #### to_query_string
774
+ #### `to_query_string`
756
775
 
757
776
  ```python
758
777
  # Return the dict instance as query-string and optionally save it at the specified filepath.
@@ -760,7 +779,7 @@ s = d.to_plist(**kwargs)
760
779
  s = d.to_query_string(**kwargs)
761
780
  ```
762
781
 
763
- - #### to_toml
782
+ #### `to_toml`
764
783
 
765
784
  ```python
766
785
  # Return the dict instance encoded in toml format and optionally save it at the specified filepath.
@@ -770,7 +789,7 @@ s = d.to_query_string(**kwargs)
770
789
  s = d.to_toml(**kwargs)
771
790
  ```
772
791
 
773
- - #### to_xml
792
+ #### `to_xml`
774
793
 
775
794
  ```python
776
795
  # Return the dict instance encoded in xml format and optionally save it at the specified filepath.
@@ -780,7 +799,7 @@ s = d.to_toml(**kwargs)
780
799
  s = d.to_xml(**kwargs)
781
800
  ```
782
801
 
783
- - #### to_yaml
802
+ #### `to_yaml`
784
803
 
785
804
  ```python
786
805
  # Return the dict instance encoded in yaml format.
@@ -795,7 +814,7 @@ s = d.to_yaml(**kwargs)
795
814
 
796
815
  These methods are wrappers of the `get` method, they parse data trying to return it in the expected type.
797
816
 
798
- - #### get_bool
817
+ #### `get_bool`
799
818
 
800
819
  ```python
801
820
  # Get value by key or keypath trying to return it as bool.
@@ -803,7 +822,7 @@ These methods are wrappers of the `get` method, they parse data trying to return
803
822
  d.get_bool(key, default=False)
804
823
  ```
805
824
 
806
- - #### get_bool_list
825
+ #### `get_bool_list`
807
826
 
808
827
  ```python
809
828
  # Get value by key or keypath trying to return it as list of bool values.
@@ -811,7 +830,7 @@ d.get_bool(key, default=False)
811
830
  d.get_bool_list(key, default=[], separator=",")
812
831
  ```
813
832
 
814
- - #### get_date
833
+ #### `get_date`
815
834
 
816
835
  ```python
817
836
  # Get value by key or keypath trying to return it as date.
@@ -820,7 +839,7 @@ d.get_bool_list(key, default=[], separator=",")
820
839
  d.get_date(key, default=None, format=None, choices=[])
821
840
  ```
822
841
 
823
- - #### get_date_list
842
+ #### `get_date_list`
824
843
 
825
844
  ```python
826
845
  # Get value by key or keypath trying to return it as list of date values.
@@ -828,7 +847,7 @@ d.get_date(key, default=None, format=None, choices=[])
828
847
  d.get_date_list(key, default=[], format=None, separator=",")
829
848
  ```
830
849
 
831
- - #### get_datetime
850
+ #### `get_datetime`
832
851
 
833
852
  ```python
834
853
  # Get value by key or keypath trying to return it as datetime.
@@ -837,7 +856,7 @@ d.get_date_list(key, default=[], format=None, separator=",")
837
856
  d.get_datetime(key, default=None, format=None, choices=[])
838
857
  ```
839
858
 
840
- - #### get_datetime_list
859
+ #### `get_datetime_list`
841
860
 
842
861
  ```python
843
862
  # Get value by key or keypath trying to return it as list of datetime values.
@@ -845,7 +864,7 @@ d.get_datetime(key, default=None, format=None, choices=[])
845
864
  d.get_datetime_list(key, default=[], format=None, separator=",")
846
865
  ```
847
866
 
848
- - #### get_decimal
867
+ #### `get_decimal`
849
868
 
850
869
  ```python
851
870
  # Get value by key or keypath trying to return it as Decimal.
@@ -853,7 +872,7 @@ d.get_datetime_list(key, default=[], format=None, separator=",")
853
872
  d.get_decimal(key, default=Decimal("0.0"), choices=[])
854
873
  ```
855
874
 
856
- - #### get_decimal_list
875
+ #### `get_decimal_list`
857
876
 
858
877
  ```python
859
878
  # Get value by key or keypath trying to return it as list of Decimal values.
@@ -861,7 +880,7 @@ d.get_decimal(key, default=Decimal("0.0"), choices=[])
861
880
  d.get_decimal_list(key, default=[], separator=",")
862
881
  ```
863
882
 
864
- - #### get_dict
883
+ #### `get_dict`
865
884
 
866
885
  ```python
867
886
  # Get value by key or keypath trying to return it as dict.
@@ -869,7 +888,7 @@ d.get_decimal_list(key, default=[], separator=",")
869
888
  d.get_dict(key, default={})
870
889
  ```
871
890
 
872
- - #### get_email
891
+ #### `get_email`
873
892
 
874
893
  ```python
875
894
  # Get email by key or keypath and return it.
@@ -878,7 +897,7 @@ d.get_dict(key, default={})
878
897
  d.get_email(key, default="", choices=None, check_blacklist=True)
879
898
  ```
880
899
 
881
- - #### get_float
900
+ #### `get_float`
882
901
 
883
902
  ```python
884
903
  # Get value by key or keypath trying to return it as float.
@@ -886,7 +905,7 @@ d.get_email(key, default="", choices=None, check_blacklist=True)
886
905
  d.get_float(key, default=0.0, choices=[])
887
906
  ```
888
907
 
889
- - #### get_float_list
908
+ #### `get_float_list`
890
909
 
891
910
  ```python
892
911
  # Get value by key or keypath trying to return it as list of float values.
@@ -894,7 +913,7 @@ d.get_float(key, default=0.0, choices=[])
894
913
  d.get_float_list(key, default=[], separator=",")
895
914
  ```
896
915
 
897
- - #### get_int
916
+ #### `get_int`
898
917
 
899
918
  ```python
900
919
  # Get value by key or keypath trying to return it as int.
@@ -902,7 +921,7 @@ d.get_float_list(key, default=[], separator=",")
902
921
  d.get_int(key, default=0, choices=[])
903
922
  ```
904
923
 
905
- - #### get_int_list
924
+ #### `get_int_list`
906
925
 
907
926
  ```python
908
927
  # Get value by key or keypath trying to return it as list of int values.
@@ -910,7 +929,7 @@ d.get_int(key, default=0, choices=[])
910
929
  d.get_int_list(key, default=[], separator=",")
911
930
  ```
912
931
 
913
- - #### get_list
932
+ #### `get_list`
914
933
 
915
934
  ```python
916
935
  # Get value by key or keypath trying to return it as list.
@@ -918,7 +937,7 @@ d.get_int_list(key, default=[], separator=",")
918
937
  d.get_list(key, default=[], separator=",")
919
938
  ```
920
939
 
921
- - #### get_list_item
940
+ #### `get_list_item`
922
941
 
923
942
  ```python
924
943
  # Get list by key or keypath and return value at the specified index.
@@ -926,7 +945,7 @@ d.get_list(key, default=[], separator=",")
926
945
  d.get_list_item(key, index=0, default=None, separator=",")
927
946
  ```
928
947
 
929
- - #### get_phonenumber
948
+ #### `get_phonenumber`
930
949
 
931
950
  ```python
932
951
  # Get phone number by key or keypath and return a dict with different formats (e164, international, national).
@@ -934,7 +953,7 @@ d.get_list_item(key, index=0, default=None, separator=",")
934
953
  d.get_phonenumber(key, country_code=None, default=None)
935
954
  ```
936
955
 
937
- - #### get_slug
956
+ #### `get_slug`
938
957
 
939
958
  ```python
940
959
  # Get value by key or keypath trying to return it as slug.
@@ -942,7 +961,7 @@ d.get_phonenumber(key, country_code=None, default=None)
942
961
  d.get_slug(key, default="", choices=[])
943
962
  ```
944
963
 
945
- - #### get_slug_list
964
+ #### `get_slug_list`
946
965
 
947
966
  ```python
948
967
  # Get value by key or keypath trying to return it as list of slug values.
@@ -950,7 +969,7 @@ d.get_slug(key, default="", choices=[])
950
969
  d.get_slug_list(key, default=[], separator=",")
951
970
  ```
952
971
 
953
- - #### get_str
972
+ #### `get_str`
954
973
 
955
974
  ```python
956
975
  # Get value by key or keypath trying to return it as string.
@@ -959,7 +978,7 @@ d.get_slug_list(key, default=[], separator=",")
959
978
  d.get_str(key, default="", choices=[])
960
979
  ```
961
980
 
962
- - #### get_str_list
981
+ #### `get_str_list`
963
982
 
964
983
  ```python
965
984
  # Get value by key or keypath trying to return it as list of str values.
@@ -967,7 +986,7 @@ d.get_str(key, default="", choices=[])
967
986
  d.get_str_list(key, default=[], separator=",")
968
987
  ```
969
988
 
970
- - #### get_uuid
989
+ #### `get_uuid`
971
990
 
972
991
  ```python
973
992
  # Get value by key or keypath trying to return it as valid uuid.
@@ -975,7 +994,7 @@ d.get_str_list(key, default=[], separator=",")
975
994
  d.get_uuid(key, default="", choices=[])
976
995
  ```
977
996
 
978
- - #### get_uuid_list
997
+ #### `get_uuid_list`
979
998
 
980
999
  ```python
981
1000
  # Get value by key or keypath trying to return it as list of valid uuid values.