Code Challenge 35 - Improve Your Python Code With BetterCodeHub - Review

Posted by PyBites on Mon 11 September 2017 in Challenges • Tagged with bettercodehub, SIG, refactoring, code quality, clean code, software development, tools, platform • 2 min read

In this article we review last week's Improve Your Python Code With BetterCodeHub code challenge.


Continue reading

Code Challenge 35 - Improve Your Python Code With BetterCodeHub

Posted by PyBites on Tue 05 September 2017 in Challenge • Tagged with bettercodehub, SIG, refactoring, code quality, clean code, software development, tools, platform • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python programming! Last week we wrote an article on improving the quality of your code with Better Code Hub. This week we let you refactor a Python project. You can even win awards thanks to SIG who is sponsoring this challenge!


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

Using Pillow to Create Nice Banners For Your Site

Posted by Bob on Fri 11 August 2017 in Modules • Tagged with Pillow, images, utilities, pybites, curl, refactoring, challenges, PyBites Banner Generator • 4 min read

Running your site or business good chance you A. use promo material like banners and B. you make them manually with Photoshop, Gimp or what not. And yes for anything beyond the basics you probably need those programs. But what if you like to keep it simple and want to semi-automate things? Just an image and text on canvas? Enter Pillow - The friendly PIL fork, which makes this pretty easy. Come explore some of its capabilities with me in this article.


Continue reading

Code Challenge 30 - The Art of Refactoring: Improve Your Code - Review

Posted by PyBites on Mon 07 August 2017 in Challenges • Tagged with codechallenges, refactoring, code review, testing, bestpractices, cleancode, bettercodehub, Sig, Flask, authentication, my first script • 2 min read

In this article we review last week's The Art of Refactoring: Improve Your Code code challenge. We're excited to have done 30 challenges so far and it feels like we only got started. Prepare for more to come!


Continue reading

Code Challenge 30 - The Art of Refactoring: Improve Your Code

Posted by PyBites on Tue 01 August 2017 in Challenges • Tagged with codechallenges, refactoring, code review, testing, packaging, bestpractices, pythonic, pep8, cleancode • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding. Wow challenge 30 already! This week we let you hone your refactoring skills. Learn, code, PR submit (don't be shy) and above all have fun!


Continue reading

The Importance of Refactoring Code

Posted by Julian on Thu 13 July 2017 in Concepts • Tagged with python, beginner, learning, examples, code, refactoring • 4 min read

In this quick post I discuss why refactoring code is one of the most important parts of the learning process.


Continue reading

From Script to Project - Packaging Your Code in Python

Posted by Bob on Sat 01 July 2017 in Learning • Tagged with packaging, modules, init, imports, refactoring, karma, Twitter • 3 min read

This week's article is about packaging your Python code. Sounds daunting? Actually it is pretty simple.


Continue reading

OOP Beyond the Basics: Using Properties for Encapsulation, Computation and Refactoring

Posted by Bob on Wed 31 May 2017 in Concepts • Tagged with oop, property, decorators, encapsulation, computation, dunder, refactoring, pytest, 2vs3, getter, setter • 4 min read

In this article I share my learning of the property decorator coding a simple Account class. I think it's an unmissable tool in your (Python) OOP toolkit.


Continue reading

Twitter digest 2017 week 07

Posted by PyBites on Sat 18 February 2017 in Digest • Tagged with twitter, news, podcasts, 3.6, functional programming, 2vs3, git, github, guido, oop, namedtuples, algorithms, refactoring • 2 min read

On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.


Continue reading