diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 73f69e0..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml -# Editor-based HTTP Client requests -/httpRequests/ diff --git a/.idea/Directory-Tree.iml b/.idea/Directory-Tree.iml deleted file mode 100644 index 99960a6..0000000 --- a/.idea/Directory-Tree.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/aws.xml b/.idea/aws.xml deleted file mode 100644 index e14a206..0000000 --- a/.idea/aws.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index ff3779c..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 105ce2d..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index f4e3d14..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 0455ee8..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/dist/directory_tree-0.0.1-py3-none-any.whl b/dist/directory_tree-0.0.1-py3-none-any.whl deleted file mode 100644 index d3bf4e5..0000000 Binary files a/dist/directory_tree-0.0.1-py3-none-any.whl and /dev/null differ diff --git a/dist/directory_tree-0.0.1.tar.gz b/dist/directory_tree-0.0.1.tar.gz deleted file mode 100644 index 274e859..0000000 Binary files a/dist/directory_tree-0.0.1.tar.gz and /dev/null differ diff --git a/dist/directory_tree-0.0.2-py3-none-any.whl b/dist/directory_tree-0.0.2-py3-none-any.whl deleted file mode 100644 index 0d95d2d..0000000 Binary files a/dist/directory_tree-0.0.2-py3-none-any.whl and /dev/null differ diff --git a/dist/directory_tree-0.0.2.tar.gz b/dist/directory_tree-0.0.2.tar.gz deleted file mode 100644 index 9b61d18..0000000 Binary files a/dist/directory_tree-0.0.2.tar.gz and /dev/null differ diff --git a/dist/directory_tree-0.0.3-py3-none-any.whl b/dist/directory_tree-0.0.3-py3-none-any.whl deleted file mode 100644 index bcb4e86..0000000 Binary files a/dist/directory_tree-0.0.3-py3-none-any.whl and /dev/null differ diff --git a/dist/directory_tree-0.0.3.tar.gz b/dist/directory_tree-0.0.3.tar.gz deleted file mode 100644 index 08f4863..0000000 Binary files a/dist/directory_tree-0.0.3.tar.gz and /dev/null differ diff --git a/dist/directory_tree-0.0.4-py3-none-any.whl b/dist/directory_tree-0.0.4-py3-none-any.whl deleted file mode 100644 index e4a2b86..0000000 Binary files a/dist/directory_tree-0.0.4-py3-none-any.whl and /dev/null differ diff --git a/dist/directory_tree-0.0.4.tar.gz b/dist/directory_tree-0.0.4.tar.gz deleted file mode 100644 index 9941139..0000000 Binary files a/dist/directory_tree-0.0.4.tar.gz and /dev/null differ diff --git a/src/directory_tree.egg-info/PKG-INFO b/src/directory_tree.egg-info/PKG-INFO deleted file mode 100644 index 8782193..0000000 --- a/src/directory_tree.egg-info/PKG-INFO +++ /dev/null @@ -1,165 +0,0 @@ -Metadata-Version: 2.1 -Name: directory-tree -Version: 0.0.4 -Summary: Utility Package that displays out the Tree Structure of a Particular Directory. -Home-page: https://github.com/rahulbordoloi/Directory-Tree/ -Author: Rahul Bordoloi -Author-email: rahulbordoloi24@gmail.com -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Operating System :: OS Independent -Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3) -Classifier: Topic :: Utilities -Classifier: Natural Language :: English -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Customer Service -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: End Users/Desktop -Description-Content-Type: text/markdown -Provides-Extra: dev -License-File: LICENSE - -# Directory Tree Package - -[![Setup Automated](https://img.shields.io/badge/setup-automated-blue?logo=gitpod)](https://gitpod.io/from-referrer/) -![Test passing](https://img.shields.io/badge/Tests-passing-brightgreen.svg) -![Python Version](https://img.shields.io/badge/python-3.6+-brightgreen.svg) -[![PyPI version](https://badge.fury.io/py/directory-tree.svg)](https://badge.fury.io/py/directory-tree) -![Last Commit](https://img.shields.io/github/last-commit/rahulbordoloi/Directory-Tree?style=flat-square) -[![Open Source Love png2](https://badges.frapsoft.com/os/v2/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/) - - -## About - -Want to display your project/current working directory as a neat tree? No Worries! - -`Directory Tree` is a simple python utility package that displays out the Tree Structure of a user-defined directory. - - Currently Available for All Platforms. - -## Installation - -Run the following command on your terminal to install `directory_tree`: - -1 . Installing the package using `pip`: -```python -pip install directory_tree -``` -OR - -```python -pip3 install directory_tree -``` - -2 . Cloning the repository: - -``` -git clone https://github.com/rahulbordoloi/Directory-Tree/ -cd Directory-Tree -pip install -e . -``` - -## Usage - -

