Python

2016


cover-florida-open-debate-site-powers-first-ever-crowd-sourced-open-senate-debate.png

Florida Open Debate Site Powers First-Ever Crowd-Sourced Open Senate Debate

Liza Chabot

Florida Open Debate launched ahead of the upcoming, bi-partisan debate between candidates for the Florida Senate. The site, which crowdsources debate questions from the general public, was met with national acclaim. Citizens can not only submit questions, but also vote on which ones matter most. Caktus helped develop the tool on behalf of the Open Debate Coalition (ODC), a non-partisan organization dedicated to supporting participatory democracy through the use of civic tech.

cover-adopting-scrum-client-services-multi-project-organization.jpg

Adopting Scrum in a Client-services, Multi-project Organization

Sarah Gray

Caktus began the process of adopting Scrum mid-November 2015 with two days of onsite Scrum training and fully transitioned to a Scrum environment in January 2016. From our original epiphany of “Yes! We want Scrum!” to the beginning of our first sprint, it took us six weeks to design and execute a process and transition plan. This is how we did it:

cover-what-were-clicking-march-link-roundup.jpg

What We're Clicking - March Link Roundup

Liza Chabot

We’re starting a new, monthly series on the Caktus blog highlighting the articles and posts shared by Cakti that drew the most attention on Twitter. These roundups will include everything from Django how-tos to explorations of the tech industry, to innovations for social good.

cover-new-white-paper-shipping-faster-django-team-improvements.jpg

New white paper: "Shipping faster: Django team improvements"

Hao Nguyen

For the past couple months, we’ve been working on a new white paper, “Shipping Faster: Django Team Improvements”. We examined our existing processes, looked at best practices, and considered what has or hasn’t worked across our dozens of simultaneous projects.

cover-lightweight-django-now-portuguese.jpg

Lightweight Django now in Portuguese!

Hao Nguyen

We’re proud to report that Lightweight Django (O’Reilly Media) is now available in Portuguese as Django Essencial. The book was written by our technical director Mark Lavin and Caktus alumnus Julia Elman to great reviews. Django Essencial comes just in time for Mark’s keynote talk during PyCon Nordeste.

cover-best-python-libraries.jpg

Best Python Libraries

Liza Chabot

Our love for Python is no secret. But with so many modules, tools, and libraries, it can be overwhelming for beginning developers to identify the most useful. Obviously, our favorite framework is Django. But we’re setting aside our undying love for that framework for a moment to offer a list of other helpful Python libraries. From those offering standard solutions to everyday programming problems, to ones that hold a special place in the heart of the dev who created them, these are some of our developer’s favorite tools for Python development.

cover-wagtail-2-steps-adding-pages-outside-cms.png

Wagtail: 2 Steps for Adding Pages Outside of the CMS

Erin Mullaney

My first Caktus project went live late in the summer of 2015. It's a community portal for users of an SMS-based product called RapidPro. The portal was built in the Wagtail CMS framework which has a lovely, intuitive admin interface and excellent documentation for developers and content editors. The code for our Wagtail-based project is all open sourced on GitHub.

cover-writing-unit-tests-django-migrations.jpg

Writing Unit Tests for Django Migrations

Calvin Spealman

Editor's note: This post was originally published in February 2016 and was updated in August 2017 to incorporate improvements suggested by our readers. It has also been tested for compatibility as of the Django 1.11 release.

cover-shipit-day-recap-q1-2016.jpg

ShipIt Day Recap: Q1 2016

Liza Chabot

Last Friday, the Cakti set aside regular client projects for our quarterly ShipIt Day, a chance for personal development and independent projects. People work individually or in groups to flex their creativity, tackle interesting problems, or expand their personal knowledge. This quarter’s ShipIt Day saw everything from cat animations to improvements on our Taylor Swift lyric generator app. Read about the various ShipIt Day projects for Q1 of 2016 below.

cover-modified-preorder-tree-traversal-django.png

Modified Preorder Tree Traversal in Django

Rob Lineberger

Hierarchical data are everywhere, from product catalogs to blog post comments. A classic example is the tree of life, where kingdoms are subdivided into a hierarchy of phylum and class down to genus and species. What if you wish to store this data in a database table, which is inherently flat? Databases do not natively store hierarchies, so you need to work around that.