Skip to content

Commit

Permalink
fix: rename from ltop --> lutop
Browse files Browse the repository at this point in the history
  • Loading branch information
barkhayot committed Jul 13, 2024
1 parent 66d539c commit 340a6f8
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 73 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Barkhayot Juraev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ltop User Manual
# lutop User Manual

## Introduction

Welcome to ltop (Lightweight System Monitor), a terminal-based system monitoring application inspired by Unix `top` command and designed using Python and curses library.
Welcome to lutop (Lightweight System Monitor), a terminal-based system monitoring application inspired by Unix `top` command and designed using Python and curses library.

## Table of Contents

Expand All @@ -21,24 +21,24 @@ Welcome to ltop (Lightweight System Monitor), a terminal-based system monitoring
- pip (Python package installer)
- curses (Python standard library for terminal handling)

### Install ltop
### Install lutop

1. Clone the repository:

```bash
git clone https://github.com/barkhayot/ltop.git
cd ltop
git clone https://github.com/barkhayot/lutop.git
cd lutop
```

2. Install dependencies:
```bash
pip install -r requirements.txt
```
## Usage
To start ltop, simply run the following command in your terminal:
To start lutop, simply run the following command in your terminal:

```bash
python ltop.py
python lutop.py
```
### Key Commands
- Quit: Press Ctrl + D to quit the application.
Expand Down
1 change: 1 addition & 0 deletions lutop/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .lutop import main
File renamed without changes.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from setuptools import setup, find_packages

setup(
name="ltop",
name="lutop",
version="1.0.0",
packages=find_packages(),
install_requires=[
"psutil",
],
entry_points={
"console_scripts": [
"ltop = ltop.__main__:main",
"lutop = lutop.lutop:main",
],
},
python_requires=">=3.6",
Expand All @@ -18,10 +18,11 @@
long_description_content_type="text/markdown",
author="Barkhayot Juraev",
author_email="barkhayotoff@email.com",
url="https://github.com/barkhayot/ltop",
url="https://github.com/barkhayot/lutop",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
keywords="system monitor processes",
)
63 changes: 0 additions & 63 deletions tests/test_ltop.py

This file was deleted.

0 comments on commit 340a6f8

Please sign in to comment.