dedsecurity / codes

Ded Security Codes is an artificial intelligence tool developed by Ded Security to assist users through code auto-completion.

Home Page:https://www.dedsecurity.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ded Security Codes

Website:  https://www.dedsecurity.com
Author:   Simon Kinjo
Maintenance:  Simon Kinjo

Ded Security Codes is an artificial intelligence tool developed by Ded Security to assist users through code auto-completion.


Installation

Make sure you have installed the dependencies:

  • python 3.7.4
  • git

Clone the source with git:

  git clone https://github.com/dedsecurity/codes
  cd codes

Use the package manager pip to install the libraries.

pip install -r requirements.txt

How to use it ?

python main.py

Screen

""" create a web server


    from http.server import HTTPServer, BaseHTTPRequestHandler

    class Serv(BaseHTTPRequestHandler):

        def do_GET(self):
            if self.path == '/':
                self.path = 'index.html' # your file
            try:
                file_to_open = open(self.path[1:]).read()
                self.send_response(200)

            except:
                file_to_open = "File not find"
                self.send_response(404)
            self.end_headers()
            self.wfile.write(bytes(file_to_open, 'utf-8'))

    httpd = HTTPServer(('localhost', 8000), Serv)
    httpd.serve_forever()

""" 

Contributing

Feel free to submitting pull requests to us.

License

MIT

About

Ded Security Codes is an artificial intelligence tool developed by Ded Security to assist users through code auto-completion.

https://www.dedsecurity.com

License:MIT License


Languages

Language:Python 100.0%