Hiding BCC Recipients in Python MIME Emails

Posted by Julian on Wed 06 September 2017 in Tools • Tagged with python, tips, tricks, code, pybites, email, automation, MIME, bcc • 2 min read

How to actually hide the BCC recipients when sending an email with Python MIME.


Continue reading

Improve the Quality of Your Code with Better Code Hub

Posted by Bob on Wed 30 August 2017 in Tools • Tagged with bettercodehub, SIG, refactoring, code quality, clean code, software development, tools, platform • 5 min read

So you pushed your code to GitHub and deployed v1, congrats! But how maintainable is your code really? Do you have tests? Is your code modular? Are your methods short and concise? What if you could hit a button and a tool conveniently checks this for you? Free and integrated with GitHub? Enter Better Code Hub from Software Improvement Group ...


Continue reading

Making a Banner Generator With Pillow and Flask

Posted by Bob on Sat 19 August 2017 in Tools • Tagged with Pillow, Flask, Heroku, Flask-WTF, Flask-SQLAlchemy, challenges, PyBites Banner Generator, images • 4 min read

In this article I will take last week's banner.py Pillow script and integrate it into a Flask app.


Continue reading

Building a Karma Bot with Python and the Slack API

Posted by Bob on Sun 25 June 2017 in Tools • Tagged with Slack, karma, bot, API, picle, packaging, logging, Counter • 3 min read

We love Slack! But what if we can make it even cooler? Imagine: you are geeking out with your fellow developers on Slack and you want to give them credit. Or you can write "stupidsubject--" and it automagically shows "stupidsubject's karma decreased to -2". Enter Karma Bot. This is nothing new but building one myself was a great learning exercise and a fun tool we use on our Slack now.


Continue reading

How to Write a Simple Slack Bot to Monitor Your Brand on Twitter

Posted by Bob on Tue 25 April 2017 in Tools • Tagged with Twitter, Slack, Automation, monitoring, twython, TwythonStreamer, slacker, configparser, logging, brand, triggers • 3 min read

In this article I show you how to monitor Twitter and post alerts to a Slack channel. We built a nice tool to monitor whenever our domain gets mentioned on Twitter. The slacker and twython modules made this pretty easy. We also use configparser and logging.


Continue reading

How we Automated our 100DaysOfCode Daily Tweet

Posted by Bob on Wed 05 April 2017 in Tools • Tagged with twitter, automation, tools, 100days, logging, tweepy, pytz • 4 min read

In this article I show you a way to automatically tweet your #100DaysOfCode Challenge progress. This saves you some extra time to focus on the coding. Isn't that all what matters?


Continue reading

How to Build a Simple Slack Bot

Posted by Bob on Tue 04 April 2017 in Tools • Tagged with slack, API, bot, chatbot, deployment, shell, nohup, automation • 3 min read

I was playing with Slack's Real Time Messaging API the other day. Building a bot is pretty easy. In this article a simple example.


Continue reading

5 Vim Tricks to Speed up Your Python Development

Posted by Bob on Tue 28 March 2017 in Tools • Tagged with vim, tools, shortcuts, tricks, flake8, howdoi, conque, shell, virtualenv, nerdtree, pyperclip • 4 min read

In this article 5 Vim shortcuts to speed up your Python development.


Continue reading

Best Practices for Compatible Python 2 and 3 Code

Posted by Bob on Wed 22 March 2017 in Tools • Tagged with 2vs3, tox, six, python-modernize, porting, future, 2to3, coverage, futurize, caniusepython3, pip, Requests, Werkzeug • 3 min read

95% of most popular Python packages support Python 3. Maybe you are lucky and get to start fresh using Python 3. However as of last year Python 2.7 still reigns supreme in pip installs and at a lot of places 2.x is the only version you get to work in. I think writing Python 2 and 3 compatible code is an important skill, so lets check what it entails.


Continue reading

Send Advanced Emails with Python MIME Submodules

Posted by Julian on Wed 01 February 2017 in Tools • Tagged with python, tips, tricks, code, pybites, email, automation, MIME • 3 min read

Learn how to send richer emails with Python and the MIME Submodules


Continue reading