Day 9 — Slow day

Today I couldn't get a lot done, just ended up fixing some bugs on present. I had some enhancement ideas though.

What if you can run the Python interpreter inside your slide's code block? Or even a shell prompt? What about a RICE-like view where you can execute a …

Read

There are comments.

Day 8 — I made a terminal-based presentation tool!

For the last two days, I've been working on present.

I've been wanting to build something like this ever since I watched the North Bay Python 2017 keynote by Brandon Rhodes. The markdown slide format is similar to reveal.js because I want present to work with my existing slides …

Read

There are comments.

Day 7 — Python dataclasses are awesome!

Today I tried dataclasses for a project (first time!). And I'm sold because I don't have to define an __init__ function anymore, and they automatically generate a repr too. Also, type annotations!


  >>> from dataclasses import dataclass
  >>>
  >>> @dataclass
      class Point:
          x: int = 0
          y: int = 0
          z: int = 0
  >>>
  >>> p = Point …
Read

There are comments.

Day 6 — Some PEP talk, or: What is a pyproject.toml?

Today I talked about PEPs 518 and 517 at RFCs We ❤️. I learned a lot from Brett Cannon's blog posts on the topic, and from reading the PEPs themselves. This post is a simpler version of everything.


First, let's briefly look at the history of Python packaging based on the …

Read

There are comments.

Day 5 — HowToVer?!

After reading software versioning posts by Brett Cannon, Donald Stufft, and Bernát Gábor; I thought that I should try to summarize what I learned (for future me!).


Why do we need software versioning? We need it to snapshot each point in the software evolution process, and to follow a convention …

Read

There are comments.