While it’s true the requirements for temporary wiring in the National Electrical Code (NEC) [Art. 590] are “relaxed” compared to those of permanent wiring, it’s not true that temporary means “slap it up” in any convenient manner. For example, if it involves a service (bringing power to the site) you must apply the requirements in Art. 230.
Staying Safe with Temporary Light and Power
If temporary power means bringing service to the site, you must apply the requirements of Art. 230.