Skip to main content

SearchEngineForJSON

Project description

SearchEngine for JSON

  • json形式のデータから指定の型を持つkeyとvalueを再起的に取得します

install

pip install SearchEngineForJSON

ディレクトリ構造

|--packagingTutorial
|  |--SearchEngineForJSON
|  |  |--__init__.py
|  |  |--searchMain.py
|  |--setup.py

Usage

from SearchEngineForJSON.searchMain import Search

Search.moldSearch(探索したいデータ, 探索したい型) -> [[key, value], []]

Example

from SearchEngineForJSON.searchMain import Search

data = {
  "name1": "hello",
  "name2": {
    "name2-1": 2,
    "name2-2": "world"
  }
}

items = Search.moldSearch(data, str)

for item in items:
  print(item)
["name1", "hello"]
["name2.name2-2", "world"]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SearchEngineForJSON-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file SearchEngineForJSON-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: SearchEngineForJSON-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for SearchEngineForJSON-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a91a619abf9800d9550c6939af968811e457aac67b7f74cd4eb66d4a4321a95
MD5 e7e518e30f48ad9a287d665fe3bab834
BLAKE2b-256 01ddda7707a2c1aedb1649094ed545c269d3202c4ee1699f762112be98b850e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page