original_docstring: Instantiate a connection to the InfluxDB.
docstring: Instantiate a connection to the InfluxDB.
docstring_tokens: Instantiate a connection to the InfluxDB .
code: def mutilscan(host, port, path):
      """Instantiate a connection to the InfluxDB."""
      user = 'root'
      password = 'root'
      dbname = 'test'
      thread_count = 10
      global start
      start = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
      global client
      client = DataFrameClient(host, port, user, password, dbname)
      client.create_database(dbname) 
      print("scanning. please wait...")
      
      for i in range(thread_count):
          t = influxThread(i)
          t.setDaemon(True)
          t.start()
      pathq.put(path)
code_tokens: def mutilscan ( host , port , path ) : user = 'root' password = 'root' dbname = 'test' thread_count = 10 global start start = datetime . datetime . now ( ) . strftime ( '%Y-%m-%d %H:%M:%S' ) global client client = DataFrameClient ( host , port , user , password , dbname ) client . create_database ( dbname ) print ( "scanning. please wait..." ) for i in range ( thread_count ) : t = influxThread ( i ) t . setDaemon ( True ) t . start ( ) pathq . put ( path )
short_docstring: Instantiate a connection to the InfluxDB.
short_docstring_tokens: Instantiate a connection to the InfluxDB .
comment: """Instantiate a connection to the InfluxDB."""