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

Twitter digest 2017 week 30

Posted by PyBites on Sun 30 July 2017 in Digest • Tagged with twitter, news, tips, python, coding, QuTIP, facial recognition, vim, IDE, Thonny, automation, urllib, packaging, data science, jobs, webscraping, Bokeh, csv • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


Continue reading

Twitter digest 2017 week 28

Posted by PyBites on Sun 16 July 2017 in Digest • Tagged with twitter, news, tips, python, pybites, PostgreSQL, books, resources, pathlib, Pyramid, FAT, audio, machine learning, pandas, numpy, tricks, interview, Fedora, packaging, deep learning, Keras, Flask, Openpyxl • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


Continue reading

From Challenge to Project - How I Made PyTrack, Learning Modules and Packaging

Posted by Martin on Fri 07 July 2017 in Learning • Tagged with challenges, guest, PyTrack, packaging, peewee, click, maya, learning • 6 min read

This is a guest post by Martin, a passionate Pythonista who turns our code challenges into cool projects. In this article he describes his process of building pyTrack, a simple task time tracker. Not only did he learn various Python modules - PeeWee, Maya and Click - he also stunned us delivering a project with great documentation and properly packaged code.


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

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

Code Challenge 23 - Challenge Estimated Time API - Review

Posted by PyBites on Sun 18 June 2017 in Challenges • Tagged with codechallenges, APIs, Github, PyGithub, PR template, tracking, meta, data, platform, packaging, peewee, click, maya • 3 min read

In this article we review last week's Challenge Estimated Time API. This was a cool challenge and we implemented it using Github's awesome platform and API.


Continue reading

Zip and ship, make an executable zipfile of your py project

Posted by Bob on Sun 25 December 2016 in Packages • Tagged with zip, packaging, distribute, pip • 2 min read

In this post I show an example how you can distribute your code as an executable zipfile, a neat trick I discovered in Chapter 6 of The Hitchhiker's Guide to Python


Continue reading