“Ngoto” is an innovative Python tool designed to enhance coding efficiency through the integration of plugins, commands, and tasks.
It serves as a versatile development tool for creating modular and maintainable software. Aimed at educational use, this tool emphasizes responsibility in its application, ensuring developers understand the ethical implications of their work.
This tool is solely for educational purposes. Developer will not be responsible for any misuse of the tool.
Using pip or pip3, install the ‘ngoto’ module.
pip install ngoto The following code is a example on how to create each of three event types, as well as start the tool.
from ngoto import plugin, command, task, Ngoto
class Basic():
@plugin(name='Tester', desc='Tester Plugin', folder='Random')
def tester(self, logger):
logger.info(f'Plugin ran', program='Test')
@command(name='test', aliases=['t'], desc='Tests command')
def test(self, logger, options):
logger.info(f'Command ran', program='Test')
@task(name='TaskTest', desc="Tests task creation", delay=3, id='test')
def testing(self):
self.logger.info(f'Task logger test ran', program='Test')
return 'Task ran'
ngoto = Ngoto()
ngoto.load_cogs([Basic()])
ngoto.start() For more information click here.
The xargs command in Linux reads items from standard input and passes them as arguments to another…
The locate command in Linux searches for files and directories by name. It queries a pre-built database…
Most modern Linux distributions use systemd as the default service manager. Knowing how to list…
Truncating a file in Linux means removing its contents while leaving the file itself in…
The ss command in Linux lists open sockets and active network connections. It replaced the deprecated netstat command and…
The ftp command in Linux connects to a remote FTP server and transfers files. FTP transmits everything…