Skip to content

klieret/everything-you-didnt-now-you-needed

Repository files navigation

Tips and tricks for python, the command line, and more.

PR welcome gh actions pre-commit.ci status Check Markdown links


Note 👉 Click here for rendered slides! 👈

Did you every wonder about all the small productivity hacks that others use? Then you've come to the right place! These slides are a mixed bag of everything related to productivity with python, the command line, and more.

Slides originally created for the CoDaS-HEP 2022 school. A PDF version of the slides is available in the corresponding release.

Screenshot of slides

✔️ Content

  • pre-commit
  • Hot code reloading in python
  • cookiecutter
  • SSH config
  • SSH escape sequences
  • Command line kung-fu: !$, fc, autojump, tldr, explainshell.com, grep replacements, fzf, ...
  • Terminal file managers
  • Best practices for tracking Jupyter notebooks with git
  • nbqa to apply static code quality tools to Jupyter notebooks
  • Lockfiles and locking package managers
  • Task runners (nox)
  • PyTest tricks
  • ACT for GitHub Actions
  • Type checking in python
  • Textualize
  • WebAssembly
  • Packaging
  • Binary packaging

🔧 Note for participants

Please also clone this repository before the start of the session.

🌐 Other resources

Less related training material built with the same markdown-based framework:

🧰 Local development

The slides are built with Slidev.

To start the slide show locally:

Edit the slides.md to see the changes.

Learn more about Slidev on documentations.

When contributing, please also set up the pre-commit hooks with

pre-commit install