Tag Archive
Python
Discover 5 stories with “Python” Tag.

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 multiple builds would kick off builds for
Read More

Recently at work we were discussing releasing internal python artifacts to Github. Github has the concept of releases. Releases are a workflow for shipping software to end users. Releases are first-class objects with changelogs and binary assets that present a
Read More

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.txt: --find-links http://10.10.161.9:
Read More

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 get: APP 1 - Before Request http:
Read More

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). %(threadName)s : Thread name (if available). For
Read More