Commit graph

87 commits

Author SHA1 Message Date
279dcb4189 fix old github refs
modified:   CONTRIBUTING.rst
	modified:   README.rst
	modified:   setup.py
2022-07-06 14:53:52 -04:00
1c6dbd32f8 modified: .gitignore
new file:   Makefile
	modified:   README.rst
	modified:   nested_lookup/lookup_api.py
	new file:   nested_lookup/tests/__init__.py
	renamed:    test_lookup_api.py -> nested_lookup/tests/test_lookup_api.py
	renamed:    test_nested_lookup.py -> nested_lookup/tests/test_nested_lookup.py
	new file:   requirements-test.txt
	modified:   setup.py
2022-07-06 14:47:54 -04:00
a8c790d60e
Merge pull request #46 from thoscott/master
Updated my_document to dict from a tuple
2021-11-11 13:23:49 -05:00
scotho
c66bb7d744 Made my_document a dict instead of a tuple
The current my_document has a hanging comma, which would prevent it
from rendering properly in the example cases provided by the README.
2021-11-11 12:36:44 -05:00
c1b0421479 new release 0.2.23
modified:   README.rst
	modified:   setup.py
2021-11-08 10:53:43 -05:00
Daniel Hjertholm
5c5a65452a Add test for recursive use of nested_alter 2021-03-08 14:27:08 -05:00
Daniel Hjertholm
81bda0dfab Make _nested_alter recursive 2021-03-08 14:27:08 -05:00
8e9e0b5a78 Fixing docs and adding a boolean test.
modified:   README.rst
	modified:   setup.py
	modified:   test_lookup_api.py
2021-02-09 20:51:26 -05:00
txjacob
dd7bf5f043 Change method of checking if a key is in the dictionary.
The original method would return false if the key contained the boolean "false" causing the value not to be deleted even if it existed.
2020-08-26 22:02:50 -04:00
Gage Renzi
ff609192f5 add test for nested_delete where key's value is falsy 2020-08-26 22:02:07 -04:00
5403e53094 new release
modified:   README.rst
	modified:   setup.py
2020-02-01 12:50:33 -05:00
b30371c699 python 2.7 doesn't support type annotations. 2020-02-01 12:47:57 -05:00
b48e099d03
Update README.rst 2020-02-01 09:35:58 -05:00
bc8937b56f New release.
modified:   README.rst
	modified:   setup.py
2020-01-31 15:51:10 -05:00
Matheus Lins
ee4ffa6deb Update README.rst 2020-01-31 15:49:28 -05:00
Matheus Lins
77895304bb Rename function 2020-01-29 14:03:49 -05:00
Matheus Lins
5fbc1a1671 Tests of get_occurrence_of_value_with_self_value 2020-01-29 14:03:49 -05:00
Matheus Lins
2e8098ef62 Add a new method to return count of values and self values 2020-01-29 14:03:49 -05:00
d3e0ea564b
Update README.rst 2019-10-31 08:59:08 -04:00
e44f591f71 Update lookup_api.py 2019-10-16 15:17:36 -04:00
095ed8f244 Update lookup_api.py 2019-10-16 15:17:36 -04:00
Maxim Kuznetsov
c0e895fd1b Delete unused variables, fix outdated doc 2019-10-16 15:17:36 -04:00
Maxim Kuznetsov
307983caa5 Fix wrong-ordered update, create test 2019-10-16 15:17:36 -04:00
fcf2842de9 fix how we load requirements.txt in setup.py
modified:   README.rst
	modified:   setup.py
2019-08-26 11:29:39 -07:00
4b8eeaf969 more tests cases regarding wild functionality
modified:   README.rst
	modified:   nested_lookup/nested_lookup.py
	modified:   setup.py
	modified:   test_nested_lookup.py
2019-06-25 15:20:42 -07:00
b6acaca980 Fix defect where wild would break if document had non string keys.
modified:   README.rst
	modified:   nested_lookup/nested_lookup.py
	modified:   setup.py
	modified:   test_nested_lookup.py
2019-06-25 14:50:00 -07:00
9348af1790 modified: README.rst
modified:   nested_lookup/__init__.py
	modified:   nested_lookup/lookup_api.py
	modified:   nested_lookup/nested_lookup.py
	modified:   setup.py
	modified:   test_lookup_api.py
	modified:   test_nested_lookup.py
