MIT is a more suitable license

See this:
https://wiki.creativecommons.org/Frequently_Asked_Questions#Can_I_apply_
a_Creative_Commons_license_to_software.3F

“We recommend against using Creative Commons licenses for software”