~/Python

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI, Writer of Tidbits, and Linux Enthusiast

Here you'll find 57 posts about Python .

2024

Quick Python: Refactoring Exceptions with Context Manager

Marshalling Python Dataclasses

Python Dataclasses: Derived Fields and Validation


2023

Avoid Mutating Items within a Set (Python Edition)


2022

Quick Python: Check Submodule Load

Python Argument Parser

Networkx Random Sample Graph

Tree-based Plots in NetworkX


2021

Detect Python Version


2020

C++ within Python with SWIG

Reverse One-Hot Encode

Tail Call Optimization in Python

Manage Python Applications

How to get list of IP Addresses in Python

Jupyter with Pyenv

Quick Python: Async Callbacks

Quick Python: Export Decorator

Quick Python: __all__

Python Packaging: Optional Dependencies

Quick Python: Cached Property

Quick Python: HTTP Server

Python Patterns: Subscribe

Iteratively Read CSV

Quick Python: Concurrent Futures

Pip Editable

Pip Config

Simple Async in Python with Gevent

Python asyncio

Quick Python: Dataclasses

Quick Python: Copy Decorator

Quick Python: Getters and Setters

Quick Python: Unit Testing

Quick Python: Decorators

Quick Python: Memoization

Disc Golf and PyMC3

Quick Python: Length of Iterables

Pyenv Build Flags

Sphinx & MathJax

Python Operator Overloads

Dbcli

Python: Set Interval

Python setup.py develop

Automate Python Test Suites with Tox

Testing your Python Application on Multiple Versions with Pyenv and Tox

Quick Python: List Files Recursively

Quick Python: Package Namespacing

Quick Python: Abstract Classes

Quick Python: Interrupts

Offline Pip Packages

Managing Python Versions with Pyenv

Python Path Hacks


2019

Python Typing

Custom Python REPL

NotImplemented in Python

Systemd with Python environments

Symmetric Groups in Python

Python Virtual Environments