Skip to main content

Ngoto module

Project description

Ngoto

Maintainability

Codacy Badge

Supported Python versions

version-1.3

platforms

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.core.util.interface import plugin, command, task, Ngoto





class Basic():

    """ Basic commands for ngoto eg. exit, clear, back"""

    

    @classmethod

    @plugin(name='Tester', desc='Tester Plugin', folder='Random')

    def tester(self, logger):

        logger.info(f'Plugin ran', program='Tester')



    @classmethod

    @command(name='test', aliases=['t'], desc='Tests command')

    def test(self, pos, _, logger):

        logger.info(f'Plugin ran', program='Tester')



    @classmethod

    @task(name='TaskTest', delay=30, id='tasktest', os=['Windows'],

          desc="Tests task crfeation")

    def pc_usage(self):

        from ngoto import notify

        notify('Tester", "Testing task creation)





ngoto = Ngoto()

ngoto.load_cogs([Basic()])

ngoto.main()

Project details


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.37.tar.gz (220.9 kB view details)

Uploaded Source

Built Distribution

Ngoto-0.0.37-py3-none-any.whl (253.8 kB view details)

Uploaded Python 3

File details

Details for the file Ngoto-0.0.37.tar.gz.

File metadata

  • Download URL: Ngoto-0.0.37.tar.gz
  • Upload date:
  • Size: 220.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for Ngoto-0.0.37.tar.gz
Algorithm Hash digest
SHA256 63ecf495886f4388a662c8264186bea3a4be47fa0ca78cf8f48e5c1f8d16ed27
MD5 769f8551b352bd134c4ddbf154005009
BLAKE2b-256 60c854d31514b3b06022d49931a80c6f3c4315a290b6c26d4f77b02651bdf46b

See more details on using hashes here.

File details

Details for the file Ngoto-0.0.37-py3-none-any.whl.

File metadata

  • Download URL: Ngoto-0.0.37-py3-none-any.whl
  • Upload date:
  • Size: 253.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for Ngoto-0.0.37-py3-none-any.whl
Algorithm Hash digest
SHA256 bd9c5c6f989450ebbc59c8cd28b40f560fa09c567d907d1bdb5eeb04e53a49af
MD5 2d07e2f865010f62cc086a3d8041c97b
BLAKE2b-256 2bd320690ec8ffe386fd05377c9cd23524039463338f5676b103fb190d1903af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page