Past Meetings • Recent Topics


Thu, Jul 12 2018 at 06:00 PM at Telnyx

Python 3.7 Below the Fold: `mock.seal`
(0:05:00 Minutes)
By: Aly Sivji
Experience Level: Intermediate

`unittest.mock` provides a flexible implementation of mock objects we can use to write isolated unit tests. In this lightning talk, we will explore the new `mock.seal()` function that was added in Python 3.7.
Intro to SaltStack
By: Erik Johnson
Experience Level: Novice

SaltStack is open-source software for modern IT automation. The project was created in 2012 and today is used by tens of thousands of DevOps and enterprise IT organizations to automate the management of data center infrastructure and application environments. With its core remote-execution functionality, it is flexible enough to run shell commands, perform configuration management tasks, orchestration, and more. Erik Johnson, a SaltStack core developer and Chicago-area native, will demo the basics of how to get started using Salt, as well as how to use its powerful event bus for automation tasks.
Data Classes in Python 3.7: Why and How do They Compare to Existing Solutions?
By: Brian Stempin, Yiu Ming Huynh
Experience Level: Intermediate

Python prides itself on being a language where “There should be one – and preferably only one – obvious way to do it” (PEP 20). One place where this isn’t really true is when it comes to the question of how to store data. There are several options: dictionaries, tuples, named tuples, vanilla Python classes, and Python classes decorated with the attrs library. PEP 557 adds a new way: Data classes. In this talk we will compare and contrast each approach, give listeners a way to figure out which one is best for their particular project, and share some performance metrics for those who are concerned with speed and memory footprints.
177 Python enthusiasts attended this meeting.


Thu, Jun 14 2018 at 05:30 PM at TEKsystems

267 Python enthusiasts attended this meeting.


Thu, Apr 12 2018 at 06:00 PM at Blue Lacuna

A Robust Dev-to-Production Workflow for Home Use, Using Jupyter Notebooks and PyTest
(0:20:00 Minutes)
By: Leon Shernoff
Experience Level: Novice

Working on a substantial Python project at home can be confusing and frustrating. A work environment can suddenly impact the direction of a project in unexpected ways, because of the many stakeholders; but they usually have a robust process in place for actually doing the coding (otherwise nothing gets done). Implementing a solid and productive workflow routine at home can be a challenge, but it is of great benefit for complex projects. This talk uses a sample text-processing project to demonstrate a home workflow design featuring sandboxing in Jupyter notebooks, migration of working routines to project-specific modules and straight-ahead Python files, and writing unit tests for these in PyTest.
Calculating pi using Django and Solidity on the Ethereum Blockchain
(0:10:00 Minutes)
By: Joshua Herman
Experience Level: Intermediate
Slides Link
After giving a whirlwind tour of what Ethereum and Solidity are I will show how to use Django and Web3py to deploy a smart contract that performs division.
Going with the flow: Intro to Airflow
By: Matt Inwood
Experience Level: Intermediate

Airflow is a great open source resource for managing ETL, or any other scheduled jobs. We'll go over the DAG-Task-Script Hierarchy; job triggers, logging, and the web interface. I'll also talk about some best practices, and different caveats and gotchas that you can come across from my personal experience implementing it.
152 Python enthusiasts attended this meeting.


Thu, Mar 08 2018 at 06:00 PM at Metis

mitmproxy: Lift the veil on server-side HTTP(s) interaction
(0:15:00 Minutes)
By: Ross Heflin
Experience Level: Intermediate

When writing web frontends there's powerful tools for understanding backend calls made by a website (Network tab in Chrome, Firefox, Webkit'sm Dev Tools and HAR analyzers). These are (reasonably) great for figuring out what requests a browser is making to backend servers & what came back. When dealing with server-side code its somewhat harder to see all requests made to other systems in context of what requests came into the server-side api without instrumenting your code with lots of (often incomplete) logging. During the last 5 years, I've worked through many issues in various languages/frameworks and libraries, where the only common thread was (sometimes complex) communication with other systems over HTTP(S) by using mitmproxy. This talk will cover a variety of use cases, demonstrating some useful capabilities of this versatile tool with minimal (if any) changes to existing code regardless of source language, server-side framework, and HTTP client used.
Introduction to Keras
(0:30:00 Minutes)
By: Chris Gruber
Experience Level: Intermediate

Keras is a popular framework for building neural networks in Python. Using Keras, a developer can define and train a neural network in just a few lines of code. Keras also includes a number of pre-built networks to build state-of-the-art models for language translation, image recognition, etc. This talk will consist of an overview of Keras and its features, and a demo in which we build and train a classifier for the MNIST hand-written digit dataset.
Formatted strings in Python 3.6
(0:15:00 Minutes)
By: Phil Robare
Experience Level: Novice

3.6 has introduced a fourth way to format output from a Python program. PEP 498 introduced a new kind of string literals: f-strings, or formatted string literals. Formatted string literals are prefixed with 'f' and are similar to the format strings accepted by str.format(). They contain replacement fields surrounded by curly braces. The replacement fields are expressions, which are evaluated at run time, and then formatted using the format() protocol This talk will give a quick overview of syntax, usage, and possibly abuse of this new feature.
162 Python enthusiasts attended this meeting.


Thu, Feb 08 2018 at 06:00 PM at Cancelled

180 Python enthusiasts attended this meeting.