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


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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: Ngoto-0.0.39.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.39.tar.gz
Algorithm Hash digest
SHA256 198e42439ebf9c276c60250206a2ba59e8469ba4843268287b5f2efa63c45a9d
MD5 a108afec5e2f9deefc8382900652f586
BLAKE2b-256 7bb81d46b105eb0994e55d77a3884661596b92aac6feada67551ab5c6231f21c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Ngoto-0.0.39-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.39-py3-none-any.whl
Algorithm Hash digest
SHA256 f2477b3bce25dd029ccf756a80865283c31a25d7bfa45c8d1d77ebc5830443c1
MD5 308168dc327024186b72218878b9f10f
BLAKE2b-256 002841cda7c27a0cd8ac59e3f4eb9ac2d04d0068039821e69e585563c700af78

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