~/talk

Publishing well-formed Python packages

Talkat PyConline AU 2020 · 2020-09-04..09-06· [python]
name:Julin S
links:none on file
slides:none on file

Lists the concrete tools and outcomes: use pylint or black for style, mypy for typing, vulture to find dead code, pytest and coverage.py for tests, and tox/nox to automate across Python versions; package with setuptools, flit or poetry and add CI/CD and pre-commit hooks. The example package nymphs names builds with flit build, runs tests with pytest + coverage.py, reports 100% coverage, and tox automates matrix runs while vulture flags unused code. These steps result in a reproducible, maintainable package.

AI-written summary · about

  1. 0:00Start
  2. 0:36Well formed package
  3. 1:42Linting and style: Pylint
  4. 3:10Static type checks: mypy
  5. 4:27Dead code detection: vulture
  6. 6:01Testing: pytest
  7. 7:15Test coverage: coverage.py
  8. 8:12Test automation: tox
  9. 9:16Building, packaging & publishing
  10. 10:43Nims - example
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.