Arguments

- - -| __Parameters__ | __Description__ | -| --- | --- | -| __dir_path__ | Refers to the Directory Path of Operation. By default, refers to the Current Working Directory. | -| __string_rep__ | Refers to whether you just want the direct output or a string representation of the same. | - - -Run this script in order to print out the tree structure of a user-defined directory! - -```python -# Importing Libraries -from directory_tree import display_tree - -# Main Method -if __name__ == '__main__': - display_tree(directory_path) -``` - -* Here by default, the `directory_path` is the current working directory (CWD) unless specified by the user. - -## Output - -1. For Current Working Directory [DEFAULT] [String Representation = `False`] - -```python ->>> from directory_tree import display_tree ->>> display_tree() - -$ Operating System : Windows -$ Path : C:\Personal\Work\Directory-Tree\Test\Main Directory - -*************** Directory Tree *************** - -Main Directory/ -├── Directory 1/ -│ └── Directory 2/ -│ ├── Directory 3/ -│ │ └── Directory 4/ -│ │ └── Hello World.txt -│ └── Say World.txt -├── Directory A/ -│ └── Hmm.txt -├── directory-tree-print.cpp -├── letseee.txt -└── printTree.exe - -``` - -2. For User Specified Directory [Argument] [String Representation = `True`] - -```python ->>> from directory_tree import display_tree ->>> stringRepresentation = display_tree('C:\Personal\Work\Directory-Tree\Test\Main Directory', string_rep = True) ->>> print(stringRepresentation) - -$ Operating System : Windows -$ Path : C:\Personal\Work\Directory-Tree\Test\Main Directory - -*************** Directory Tree *************** - -Main Directory/ -├── Directory 1/ -│ └── Directory 2/ -│ ├── Directory 3/ -│ │ └── Directory 4/ -│ │ └── Hello World.txt -│ └── Say World.txt -├── Directory A/ -│ └── Hmm.txt -├── directory-tree-print.cpp -├── letseee.txt -└── printTree.exe - -``` - -## Developing `Directory Tree` - -To install `directory_tree`, along with the tools you need to develop and run tests, and execute the following in your virtualenv: - -```bash -$ pip install -e .[dev] -``` - -## Security & Bugs - -* `Directory Tree` uses recursion. It will raise a `RecursionError` on really deep directory trees. -* As the tree is lazily evaluated, it should behave well on really wide directory trees. Immediate children of a given directory are not lazily evaluated, though. It would be prompted to the last. -* Currently `Directory Tree` doesn't support the functionality of ignoring files/directories in a particular path, so will print every files-directories present in the given path. -* If you're a Windows user, it is always advised to use `\\` instead of `\` in the address as using `\` might catchup escape sequences and corrupt the address string. -## Contact Author - -Name : __Rahul Bordoloi__
-Website : https://rahulbordoloi.me
-Email : rahulbordoloi24@gmail.com
- -[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/) -[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://github.com/rahulbordoloi/) diff --git a/src/directory_tree.egg-info/SOURCES.txt b/src/directory_tree.egg-info/SOURCES.txt deleted file mode 100644 index 6857c9b..0000000 --- a/src/directory_tree.egg-info/SOURCES.txt +++ /dev/null @@ -1,21 +0,0 @@ -CHANGELOG.md -CODE_OF_CONDUCT.md -LICENSE -MANIFEST.in -README.md -setup.py -Test/v0_0_2_Test.py -Test/Main Directory/letseee.txt -Test/Main Directory/Directory 1/Directory 2/Say World.txt -Test/Main Directory/Directory 1/Directory 2/Directory 3/Directory 4/Hello World.txt -Test/Main Directory/Directory A/Hmm.txt -src/directory_tree.py -src/directory_tree.egg-info/PKG-INFO -src/directory_tree.egg-info/SOURCES.txt -src/directory_tree.egg-info/dependency_links.txt -src/directory_tree.egg-info/requires.txt -src/directory_tree.egg-info/top_level.txt -src/tree.egg-info/SOURCES.txt -src/tree.egg-info/dependency_links.txt -src/tree.egg-info/requires.txt -src/tree.egg-info/top_level.txt \ No newline at end of file diff --git a/src/directory_tree.egg-info/dependency_links.txt b/src/directory_tree.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/src/directory_tree.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/directory_tree.egg-info/requires.txt b/src/directory_tree.egg-info/requires.txt deleted file mode 100644 index f35eed7..0000000 --- a/src/directory_tree.egg-info/requires.txt +++ /dev/null @@ -1,3 +0,0 @@ - -[dev] -pytest>=3.7 diff --git a/src/directory_tree.egg-info/top_level.txt b/src/directory_tree.egg-info/top_level.txt deleted file mode 100644 index f689a91..0000000 --- a/src/directory_tree.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -directory_tree