How to use Python logging QueueHandler with dictConfig in Python 3.12Support was added for configuring the logging queue handler with dictConfig in Python 3.12. This means that we can junk all the messing…Aug 31, 2024Aug 31, 2024
Using asyncio start_tls in Python 3.11An upgradable stream starts life as a plain old socket connection, but is capable of being “upgraded” to use Transport Layer Security…May 23, 2023May 23, 2023
Reinventing the World Wide WebContent for web pages consists of HTML, JavaScript, CSS. These three technologies have enabled some fantastic content, but they also…May 21, 2023May 21, 2023
A Python client for .Net NegotiateStreamI find the .Net NegotiateStream class useful for internal services as it provides single sign on, authentication and basic encryption…Dec 21, 2022Dec 21, 2022
Secure Communication With Python SSL Certificate and AsyncioThe documentation for using ssl certificates with asyncio streams is distributed over a number of packages, and can be confusing at first…Jul 10, 2022Jul 10, 2022
Timezone-aware date manipulation for JavaScript in the BrowserThe browser knows about two timezones: the local timezone and UTC. What if you are in New York, and you want to know the time in Tokyo?Jun 25, 20221Jun 25, 20221
Adding Web Workers To The Static Site Created With React And PythonIn my previous articles I created a static site with react and python, then addressed issues of scalability. In this article I introduce…Jul 26, 2021Jul 26, 2021
Improving The Static Site Created With React And PythonIn a previous article I looked at how to create a static site using React and Python. There were a number of issues with the implementation…Jul 25, 2021Jul 25, 2021
Create a Static Site Using React Running PythonThis article shows how to create a React app that uses Python that runs as a static site. It uses React, material-ui, pyodide, Python and…Jul 24, 20211Jul 24, 20211
Graphene 3 Queries, Mutations & SubscriptionsThe next major release of Graphene (version 3) introduces support for asyncio methods. In this post I’ll write a small GraphQL service…Oct 8, 2020Oct 8, 2020