Python Delete GIT tags from local and remote branch Problem statement: Recently at work we have been playing around with the concept of automated builds and one build (master build) kicking off builds for multiple projects. The master build that kicked off
Python Automating Github releases via Jenkins Recently at work we were discussing releasing internal python artifacts to Github. Github has the concept of releases[1]. Releases are a workflow for shipping software to end users. Releases are first-class objects
Python PIP install module from custom PyPi server Once you have your packages installed to your custom pypi server, you can have your pip refer to it like so: a. If you use requirements.txt to install your module: Sample requirements.
Python Bottle after_request hook does not provide correct status_code Issue: I have a Bottle application where I raise HTTPResponse in case of an error. Simplified version of the code provided below: Now, when I hit the URL: http://localhost:8080/error I
Python How to display thread id in python logs You can automatically add thread ids to your log statements using Python's logging module with LogRecord. LogRecord provides 2 attributes for thread related information: threadName and thread. %(thread)d : Thread ID (if available)