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.
- 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
Please also clone this repository before the start of the session.
- Removing tedium from Princeton University: While some small parts are specific to the setup in Princeton, the majority are very useful tips that can help everywhere!
- Scikit-HEP developer guide: A very complete set of tips on how to set up your python package for success
- Levelling up your python: Various bits of intermediate and advanced python
Less related training material built with the same markdown-based framework:
The slides are built with Slidev.
To start the slide show locally:
npm install
npm run dev
- visit http://localhost:3030
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