Skip to content
80: From Python script to Maintainable Package episode artwork

EPISODE · Jul 4, 2019 · 21 MIN

80: From Python script to Maintainable Package

from Test & Code · host Brian Okken

This episode is a story about packaging, and flit, tox, pytest, and coverage. And an alternate solution to "using the src". Python makes it easy to build simple tools for all kinds of tasks. And it's great to be able to share small projects with others on your team, in your company, or with the world. When you want to take a script from "just a script" to maintainable package, there are a few steps, but none of it's hard. Also, the structure of the code layout changes to help with the growth and support. Instead of just talking about this from memory, I thought it'd be fun to create a new project and walk through the steps, and report back in a kind of time lapse episode. It should be fun. Here are the steps we walk through: 0.1 Initial script and tests 0.2 build wheel with flit 0.3 build and test with tox 0.4 move source module into a package directory 0.5 move tests into tests directory Links: submark repo: A Subset of Markdown Flit documentation Coverage.py documentation tox documentation

Episode metadata supplied by the publisher feed · Published Jul 4, 2019

Embed this episode

Ready to play

80: From Python script to Maintainable Package

0:00 21:52

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

French Your Way Jessica: Native French teacher founder of French Your Way Boost your French listening skills and test your comprehension with this one of a kind series of podcasts. Get the chance to listen to a real conversation between native speakers talking at normal speed AND customise your learning experience through carefully designed sets of questions (2 levels of difficulty) available for download at www.frenchvoicespodcast.com. All interviews also come with the transcript. French teacher Jessica interviews native speakers of French from around the world who share a bit of their life and passion. Where else would you meet in one same place a French yoga teacher based in Melbourne, a soap manufacturer from Provence, or a couple cycling around the world? Insurance Exam Queen Melissa Dillon Hi, I am Melissa, the Insurance Exam Queen. I’m the most requested Exam Prep Instructor in the U.S. and have helped thousands of people pass their Property & Casualty and Life & Health insurance exam with ease. With a long string of ONLY 5 star reviews, I’ve become known for my casual and simple teaching style, and my students love the fun memorization techniques, charts, graphs and other visual aides I use to help you understand the material. Most of my students pass their 1st or next time after going through one of my Class Series Packages. I simplify everything, tell you what to study, and even include everything from Study Notes to my own personal Practice Test to help you focus ONLY on what you need to know in order to pass the test. View my packages here: http://www.insuranceexamqueen.com Code Together Code Together Code Together is an interview series that explores challenges at the forefront of cross-architecture development. We’ll talk with those at Intel and across the industry who are forging a path on this often treacherous journey through an increasingly diverse, data-centric world. Join the conversation at oneapi.com. French Voices Podcast | Learn French | Interviews with Native French Speakers | French Culture Jessica: Native French teacher, founder of French Your Way French teacher Jessica interviews native speakers of French from around the world who share a bit of their life and passion. Learn French and boost your listening skills as you get the chance to follow a real conversation between native French people talking at normal speed AND customise your French learning experience. All interviews come with questions to test your comprehension, transcription and a list of specific French vocabulary available for free download at http://www.frenchvoicespodcast.com. Get a slice of French culture! Where else would you meet in one same place a French yoga teacher based in Melbourne, a soap manufacturer from Provence, or a couple cycling around the world? Suitable for upper intermediate and advanced students of French.

Frequently Asked Questions

How long is this episode of Test & Code?

This episode is 21 minutes long.

When was this Test & Code episode published?

This episode was published on July 4, 2019.

Can I download this Test & Code episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!