Ngoto module
Project description
Ngoto
Warning :warning:
This tool is solely for educational purposes. Developer will not be responsible for any misuse of the tool
Setup:
Using as Command line tool:
1. Clone Repo:
git clone https://github.com/HarryLudemann/Ngoto
2. Install Required Modules:
Move into downloaded Ngoto folder then run:
pip install -r requirements.txt
or
pip3 install -r requirements.txt
4. Run
Run 'python/python3 main.py' script:
python main.py
or
python3 main.py
Which will bring you to the following:
Example:
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, pos, options, logger):
logger.info(f'Command ran', program='Test')
@task(name='TaskTest', delay=30, id='test', os=['Windows'],
desc="Tests task creation")
def testing(self):
return ['Task ran', 'Test']
ngoto = Ngoto()
ngoto.load_cogs([Basic()])
ngoto.main()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Ngoto-0.0.39.tar.gz
(220.9 kB
view hashes)
Built Distribution
Ngoto-0.0.39-py3-none-any.whl
(253.8 kB
view hashes)