I'm trying to find references on general methods for evaluating Dirichlet $L$-functions at $s=1$, but it's proving a little harder to google than I'd hoped. Specifically I'm looking for any books or papers that go through methods for solving the following question: suppose I have a (possibly primitive) Dirichlet character $\chi$ of conductor $q$, what is the value of $L(1,\chi)$? Any insights anyone has about this that aren't a book or paper would also be very much appreciated.
This question has a good amount of detail on how to approach the problem, but it only covers odd characters. The Wikipedia page for the analytic class number formula also has this section, which gives closed forms for $L$-functions at $s=1$, but this is only for primitive characters with prime conductors (and possibly only for quadratic characters?) This is as much as I could find, and as for the more general cases I'm at a bit of a loss.
For primitive characters $\chi$ mod $m$, odd or even, a formula is given in Prop 3.4.8 of my Number Theory II notes.
If I have a character $\chi$ mod $m$ which is not primitive, but say comes from the primitive character $\chi'$ mod $m'$, then the values $\chi(p)$ and $\chi'(p)$ are only different if $p | m$ but $p \nmid m'$ (in which case $\chi(p) = 0$). So by the Euler product, we have $$ L(s, \chi) = \prod_p (1-\chi(p)p^{-s})^{-1} = \prod_{p | m, p \nmid m'} (1-\chi'(p)p^{-s}) \times L(s, \chi'). $$
Thus one can use the formula in the primitive case to compute $L(1,\chi')$ and consequently $$ L(1, \chi) = \prod_{p | m, p \nmid m'} (1-\chi'(p)p^{-1}) L(1,\chi'). $$