GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — adding authors and other info · FOSSAware/deepdiff@72e8994

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • AUTHORS.md
  • CHANGELOG.md
  • LICENSE
  • README.md
  • docs
    • authors.rst
    • changelog.rst
    • search_doc.rst
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎AUTHORS.md‎

Copy file name to clipboardExpand all lines: AUTHORS.md
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ Authors in order of the contributions:
3535
- Florian Klien [flowolf](https://github.com/flowolf) for adding math_epsilon
3636
- Tim Klein [timjklein36](https://github.com/timjklein36) for retaining the order of multiple dictionary items added via Delta.
3737
- Wilhelm Schürmann[wbsch](https://github.com/wbsch) for fixing the typo with yml files.
38+
- [lyz-code](https://github.com/lyz-code) for adding support for regular expressions.
Collapse file

‎CHANGELOG.md‎

Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# DeepDiff Change log
22

3+
- v5-2-4: add support for regular expressions
34
- v5-2-3: Retaining the order of multiple dictionary items added via Delta. Fixed the typo with yml files in deep cli. Fixing Grep RecursionError where using non UTF-8 character. Allowing kwargs to be passed to to_json method.
45
- v5-2-2: Fixed Delta serialization when None type is present.
56
- v5-2-0: Removed Murmur3 as the preferred hashing method. Using SHA256 by default now. Added commandline for deepdiff. Added group_by. Added math_epsilon. Improved ignoring of NoneType.
Collapse file

‎LICENSE‎

Copy file name to clipboardExpand all lines: LICENSE
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014 - 2020 Sep Dehpour (Seperman) and contributors
3+
Copyright (c) 2014 - 2021 Sep Dehpour (Seperman) and contributors
44
www.zepworks.com
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ Tested on Python 3.6+ and PyPy3.
2020

2121
- [Documentation](https://zepworks.com/deepdiff/5.2.3/)
2222

23+
## What is new?
24+
25+
Deepdiff 5.2.4 comes with regular expressions in the DeepSearch and grep modules:
26+
27+
```python
28+
>>> from deepdiff import grep
29+
>>> from pprint import pprint
30+
>>> obj = ["something here", {"long": "somewhere", "someone": 2, 0: 0, "somewhere": "around"}]
31+
>>> ds = obj | grep("some.*", use_regexp=True)
32+
{ 'matched_paths': ["root[1]['someone']", "root[1]['somewhere']"],
33+
'matched_values': ['root[0]', "root[1]['long']"]}
34+
```
2335

2436
## Installation
2537

Collapse file

‎docs/authors.rst‎

Copy file name to clipboardExpand all lines: docs/authors.rst
+3Lines changed: 3 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ Thanks to the following people for their contributions:
4242
- Florian Klien `flowolf`_ for adding math_epsilon
4343
- Tim Klein `timjklein36`_ for retaining the order of multiple dictionary items added via Delta
4444
- Wilhelm Schürmann `wbsch`_ for fixing the typo with yml files.
45+
- `lyz_code`_ for adding support for regular expressions.
46+
4547

4648
.. _Sep Dehpour (Seperman): http://www.zepworks.com
4749
.. _Victor Hahn Castell: http://hahncastell.de
@@ -74,6 +76,7 @@ Thanks to the following people for their contributions:
7476
.. _flowolf: https://github.com/flowolf
7577
.. _timjklein36: https://github.com/timjklein36
7678
.. _wbsch: https://github.com/wbsch
79+
.. _lyz_code: https://github.com/lyz-code
7780

7881

7982
Back to :doc:`/index`
Collapse file

‎docs/changelog.rst‎

Copy file name to clipboardExpand all lines: docs/changelog.rst
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Changelog
55

66
DeepDiff Changelog
77

8+
- v5-2-4: add support for regular expressions
89
- v5-2-3: Retaining the order of multiple dictionary items added via Delta. Fixed the typo with yml files in deep cli. Fixing Grep RecursionError where using non UTF-8 character. Allowing kwargs to be passed to to_json method.
910
- v5-2-2: Fixed Delta serialization when None type is present.
1011
- v5-2-0: Removed Murmur3 as the preferred hashing method. Using SHA256 by default now. Added commandline for deepdiff. Added group_by. Added math_epsilon. Improved ignoring of NoneType.
Collapse file

‎docs/search_doc.rst‎

Copy file name to clipboardExpand all lines: docs/search_doc.rst
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@ Search in nested data for string
2222
{ 'matched_paths': {"root[1]['somewhere']": 'around'},
2323
'matched_values': { 'root[0]': 'something somewhere',
2424
"root[1]['long']": 'somewhere'}}
25+
26+
You can also use regular expressions
27+
>>> obj = ["something here", {"long": "somewhere", "someone": 2, 0: 0, "somewhere": "around"}]
28+
>>> ds = obj | grep("some.*", use_regexp=True)
29+
{ 'matched_paths': ["root[1]['someone']", "root[1]['somewhere']"],
30+
'matched_values': ['root[0]', "root[1]['long']"]}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.