pytl
====
[](https://pypi.python.org/pypi/pytl/)
[](https://github.com/ryo-ma/pytl/blob/master/LICENSE)
## Overview
Command line tool that parses python file, enumerates classes and methods as a tree structure.
## Usage
``` bash
$ pytl test.py
2: class Test
3: |_def __init__(self)
6: |_def walk(self, distance)
9: |_def stop(self)
12: def method1()
13: |_def method2()
14: |_def method3()
15: |_def method4()
18: def main()
```
Show only the def line
``` bash
$ pytl test.py -d
3: def __init__(self)
6: def walk(self, distance)
9: def stop(self)
12: def method1()
13: |_def method2()
14: |_def method3()
15: |_def method4()
18: def main()
```
Show only the class line
``` bash
$ pytl test.py -c
2: class Test
```
## Install
``` bash
$ pip install pytl
```
## Licence
[MIT](https://github.com/ryo-ma/pytl/blob/master/LICENSE)
====
[](https://pypi.python.org/pypi/pytl/)
[](https://github.com/ryo-ma/pytl/blob/master/LICENSE)
## Overview
Command line tool that parses python file, enumerates classes and methods as a tree structure.
## Usage
``` bash
$ pytl test.py
2: class Test
3: |_def __init__(self)
6: |_def walk(self, distance)
9: |_def stop(self)
12: def method1()
13: |_def method2()
14: |_def method3()
15: |_def method4()
18: def main()
```
Show only the def line
``` bash
$ pytl test.py -d
3: def __init__(self)
6: def walk(self, distance)
9: def stop(self)
12: def method1()
13: |_def method2()
14: |_def method3()
15: |_def method4()
18: def main()
```
Show only the class line
``` bash
$ pytl test.py -c
2: class Test
```
## Install
``` bash
$ pip install pytl
```
## Licence
[MIT](https://github.com/ryo-ma/pytl/blob/master/LICENSE)
Release files for pytl 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytl-0.2.4.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytl-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:7.8 kB
Release files / pytl-0.2.4.tar.gz
| Download URL | pytl-0.2.4.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8507e2590ea56c83eb852c143d0f13c370510343f7e83c176d4644a5efb3154
|
|
BLAKE2b-256 checksum How to use checksums |
0d6c1a741e2c95a9e280ddfad7a94c724e6aac2e469ddcd4d12a6aa70bac0350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytl-0.2.4-py3-none-any.whl
| Download URL | pytl-0.2.4-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
202550d03982dcabfe1531d7e7d19f49ae8775ac24577298d1925ab9e65595d6
|
|
BLAKE2b-256 checksum How to use checksums |
253dd21e5d613ee1aaafcbfb1235e04c29a9b73a2633d4dac403cf296cc5bf64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |