City and county codes are always available on city or county websites. Either the entity publishes their code on their own website (such as Phoenix and Maricopa County), or they contract with a commercial publisher to make it available (Tucson and Pima County).
Tucson contracts with American Legal Publishing Corporation to provide the Tucson City Code to the public.
You can search it or navigate through the table of contents.
The Pima County Code is also provided by American Legal Publishing Corporation.