The study of elastic bremsstrahlung and electron tagging in electron-proton or ion collisions is gaining importance with the planned construction of several experimental facilities focused on deep-inelastic scattering (DIS) measurements. This paper describes a program which generates bremsstrahlung photons in electron-proton and electron-ion interactions as well as scattered electrons in bremsstrahlung processes and in a quasi-real photon approximation to the general DIS process. The effects of electron beam divergence and the spread of the interaction vertex are implemented. The program can be used as an input to simulations of instrumentation for bremsstrahlung photon detection, luminosity measurements, electron tagging, and the determination of the cross sections of corresponding processes. Program summaryProgram Title: GETaLMCPC Library link to program files:https://doi.org/10.17632/pynthy4j43.1Developer's repository link:https://github.com/adamjaro/GETaLMLicensing provisions: GNU GPLv3Programming language: PythonExternal routines: ROOTNature of problem: Photons due to relativistic bremsstrahlung processes are produced in collisions of electrons with protons and with ions. Detection of these bremsstrahlung photons is a promising method for luminosity measurements. The detection of electrons scattered at small angles will impact these measurements. The program generates the bremsstrahlung photons along with final state electrons in the bremsstrahlung process and in an approximation to general electron-proton scattering.Solution method: Analytic formulas for the cross sections of the specific processes and the relativistic kinematics are used to generate the photons and scattered electrons. A set of effects imposed by the interacting beams can be applied to the generated particles. The output of the program is created using the ROOT program. Total cross sections are obtained by integrating the specific cross section formulas over a given kinematic region.Additional comments including restrictions and unusual features: Currently the electron and proton (ion) beams are assumed to collide head-on, no crossing angle is considered.