2019-05-21 10:23:00 -04:00
8cec46c76e new release 0.2.15
modified:   README.rst
	modified:   setup.py
2019-05-21 09:26:19 -04:00
0c8be51f37 Changing version to 0.2.14 2019-05-13 04:10:57 -07:00
652ab9882d Fixing CI for python version 2.7 2019-05-13 04:10:57 -07:00
Ramesh_RV
fdce9e685a Fix for issue #19 (get_all_keys fails if dict are part of list) 2019-05-13 04:10:57 -07:00
Salfiii
4f37d265c8 "nested_alter" and update of "nested_update" (#16)
* Update lookup_api.py

moved the typecheck of the value argument to the wrapper function.

* added tests for nested_update Test

* pep8 format standards
moded _call_callback out of the nested_alter Method
Raised an Exception is no list is provided but treas_as_elemenet is false
treat_list_as_element:bool renamed to treat_as_element:bool and set default to True

* Auto commit via script

* Create CONTRIBUTORS.rst

* Rename CONTRIBUTORS.rst to CONTRIBUTING.rst

* Update CONTRIBUTING.rst

* Fix for issue #17 (#18)

* Fix for issue #17
* Updating version (and) Adding Travis CI support
* Adding Build status to README

* changed the type annotation of the input document (removed it)
removed the output type hint
change the Readme

* Update lookup_api.py

moved the typecheck of the value argument to the wrapper function.

* added tests for nested_update Test

* pep8 format standards
moded _call_callback out of the nested_alter Method
Raised an Exception is no list is provided but treas_as_elemenet is false
treat_list_as_element:bool renamed to treat_as_element:bool and set default to True


* changed the type annotation of the input document (removed it)
removed the output type hint
change the Readme
2019-04-29 20:06:10 -04:00
0e8723b822 Fix for issue #17 (#18)
* Fix for issue #17
* Updating version (and) Adding Travis CI support
* Adding Build status to README
2019-03-04 08:44:32 -05:00
8c4229944f
Update CONTRIBUTING.rst 2019-02-28 11:26:13 -05:00
bb99ed3b0d
Rename CONTRIBUTORS.rst to CONTRIBUTING.rst 2019-02-28 11:24:53 -05:00
c931f3c60e
Create CONTRIBUTORS.rst 2019-02-28 11:23:58 -05:00
ec281f6b3f Better test to protect against mutation.
modified:   .gitignore
	modified:   README.rst
	modified:   nested_lookup/lookup_api.py
	modified:   setup.py
	modified:   test_lookup_api.py
2019-01-17 17:45:00 -05:00
Dmitry Vasilev
a924829821 Add nested_update.in_place argument (#13)
* Add nested_update.in_place argument

* Update README.rst and tests
2019-01-17 15:44:02 -05:00
8baf61f7e6
Update README.rst 2019-01-17 05:36:21 -08:00
930571d8fb modified: README.rst 2018-11-24 09:48:41 -05:00
4564f8ed80 New Features (nested_update, nested_delete) (#12)
* Fix for issue #10

* Renamed the test module

* New Features (nested_get, nested_update, nested_delete)

* Update Version to 0.3.0

* Updated Readme for new features

* Removed method (nested_get)

* Addressed review comments

* Removed nested_get references from README

* Rearanged the order of the functions
2018-11-23 19:10:31 -05:00
d49c15f293
Update README.rst 2018-11-02 12:10:05 -04:00
1326642f5f
Update setup.py 2018-11-02 12:09:42 -04:00
3441584eaa Fix for issue #10 (#11)
* Fix for issue #10

* Renamed the test module
2018-11-02 12:08:13 -04:00
4402da08fe modified: setup.py 2018-11-01 17:48:36 -04:00
jpavlav
7513169ab4 Fixed issue where get_all_keys or _get_occurence choked on strings. (#9) 2018-11-01 11:28:55 -04:00
08967c817b
Merge pull request #8 from rameshrvr/master
Fix for issue #7 (Enable key lookup after the key is found)
2018-10-16 07:54:55 -04:00
7bff284746 Merge branch 'master' of https://github.com/rameshrvr/nested-lookup 2018-10-14 11:18:16 +05:30
de3630f0f3 Fix for issue #7 (Enable key lookup after the key is found) 2018-10-14 11:17:29 +05:30
4bca9008fd
Merge pull request #2 from russellballestrini/master
Merge pull request #6 from rameshrvr/master
2018-10-14 09:57:37 +05:30