Releasing ptop 1.0 : A task manager written using Python

ptop working image

“Maintaining projects is harder than bootstrapping them.”

I failed to multitask and got left behind on development. I made multiple attempts in the following years and narrowed down the issues list a bit. But, failed to roll out a stable release. Most of those times, my coding habits were a overkill lacking consistency and pushed me in a procrastination loop. I gave up and tried back many times towards the goal of bumping ptop but eventually failed due to lack of consistency and hurrying up towards the goal. This made me understand my second lesson as a software developer.

“Maintaining projects is all about consistency and developing habits.”

Finally, I decided to develop a habit and committed on a few days on weekly basis during this November and was able to release it.

A glance at architecture of ptop

At its core ptop is built using two main libraries npyscreen and psutil. npyscreen is used for drawing interfaces on terminal while psutil is used for getting information about Disk Usage, Memory Usage, CPU Usage, Processes etc. from the system. ptop has a pluggable architecture utilising Sensor classes to get system information with desired refresh rates, for eg. Disk Sensor which gives information about disk usage is implemented like this:

New features in ptop v1.0

ptop 1.0 is bundled with an awesome set of features like:

  • Information about files and system ports used by a process
  • Process search
  • Responsiveness in-accordance with terminal resizing
  • Automatic upgrades to newer versions
  • Network activity monitoring
  • Python3 and MacOS X compatibility



SWE @Google | OSS fan | Distributed Systems, Scalability & Performance | Prev @Koinex & @Paypal | IIT BHU’16

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ankush Sharma

Ankush Sharma


SWE @Google | OSS fan | Distributed Systems, Scalability & Performance | Prev @Koinex & @Paypal | IIT BHU’16