There is no useful closed form for the general case. But there are simple algorithms to compute a partial fraction decomposition without requiring polynomial factorization - only gcds (recall a polynomial ring over a field $\,k\,$ enjoys Euclidean division with smaller remainders, so has gcds).
First we can use gcds to compute a squarefree fractorization of the denominator
$$ D = \prod_k B_k^k,\ \ B_k\ {\rm squarefree},\ \ \gcd(B_i,B_j) = 1\,\ {\rm if}\,\ i\neq j$$
Next we can split apart coprime factors $\,B_i\,$ in the denominator by using the extended Euclidean algorithm to compute the Bezout equation for their gcd follows
$$\begin{align} &\gcd(B,C) = 1\,\Rightarrow\, B\bar B+C\bar C = 1,\ \ {\rm for}\ \bar B,\bar C\in k[X]\\[0.5em]
\Rightarrow\ \ &\dfrac{A}{BC}\, =\, \dfrac{A(B\bar B+C\bar C)}{BC} = \dfrac{A\bar B}C + \dfrac{A\bar C}{B}\end{align}$$
Finally the case where the denominator $= P^n$ is a power is handled in the usual way: iteratively apply the division algorithm to compute a $P$-adic expansion of the numerator, then divide by $P^n$
$$\begin{align} A\, &=\, a_0 + P q_0\\
&=\, a_0 + P(a_1 + P q_1)\\
&\ \ \vdots\qquad\ \vdots\\
&=\, a_0 + a_1 P + \cdots a_n P^n,\ \ \deg a_i < \deg P\\
\Rightarrow\ \dfrac{A}{P^n}\,&=\,\dfrac{a_0}{P^n}+\dfrac{a_1}{P^{n-1}}+\cdots+a_n
\end{align}$$
These ideas go back to Hermite, who employed them to integrate rational functions. Nowadays we know much more efficient algorithms, which you can find in many expositions on integration algorithms (transcendental case) in computer algebra literature, e.g. see Manuel Bronstein's book.