Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pytl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytl

Command line tool that parses python file, enumerates classes and methods as a tree structure.

  • 0.2.4
  • PyPI
  • Socket score

Maintainers
1

pytl

0.2.4 MIT License

Overview

Command line tool that parses python file, enumerates classes and methods as a tree structure.

Usage

$ 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

$ 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

$ pytl test.py -c

 2: class Test

Install

$ pip install pytl

Licence

MIT

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc