software

Ngoto – A Tool For Python Developers

“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.

Example:

1. Install Module

Using pip or pip3, install the ‘ngoto’ module.

pip install ngoto

2. Example Code

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.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

How AI Puts Data Security at Risk

Artificial Intelligence (AI) is changing how industries operate, automating processes, and driving new innovations. However,…

19 hours ago

The Evolution of Cloud Technology: Where We Started and Where We’re Headed

Image credit:pexels.com If you think back to the early days of personal computing, you probably…

5 days ago

The Evolution of Online Finance Tools In a Tech-Driven World

In an era defined by technological innovation, the way people handle and understand money has…

5 days ago

A Complete Guide to Lenso.ai and Its Reverse Image Search Capabilities

The online world becomes more visually driven with every passing year. Images spread across websites,…

6 days ago

How Web Application Firewalls (WAFs) Work

General Working of a Web Application Firewall (WAF) A Web Application Firewall (WAF) acts as…

1 month ago

How to Send POST Requests Using curl in Linux

How to Send POST Requests Using curl in Linux If you work with APIs, servers,…

1 month ago