Pro Yearly is on sale from $80 to $50! »

EuroPython 2019 LT / Let's Explore PEPs with NetworkX!

EuroPython 2019 LT / Let's Explore PEPs with NetworkX!

98df8bb11748bb59fef1aa1e474e8e02?s=128

komo_fr

July 11, 2019
Tweet

Transcript

  1. Tomoko Furuki @komo_fr @komo-fr Let’s explore PEPs with NetworkX!

  2. #BTFM +BQBO !" ✈ 14 hours I’m from Japan

  3. Let’s explore PEPs with NetworkX! Tomoko Furuki @komo_fr @komo-fr

  4. Motivation There are so many PEPs! (490~) • Beginners don’t

    know
 which one to read. • Important PEP? • What topics? I wanted a map to read PEPs. $ % %
  5. Idea& citation relationship •Important papers are often cited 
 from

    other papers. •There are also citation relationships
 among PEPs. ✨ ✨
  6. Idea& citation relationship PEP 8 Style Guide for Python PEP

    20 The Zen of Python
  7. Idea& citation relationship PEP 8 Style Guide for Python PEP

    20 The Zen of Python PEP 257 Docstring Conventions
  8. Idea& citation relationship Network Analysis PEP 8 Style Guide for

    Python PEP 20 The Zen of Python PEP 257 Docstring Conventions
  9. Method & Package Network Analysis •a method to analyze
 relationships

    among elements •e.g. citation relation, friend relation NetworkX •Python package for complex networks.
  10. PEP citation network color: status of PEP (e.g. Accepted, Rejected

    …) size: number of other PEPs citing that PEP
  11. PEP citation network color: status of PEP (e.g. Accepted, Rejected

    …) size: number of other PEPs citing that PEP the PEP most cited from other PEPs (
  12. PEP citation network color: status of PEP (e.g. Accepted, Rejected

    …) size: number of other PEPs citing that PEP Quiz
  13. Which PEP is most cited from other PEPs? A. PEP

    1: PEP Purpose and Guidelines B. PEP 8: Style Guide for Python Code C. PEP 302: New Import Hooks
  14. Which PEP is most cited from other PEPs? A. PEP

    1: PEP Purpose and Guidelines B. PEP 8: Style Guide for Python Code C. PEP 302: New Import Hooks )Please rise your hand! *
  15. A. PEP 1: PEP Purpose and Guidelines B. PEP 8:

    Style Guide for Python Code C. PEP 302: New Import Hooks )Please rise your hand! * Which PEP is most cited from other PEPs?
  16. A. PEP 1: PEP Purpose and Guidelines B. PEP 8:

    Style Guide for Python Code C. PEP 302: New Import Hooks )Please rise your hand! * Which PEP is most cited from other PEPs?
  17. A. PEP 1: PEP Purpose and Guidelines B. PEP 8:

    Style Guide for Python Code C. PEP 302: New Import Hooks )Please rise your hand! * Which PEP is most cited from other PEPs?
  18. Answer (PEP ???

  19. Answer ( 21 PEPs refer to PEP8 PEP 8 Style

    Guide for Python Code + PEP 302: New Import Hooks (15 PEPs) + PEP 484: Type Hints (15 PEPs) , PEP 426: Metadata for Python Software 
 Packages 2.0 (13 PEPs) Jupyter Notebook: https://github.com/komo-fr/EuroPython2019_LT BTPG+VOF
  20. PEP citation network color: status of PEP (e.g. Accepted, Rejected

    …) size: number of other PEPs citing that PEP -
  21. Rejected Switch Statement   PEP 225: Elementwise/Objectwise Operators PEP

    3103: A Switch/Case Statement -
  22. -

  23. The 8000-series PEPs       

      1&1 1ZUIPO-BOHVBHF (PWFSOBODF  
  24. The 8000-series PEPs       

     1&1 1&1  1&1 1ZUIPO-BOHVBHF (PWFSOBODF  
  25. This is maybe a group about “New Python language governance”…?

  26. Community Detection (Clustering) . • Louvain algorithm • Vincent D.

    Blondel, et al. "Fast unfolding of communities in large networks" J. Stat. Mech: theory and experiment 2008.10 (2008): P10008. • python-louvain package • https://pypi.org/project/python-louvain/
  27. Result and others…

  28. Group A-03: Packaging? • PEP 241 / 314 / 345

    / 426 / 566: 
 Metadata for Python Software Packages / v1.1 / 1.2 / 2.0 / 2.1 • PEP 427 / 491:
 The Wheel Binary Package 
 Format 1.0 / 1.9 • PEP 440:
 Version Identification and Dependency Specification • PEP 381:
 Mirroring infrastructure for PyPI
 
 and more … 37 PEPs
  29. Group A-10: Process and Documents? • PEP 8000-series • PEP

    1:
 PEP Purpose Guidelines • PEP 12:
 Sample reStructuredText PEP Template • PEP 257:
 Docstring Conventions
 
 and more … 26 PEPs
  30. Interactive Visualization (alpha) https://github.com/komo-fr/pep_map_site

  31. • Slide:
 https://speakerdeck.com/ komofr/lets-explore-peps- with-networkx • Web Page:
 https://github.com/komo-fr/ pep_map_site

    • Jupyter Notebook: 
 https://github.com/komo-fr/ EuroPython2019_LT Thank you for listening! @komo_fr @komo-fr " Conference: Sep.16(Mon) - 17(Tue) 5JDLFU IUUQTQZDPOKQDPOOQBTTDPN FWFOU 8FC IUUQTQZDPOKQ Venue: Tokyo, Japan " ɹ* will upload until this weekend! /