GithubHelp home page GithubHelp logo

jparadadev / deepfinder.py Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 416 KB

๐Ÿ”Ž Search attributes easily using dot paths. Within structures of type dictionary, list and embedded substructures with simple format 'dict.users.0.name'.

Home Page: https://pypi.org/project/deepfinder/

License: MIT License

Python 98.91% Makefile 1.09%
array attribute attributes deep deep-find dictionary dotpath find list nested nested-data nested-structures object property python-library

deepfinder.py's Introduction

Welcome to my Github! I'm Javi ๐Ÿ‘‹๐Ÿป

I'm a Software Engineer and Cybersecurity Researcher from Spain ๐Ÿ‡ช๐Ÿ‡ธ currently living in Tokyo, Japan. ๐Ÿ—ผ

I'm working on:

  • Learning Rust to make cool stuff โš™๏ธ

I'm interested in:

  • Software engineering, architecture and distributed applications.
  • Cybersecurity and defense software based on traceability and detection.

Open source ๐Ÿ’ป

Publications ๐Ÿ“‘

deepfinder.py's People

Contributors

alberlc avatar jparadadev avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

alberlc

deepfinder.py's Issues

Add frozen set support

Bug description
When exploring a Frozen set, null value is always returned.

To Reproduce
Just add a Frozen set at any level

from deepfinder import deep_find
data = { 'a-tuple': frozenset((1,2,3,4,5)) }
print(deep_find(data, 'a-tuple.2'))
# output: None

Add tuple support

Bug description
When exploring a Tuple, null value is always returned.

To Reproduce
Just add a tuple at any level

from deepfinder import deep_find
data = { 'a-tuple':(1,2,3,4,5) }
print(deep_find(data, 'a-tuple.2'))
# output: None
# expected: 3

Add set support

Bug description
When exploring a set, null value is always returned.

To Reproduce
Just add a set at any level

from deepfinder import deep_find
data = { 'a-set': set([1,2,3,4,5]) }
print(deep_find(data, 'a-set.2'))
# output: None

Expected behavior
It should explore the set as if it were an array

Dictionary with numeric keys not working

Dictionary with numeric keys not working
Dictionary access with numeric values not working. All dictionary access use strings as keys.

To Reproduce

a = { 1: 'potato' }
output = deep_find(a, '#1')
print(output) # None

Expected behavior
It should return the string.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.