The council or other governing body of any town or city may provide public scales and an inspection of weights and measures and may provide punishment for persons, firms and corporations using fraudulent weights and measures.