bb-dirtree


Namebb-dirtree JSON
Version 0.1.7 PyPI version JSON
download
home_page
SummaryCreate a nice looking directory tree with options
upload_time2022-06-07 10:30:48
maintainer
docs_urlNone
authorErik Beebe
requires_python>=3.10,<4.0
licenseMIT
keywords script qt files
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# DirTree

##### - create a nice looking directory tree
==============================================

## Installation:
================

##### _**Windows:**_

```bash
py -m pip install "BB-DirTree"
```

##### _**Linux/Mac:**_

```bash
python -m pip install "BB-DirTree"
```

## DirTree usage
================

##### _**Windows:**_

```bash
py -m bbdirtree [OPTIONS] [ARGS]
```

##### _**Linux/Mac:**_

```bash
python -m bbdirtree [OPTIONS] [ARGS]
```

### _**Options:**_

**Short**  | **Long**       | **Description**
---------- | -------------- | ---------------------------------------------------------
-b         |   --base-dir   |  Set base directory <br> *Uses current directory if not specified*
-d         |   --depth      |  Integer to set the depth of directory tree <br> *ex: '0' will only print the base directory list*
-D         |   --dotfiles   |  Include hidden files in tree
-e         |   --exclude    |  Filenames/directories to exclude from the tree <br> *See Exclusions*
-h         |   --help       |  This help message
-q         |   --qt-html    |  Print in html format for use with QT
-r         |   --regex      |  Use regex to include/exclude files/directories in tree <br> *See Regex*

>It is recommended to quote all paths

### *Exclusions*

