<commit_before># Author: <NAME>
# Released under MIT license 

#!/usr/bin/python



from StepperMotorDriver import MotorControl
import mosquitto
from uuid import getnode as get_mac
import sys



class MQTTMotorControl(mosquitto.Mosquitto,MotorControl):
  
	def __init__(self,Pins = [24,25,8,7],ip = "localhost", port = 1883, clientId = "MQTT2StepperMotor", user = "driver", password = "<PASSWORD>", prefix = "StepperMotor"):
		mosquitto.Mosquitto.__init__(self,clientId)
		
		MotorControl.__init__(self,Pins):
    
    		#Get mac adress. 
    		mac = get_mac()
    
    		#Make a number based on pins used.
    		pinid = ""
    		for pin in Pins:<commit_msg>Bugfix<commit_after>#!/usr/bin/python

# Author: <NAME>
# Released under MIT license 




from StepperMotorDriver import MotorControl
import mosquitto
from uuid import getnode as get_mac
import sys



class MQTTMotorControl(mosquitto.Mosquitto,MotorControl):
  
	def __init__(self,Pins = [24,25,8,7],ip = "localhost", port = 1883, clientId = "MQTT2StepperMotor", user = "driver", password = "<PASSWORD>", prefix = "StepperMotor"):
		mosquitto.Mosquitto.__init__(self,clientId)
		
		MotorControl.__init__(self,Pins):
    
    		#Get mac adress. 
    		mac = get_mac()
    
    		#Make a number based on pins used.
    		pinid = ""
    		for pin in Pins:
{'fraction_non_alphanumeric': 0.11145038167938931, 'fraction_numerical': 0.016793893129770993, 'mean_word_length': 3.7846715328467155, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1314982', 'n_tokens_mistral': 526, 'n_tokens_neox': 468, 'n_words': 112}