Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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

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

komo_fr

July 11, 2019
Tweet

More Decks by komo_fr

Other Decks in Programming

Transcript

  1. 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. $ % %
  2. Idea& citation relationship •Important papers are often cited 
 from

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

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

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

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

    …) size: number of other PEPs citing that PEP
  7. 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 (
  8. PEP citation network color: status of PEP (e.g. Accepted, Rejected

    …) size: number of other PEPs citing that PEP Quiz
  9. 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
  10. 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! *
  11. 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?
  12. 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?
  13. 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?
  14. 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
  15. PEP citation network color: status of PEP (e.g. Accepted, Rejected

    …) size: number of other PEPs citing that PEP -
  16. -

  17. The 8000-series PEPs       

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

     1&1 1&1  1&1 1ZUIPO-BOHVBHF (PWFSOBODF  
  19. 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/
  20. 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
  21. 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
  22. • 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! /