Skip to main content

List contents of directories in a vine-like format.

Project description

lsvine

List contents of directories in a vine-like format.

I built lsvine to be like tree but with the first-level directories distributed horizontally (and dangling downwards, hence like a vine).

This format compacts the information vertically and displays it in a trello-like format.

Installation

pip3 install lsvine

Usage

# lsvine --version
lsvine, version 0.1.0

# lsvine .
0_root         build               dist                           lsvine       lsvine.egg-info
-------------  ------------------  -----------------------------  -----------  --------------------
CHANGELOG      bdist.linux-x86_64  lsvine-0.1.2-py3-none-any.whl  __init__.py  PKG-INFO
DEVELOPER.md   lib                 lsvine-0.1.2.tar.gz            __pycache__  SOURCES.txt
LICENSE                                                           cli.py       dependency_links.txt
README.md                                                                      entry_points.txt
mk_testdir.sh                                                                  requires.txt
setup.py                                                                       top_level.txt

screenshots    testdir
-------------  ---------
ls.png         d1
lsvine.png     d2
tree.png       d3
               f1
               f2
               f3

Comparison with ls and tree

  • ls is available by default on all linux distributions.
  • tree can be installed with apt-get install tree
# ls testdir/
d1  d2  d3  f1  f2  f3

# tree testdir/
testdir/
├── d1
│   ├── f4
│   ├── f5
│   └── f6
├── d2
│   ├── f7
│   ├── f8
│   └── f9
├── d3
│   ├── d4
│   │   └── f15
│   ├── f10
│   ├── f11
│   ├── f12
│   ├── f13
│   └── f14
├── f1
├── f2
└── f3

4 directories, 15 files


# lsvine testdir/
0_root    d1    d2    d3
--------  ----  ----  ----
f1        f4    f7    d4
f2        f5    f8    f10
f3        f6    f9    f11
                      f12
                      f13
                      f14

Screenshots

License

Apache License 2.0. Check file LICENSE

Dev notes

Check DEVELOPER.md

Project details


Download files

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

Source Distribution

lsvine-0.1.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

lsvine-0.1.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file lsvine-0.1.3.tar.gz.

File metadata

  • Download URL: lsvine-0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for lsvine-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3e89dd75d9216de10d68eeeec6e9485e1b392860aac79e83f57c4b9020cd4713
MD5 8920ba903ba05a5d6f475f3f1cae78be
BLAKE2b-256 9881bc1fcd5e4eab124fc815ef799c28c1a5f79a0d0b013f75d223e42a8a21bd

See more details on using hashes here.

File details

Details for the file lsvine-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: lsvine-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for lsvine-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b8f90ae9a24e18ca70aeed83598b1aaa92cf7b3a03fdee89f0f5c1e9ab65392e
MD5 a1fa1665387497801774c1241d84f500
BLAKE2b-256 442144aa45741e55b8f6e188f3a37b32fe521ba294f179478e551e7fe24d6c71

See more details on using hashes here.

Supported by

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