Skip to main content

ls_json traverses either the provided path or current dir and returns the file tree (with file sizes) in json format

Project description

by default it installs as a console application into the users path.

Usage::

~/ls_json ## python setup.py install

~/ls_json ## ls_json
{
  ".git": {
    ".COMMIT_EDITMSG.swp": 4096,
    "COMMIT_EDITMSG": 282,
    "FETCH_HEAD": 100,
    "HEAD": 23,
    "config": 360,
    "description": 73,
    "index": 474,
    "info": {
      "exclude": 240
    },
    "logs": {
      "HEAD": 700,
      "refs": {
        "heads": {
          "master": 700
        },
        "remotes": {
          "origin": {
            "HEAD": 197,
            "master": 304
          }
        }
      }
    },
    "objects": {
      "1d": {
        "9bb6e4f5debac1c7342d437a22ba8e41c35a10": 794
      },
      "2a": {
        "5e29c1271823cc2791203936cb97103d039133": 10073
      }
    },
    "sourcetreeconfig": 1034
  },
  ".gitignore": 24,
  "LICENSE.txt": 38578,
  "README.md": 228,
  "ls_json.py": 1695,
  "setup.cfg": 41,
  "setup.py": 1445
}

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

ls_json-1.0.zip (5.5 kB view details)

Uploaded Source

File details

Details for the file ls_json-1.0.zip.

File metadata

  • Download URL: ls_json-1.0.zip
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ls_json-1.0.zip
Algorithm Hash digest
SHA256 26b7ffab2d2c23b0a601b79f3fce77885ffe7d433fc9c04696bd3616db810021
MD5 c8d4d57e13f033bc0e45a540bfc8bd9b
BLAKE2b-256 22e70e0d79513b1f68a31e749ad59cd6d251cfbd8c929a0a5fb9d7f89319e291

See more details on using hashes here.

Supported by

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