>Provide names of files or directories to exclude. To exclude multiple files/directories, quote entire list and seperate with a colon (**:**). Add a forward slash (**/**) to specify a directory name to exclude.

##### **Example:**
  
```bash
python -m bbdirtree --exclude "excluded dir:excluded file"
```

### *Regex*

>Prefix regex with *include=* or *exclude=*

>Seperate each regex with a space, quoting each individual argument.

##### _**Examples:**_

```bash
python -m bbdirtree --regex "exclude=.*\.ini$"

    # will exclude any files that have a *.ini* extension.

python -m bbdirtree --regex "include=.*\.mp3$"

    # will include only files with a *.mp3* extension.
```

>This has no effect on directories

>Multiple regex can be used by specifying **--regex** multiple times.

## License
==========

<pre>
    MIT License

    Copyright (c) [year] [fullname]

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
</pre>

## CHANGELOG
============

#### v0.1.0 - 5-29-2022

- initial release

#### v0.1.1 - 5-30-2022

- changed name from DirTree to BB-DirTree
- added README.md

#### v0.1.2 - 5-31-2022

- added a changelog to README.md
- made corrections to help message

#### v0.1.3 - 5-31-2022

- added support for windows hidden files

#### v0.1.5 - 5-31-2022

- made corrections to help message

#### v0.5.7 - 6-7-2022

- changed color of files in html output
- small changes to output format

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "bb-dirtree",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "script,qt,files",
    "author": "Erik Beebe",
    "author_email": "beebeapps_feedback@tuta.io",
    "download_url": "https://files.pythonhosted.org/packages/99/28/666528488b883bdde8ac2f5ed480166d4a9a30d02f8079f44585f20b932b/BB-DirTree-0.1.7.tar.gz",
    "platform": null,
    "description": "\n# DirTree\n\n##### - create a nice looking directory tree\n==============================================\n\n## Installation:\n================\n\n##### _**Windows:**_\n\n```bash\npy -m pip install \"BB-DirTree\"\n```\n\n##### _**Linux/Mac:**_\n\n```bash\npython -m pip install \"BB-DirTree\"\n```\n\n## DirTree usage\n================\n\n##### _**Windows:**_\n\n```bash\npy -m bbdirtree [OPTIONS] [ARGS]\n```\n\n##### _**Linux/Mac:**_\n\n```bash\npython -m bbdirtree [OPTIONS] [ARGS]\n```\n\n### _**Options:**_\n\n**Short**  | **Long**       | **Description**\n---------- | -------------- | ---------------------------------------------------------\n-b         |   --base-dir   |  Set base directory <br> *Uses current directory if not specified*\n-d         |   --depth      |  Integer to set the depth of directory tree <br> *ex: '0' will only print the base directory list*\n-D         |   --dotfiles   |  Include hidden files in tree\n-e         |   --exclude    |  Filenames/directories to exclude from the tree <br> *See Exclusions*\n-h         |   --help       |  This help message\n-q         |   --qt-html    |  Print in html format for use with QT\n-r         |   --regex      |  Use regex to include/exclude files/directories in tree <br> *See Regex*\n\n>It is recommended to quote all paths\n\n### *Exclusions*\n\n>Provide names of files or directories to exclude. To exclude multiple files/directories, quote entire list and seperate with a colon (**:**). Add a forward slash (**/**) to specify a directory name to exclude.\n\n##### **Example:**\n  \n```bash\npython -m bbdirtree --exclude \"excluded dir:excluded file\"\n```\n\n### *Regex*\n\n>Prefix regex with *include=* or *exclude=*\n\n>Seperate each regex with a space, quoting each individual argument.\n\n##### _**Examples:**_\n\n```bash\npython -m bbdirtree --regex \"exclude=.*\\.ini$\"\n\n    # will exclude any files that have a *.ini* extension.\n\npython -m bbdirtree --regex \"include=.*\\.mp3$\"\n\n    # will include only files with a *.mp3* extension.\n```\n\n>This has no effect on directories\n\n>Multiple regex can be used by specifying **--regex** multiple times.\n\n## License\n==========\n\n<pre>\n    MIT License\n\n    Copyright (c) [year] [fullname]\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in all\n    copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.\n</pre>\n\n## CHANGELOG\n============\n\n#### v0.1.0 - 5-29-2022\n\n- initial release\n\n#### v0.1.1 - 5-30-2022\n\n- changed name from DirTree to BB-DirTree\n- added README.md\n\n#### v0.1.2 - 5-31-2022\n\n- added a changelog to README.md\n- made corrections to help message\n\n#### v0.1.3 - 5-31-2022\n\n- added support for windows hidden files\n\n#### v0.1.5 - 5-31-2022\n\n- made corrections to help message\n\n#### v0.5.7 - 6-7-2022\n\n- changed color of files in html output\n- small changes to output format\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Create a nice looking directory tree with options",
    "version": "0.1.7",
    "split_keywords": [
        "script",
        "qt",
        "files"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "0e127f2c4e23cd828307ab578c15b630",
                "sha256": "f6e16647e78a4beff2a86694301cdf311d89bf9ef460cb3f4c685ed78b4023c5"
            },
            "downloads": -1,
            "filename": "BB_DirTree-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0e127f2c4e23cd828307ab578c15b630",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 10010,
            "upload_time": "2022-06-07T10:30:50",
            "upload_time_iso_8601": "2022-06-07T10:30:50.595342Z",
            "url": "https://files.pythonhosted.org/packages/19/02/5e3c59ef464c763ccc0a7ea8c2b40ab7456d72456269f171f915421906bb/BB_DirTree-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "6b8b89ab0e41dd32b55f93482564e152",
                "sha256": "1f6394a8b736b506d69447372133776ff27675e0eee795773e567ae2f9fc8bcb"
            },
            "downloads": -1,
            "filename": "BB-DirTree-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "6b8b89ab0e41dd32b55f93482564e152",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 8168,
            "upload_time": "2022-06-07T10:30:48",
            "upload_time_iso_8601": "2022-06-07T10:30:48.862634Z",
            "url": "https://files.pythonhosted.org/packages/99/28/666528488b883bdde8ac2f5ed480166d4a9a30d02f8079f44585f20b932b/BB-DirTree-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-06-07 10:30:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "bb-dirtree"
}
        
Elapsed time: 0.33906s