Thank you for the tip. The partnership is called "O'Reilly for Public Libraries". I just logged onto the full O’Reilly Learning platform through my San Francisco public library account.
Just a heads up, you are not getting the full library from San Francisco public library. There are multiple levels of subscriptions offered to libraries. SFPL gets about most of the books, while san mateo has a better subscription and get's more. I have never seen any state library offer the full Oreilly library, but some colleges and the military libraries offer full access. SFPL is missing many of the newer books that have been released.
My local library Safaribooks has very limited selections compared with a paid O’Reilly subscription, the most obvious one is there is no video content.