~/Python

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Here you'll find 57 posts about Python .

February, 2024

Quick Python: Refactoring Exceptions with Context Manager


January, 2024

Marshalling Python Dataclasses

Python Dataclasses: Derived Fields and Validation


May, 2023

Avoid Mutating Items within a Set (Python Edition)


December, 2022

Quick Python: Check Submodule Load


May, 2022

Python Argument Parser


April, 2022

Networkx Random Sample Graph


January, 2022

Tree-based Plots in NetworkX


March, 2021

Detect Python Version


October, 2020

C++ within Python with SWIG

Reverse One-Hot Encode

Tail Call Optimization in Python

Manage Python Applications


September, 2020

How to get list of IP Addresses in Python


July, 2020

Jupyter with Pyenv

Quick Python: Async Callbacks


June, 2020

Quick Python: Export Decorator


May, 2020

Quick Python: __all__

Python Packaging: Optional Dependencies


April, 2020

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


March, 2020

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


February, 2020

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


January, 2020

Quick Python: Abstract Classes

Quick Python: Interrupts

Offline Pip Packages

Managing Python Versions with Pyenv

Python Path Hacks


October, 2019

Python Typing

Custom Python REPL

NotImplemented in Python


August, 2019

Systemd with Python environments


May, 2019

Symmetric Groups in Python

Python Virtual Environments