Slide 1

Slide 1 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem 3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem An opinionated Python toolkit Tools, Tips, Tricks I recommend for your development, review, testing, and deployment workflows for Python projects

Slide 2

Slide 2 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Stanley Ndagi alias Stan_MD Digerati: • Software Engineer (6+ years) Tech Stack: Python, JavaScript • Technical Writer (3+ years) Web profile: www.md.engineer Et al: • GitHub stars program • CircleCI technical writers program • TechKln community - techkln.org

Slide 3

Slide 3 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem This talk, what to expect Included: • Tools • Practices • Resources Limited • Hands-on coding NOT • One tool to fix them all

Slide 4

Slide 4 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Introduction Opinionated? Firmly adhering to one's own view / judgement or to preconceived notions Python? Simple yet satisfying Toolkit? Tools make work easier A toolkit contains tools

Slide 5

Slide 5 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Tools: Timber DIY

Slide 6

Slide 6 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Tools: Software • Dotfiles • Scripts • Templates • Starter packs • Programming languages • Frameworks • Libraries Tinker, Break, Build, Repeat

Slide 7

Slide 7 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit Workflows: 1. Development 2. Review 3. Testing 4. Deployment QR code shared with live audience

Slide 8

Slide 8 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Development Workflow Set up • Local set up • Version control • IDE

Slide 9

Slide 9 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Development Workflow Set up • Local set up • Multiple python versions • Virtual envs & Docker • Version control • GIT • IDE • VS Code

Slide 10

Slide 10 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Development Workflow Writing code • Prototyping • Dependencies • Reference

Slide 11

Slide 11 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Development Workflow Writing code • Prototyping • REPL • bpython • pipx • Dependencies • requirements.txt • Piplock • Reference • Python docs • Real Python • Python guide • Devdocs • Django Girls

Slide 12

Slide 12 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Development Workflow Writing code (cont.d) • Linting • Formatting • Miscellaneous

Slide 13

Slide 13 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Development Workflow Writing code (cont.d) • Linting • Flake8 • Formatting • Editorconfig • black • isort • pyupgrade - Miscellaneous • http.server • Flask • FastAPI • Scrapy • django-browser-reload • django-upgrade • PySnooper • Snyk: vulnerabilities • Jupyter

Slide 14

Slide 14 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Development Workflow Documentation • README • Licencing • Documentation generator

Slide 15

Slide 15 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Development Workflow Documentation • README • Markdown • Best practices • Badges • Licencing • Documentation generator • Sphinx - Changelog

Slide 16

Slide 16 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Review Workflow • Local • Online - Project Management

Slide 17

Slide 17 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Review Workflow • Local • GitHub desktop • IDE - VSCode • Precommit • Online • GitHub PRs • GitLab MRs • Project Management • Shortcut • GitHub Projects

Slide 18

Slide 18 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Testing Workflow • Unit tests • Pytest • CI - Continuous Integration

Slide 19

Slide 19 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Deployment Workflow Instances • Ngrok • Heroku • Docker CI/CD

Slide 20

Slide 20 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Python Toolkit: Deployment Workflow Publishing • Tagging • Test Python Package Index (TestPyPI) • Python Package Index (PyPI)

Slide 21

Slide 21 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem Conclusion The software landscape is every changing, ALWAYS fine tune your toolkit as well. @NdagiStanley www.md.engineer

Slide 22

Slide 22 text

3RD ANNUAL PYCON SUMMIT KE Biggest Gathering For People & Organisations Interested In The Python Programming Language & Its Ecosystem THANK YOU