Why We’re Excited to Talk About Clean Architecture and Automated Bartending at PyGotham 2018

6 min read


Does Batman code?

I guess we’ll never know. But if he does, I’ll bet he uses Python.

After all, he’s a man focused on simplicity and ruthless efficiency. Python has that in droves.

And if we suppose for a second that Batman is a Python user, I’d also bet his favorite conference would be PyGotham.

On October 5 and 6, Pythonistas from all over the world will meet in New York at Hotel Pennsylvania to attend a conference “for developers and run by developers.”

The agenda is packed with two full days of talks, numerous lightning talk sessions, and opportunities to socialize.

And I’m pretty sure that in addition to being sponsored by Bloomberg, Facebook, Bank of America, and the Python Software Foundation, PyGotham must have a secret endorsement by WayneTech in there somewhere.

STX Next devs flying over to PyGotham

But why talk about PyGotham on the STX Next blog? Am I using it as a cheap excuse to swoon over the name?

Not only!

Two of our distinguished developers will be flying over to New York to give their presentations at the conference.

Sebastian Buczyński and Maciej Polańczyk are quite the travelers, truth be told. Not too long ago they attended the PyCarribean conference:

PyCarribean photo with devs
Left to right: Sebastian Buczyński, Maciej Polańczyk, and Michał Gałka, all enjoying themselves.

It only goes to show that nobody is safe from catching the traveling bug, not even developers.

What will Sebastian and Maciej be talking about? Why, about business and pleasure, of course.

Bringing the Focus Back to Business Needs with Sebastian Buczyński

“What if I told you… that your database is not your application?

And neither is your ORM model, or even your framework?”

That’s how I imagine Sebastian Buczyński’s presentation starting.

By talking about Clean Architecture at PyGotham, Sebastian wants to bring the focus back to the true reason for building yet another software project:

Fulfilling business needs.

Clean Architecture is a set of app building techniques that allows you to build an app that’s:

  • focused on business requirements;
  • highly testable, because tests for it are easy to write;
  • independent from frameworks and other tools.

All of this is achieved through a careful layering of the project.

This also means that unlike Django- or Rails-like applications that have become prevalent in recent years, you can write unit tests for Clean Architecture apps without database access.

In Sebastian’s own words:

“Implementing Clean Architecture is our response to the increasing complexity of the projects we work on. Clean Architecture focuses on business requirements while also producing clean, testable code, helping us ensure maximum quality. I use it personally in my projects for STX Next clients.”

Sebastian Buczyński, Senior Python Developer at STX Next

If you can’t wait until October 5 to hear Sebastian talk about Clean Architecture at PyGotham, here’s a video from PyCarribean that might scratch your itch:

Building Your Personal Robot Bartender with Maciej Polańczyk

The title of Maciej Polańczyk’s presentation should be invitation enough:

“Vodka, Powered by Whiskeyberry Pi.”

Imagine having your own personal robot assistant that you can holler at from the other side of the room—and ask them for a drink!

That’s exactly what Maciej has built along with his co-presenter, Michał Gałka.

By combining the power of Amazon Alexa, a simple Python Flask app, Raspberry Pi, and a few pumps, you too can make pouring your own drinks a thing of the past.

Maciej and Michał will outline exactly:

  • how to create the Bartender skill in Amazon Alexa,
  • how to build a Python application for serving the drinks using the Flask-Ask library,
  • how to connect and control the pumps using Raspberry Pi.

To top it all off, the dev duo will share source code to prepare a few types of drinks according to set recipes.

And the most active participants will get free drinks! You’ve got to showcase that the solution works, after all.

In case you’re looking for Maciej at PyGotham, he’s informed me he will be “the one in the Batman T-shirt.”

(Though given the name of the event, I suspect he might not be the only one.)

If you speak Polish and can’t attend, fear not, here’s a little spoiler of the presentation:

And a special bonus from yours truly: Jane Austen, the Pythonista

Personally, while I’m as fond of cleanliness and easily available drinks as the next person, there’s one talk in particular that I’d be excited to attend.

It’s the one by Lacey Williams Henschel titled, “What If Jane Austen Had Been An Engineer?”

What if, indeed?

In her talk, Lacey will make the point that writing tips from your high school English class can improve your code, making it cleaner and clearer.

In fact, she calls the Zen of Python itself “basically a modern retelling of Strunk and White’s classic Elements of Style.

Holding two English degrees, I’m confident Lacey is uniquely equipped to cover this subject. And being an English major myself, I couldn’t pass up the opportunity to mention it.

What’s next?

Over 250 talks were submitted to PyGotham this year. Only 60 were chosen. So the 3 you see above are just the tip of the iceberg. Make sure to explore the full list of talks.

And if this article made you at all curious about what else Python can do, you’d do well to read our Introduction to Python for Tech Managers. We have over 13 years of experience with the language, so we know how you can use it to speed up your next project.

By the way, New York isn’t the only place where exciting Python talks take place. Head over to our upcoming events schedule on Facebook to find out where we’ll be sharing our knowledge next. We host free workshops regularly.

Speaking of sharing knowledge, Sebastian and Maciej have contributed to our blog before in the following articles:

If you have any questions at all directed at either of the gentlemen, I’m told you can leave them in the comments section below and they’ll be happy to reply.


Jakub Grajcar

Inbound Marketing Team Lead

More articles about Python