Code Monkey home page Code Monkey logo

ptop's Introduction

ptop

An awesome task manager written in python. A more awesome top like thing in your terminal !

ptop-image

Inspired by vtop

Installing

$ pip install ptop

Note: Python 2.X supported yet, no support for python3.

If Python3 is your system default:

pip2.7 install ptop

Usage

$ ptop -t <theme>

Supported themes

  • colorful
  • elegant
  • simple
  • dark
  • light etc.

Changelog

  • version 0.0.6 fixes index errors.Issue4
  • A default theme option has been set.Issue5
  • Though there are some known issues still left. ๐Ÿ˜ฐ

Some Screenshots

ptop-1

ptop-2

ptop-3

Help

$ ptop -h

Known Issues

  • Sometimes garbage text appears on the screen, press Ctrl + L to clear. (Anybody having idea about this ?)
  • Though ptop is responsive across various terminal sizes as positioning is done according to terminal sizes, but sometimes things may break. If so, then try in a terminal of bigger size.

Development

$ git clone https://github.com/black-perl/ptop
$ cd ptop   
$ python setup.py develop

Note : ptop will create a log file called .ptop.log in the home directory of the user.

Main modules :

  • ptop.core : Defines a basic Plugin class that other plugins in the ptop.plugins inherit.
  • ptop.interfaces : The interface to the ptop built using npyscreen.
  • ptop.plugins : This module contains all the plugin sensors supported i.e Disk Sensor,Memory Sensor,Process Sensor, etc. ( Any new plugin should be added here).
  • ptop.statistics : Generate continuous statistics using background thread jobs by locating plugins in the plugins directory.
  • ptop.utils : Custom thread classes.

Main Dependencies

Contributions

  • Pull requests are awesome and always welcome. Please use the issue tracker to report any bugs or file feature requests.
  • I really want to move the project forward to the next stable release but I am kind of busy nowadays, so not able to catch up on things quickly. So, contributions are required and moreover if someone wants to be a core contributor, let's have a quick chat on things. Yeah, send me an email. ๐Ÿ˜ƒ

License

MIT ยฉ Ankush Sharma

ptop's People

Contributors

darxtrix avatar bryant1410 avatar livibetter avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.