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

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

🔧 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