Python

2017


cover-python-tool-review-using-pycharm-python-development-and-more.png

Python Tool Review: Using PyCharm for Python Development - and More

Dan Poirier

Back in 2011, I wrote a blog post on using Eclipse for Python Development.

I've never updated that post, and it's probably terribly outdated by now. But there's a good reason for that - I haven't used Eclipse in years. Not long after that post, I came across PyCharm, and I haven't really looked back.

cover-requests-under-hood-pycon-2017-must-see-talk-56.png

Requests, Under the Hood (PyCon 2017 Must-See Talk 5/6)

Mark Lavin

Part five of six in the 2017 edition of our annual PyCon Must-See Series, highlighting the talks our staff especially loved at PyCon. While there were many great talks, this is our team’s shortlist.

cover-managing-your-aws-container-infrastructure-with-python.png

Managing your AWS Container Infrastructure with Python

We deploy Python/Django apps to a wide variety of hosting providers at Caktus. Our django-project-template includes a Salt configuration to set up an Ubuntu virtual machine on just about any hosting provider, from scratch. We've also modified this a number of times for local hosting requirements when our customer required the application we built to be hosted on hardware they control. In the past, we also built our own tool for creating and managing EC2 instances automatically via the Amazon Web Services (AWS) APIs. In March, my colleague Dan Poirier wrote an excellent post about deploying Django applications to Elastic Beanstalk demonstrating how we’ve used that service.

cover-5-ways-deploy-your-python-web-app-2017-pycon-2017-must-see-talks-46.png

5 Ways to Deploy Your Python Web App in 2017 (PyCon 2017 Must-See Talk 4/6)

Erin Mullaney

Part four of six in the 2017 edition of our annual PyCon Must-See Series, highlighting the talks our staff especially loved at PyCon. While there were many great talks, this is our team’s shortlist.

cover-python-instagram.png

Python at Instagram (PyCon 2017 Must-See Talk 2/6)

Charlotte Mays

Part two of six in the 2017 edition of our annual PyCon Must-See Series, highlighting the talks our staff especially loved at PyCon. While there were many great talks, this is our team’s shortlist.

cover-decorators-unwrapped-how-do-they-work-pycon-2017-must-see-talk-16.jpg

Decorators, Unwrapped: How Do They Work? (PyCon 2017 Must-See Talk 1/6)

Erin Mullaney

Part one of six in the 2017 edition of our annual PyCon Must-See Series, highlighting the talks our staff especially loved at PyCon. While there were many great talks, this is our team’s shortlist.

Subtests are the Best

Dmitriy Chukhin

Subtests are the best

Testing our code is important. Because developers write bugs, it’s valuable to catch and correct them before the code gets to production so our apps work as they should. Specifically, we want tests that are DRY (Don’t Repeat Yourself), thorough, and readable. Though there are many ways to try to accomplish these goals, subtests make each of them easier. If you’re not using subtests in your test classes, you probably should be.

cover-pycon-2017-recap.jpg

PyCon 2017 Recap

Whitney Hill

Caktus attended PyCon 2017 in Portland from May 18-21. It was the first PyCon for some, while others were PyCon veterans. All of us were looking forward to the opportunity to hear some great talks and make or renew connections in the Python community.

cover-shipit-day-recap-q2-2017.jpg

ShipIt Day Recap Q2 2017

Whitney Hill

Once per quarter, Caktus employees have the opportunity to take a day away from client work to focus on learning or refreshing skills, testing out ideas, or working on open source contributions. The Q2 2017 ShipIt Day work included building apps, updating open source projects, trying out new tools, and more. Keep reading for the details.

Building a Custom Block Template Tag

Dan Poirier

Building custom tags for Django templates has gotten much easier over the years, with decorators provided that do most of the work when building common, simple kinds of tags.