├── .gitignore ├── LICENSE ├── Pipfile ├── README.md ├── jiofi ├── __init__.py └── jiofi.py ├── requirements.txt ├── setup.cfg └── setup.py /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea/ 3 | __pycache__/ 4 | dist/ 5 | build/ 6 | *.egg-info 7 | .cache/ 8 | .tox 9 | .coverage 10 | *.pyc 11 | *.egg 12 | venv 13 | .eggs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 ATHUL CYRIAC AJAY 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- 1 | [[source]] 2 | name = "pypi" 3 | url = "https://pypi.org/simple" 4 | verify_ssl = true 5 | 6 | [dev-packages] 7 | 8 | [packages] 9 | 10 | [requires] 11 | python_version = "3.7" 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Jiofi CLI 2 | 3 | Jiofi-CLI is a Command Line Interface to check your Jiofi Network from your terminal than using the web interface. It only shows very specific details like battery details, data usage and devices connected. 4 | 5 | ## Tested on 6 | 7 | - Jiofi4 8 | 9 | > Open an Issue or PR to contribute to and the testing of other Models 10 | 11 | ## Using it 12 | 13 | Install `jiofi` with `pip`. It works on Python version >=3.6. 14 | 15 | ```bash 16 | pip install jiofi --user 17 | ``` 18 | 19 | Once you installed it, run it by typing `jiofi` in your terminal. 20 | 21 | ``` 22 | $ jiofi 23 | ``` 24 | You'll be welcomed by the help page of jiofi 😄 25 | 26 | ```text 27 | NAME 28 | jiofi 29 | 30 | SYNOPSIS 31 | jiofi COMMAND 32 | 33 | COMMANDS 34 | COMMAND is one of the following: 35 | 36 | devices 37 | Prints a tabular view of all the connected devices in the network 38 | 39 | speed 40 | Prints the Current upload and download speed 41 | 42 | basic 43 | Get basic Details like Battery charge and state, no of connected devices and data used in