$30 off During Our Annual Pro Sale. View Details »

python report card

mingrammer
September 02, 2017

python report card

Build a Python repository analyzer with web interface

mingrammer

September 02, 2017
Tweet

More Decks by mingrammer

Other Decks in Technology

Transcript

  1. Py Report Card
    MinJae Kwon (@mingrammer)
    2017.02.17 D2 FEST 2016

    View Slide

  2. Name
    ӂ޹੤ (MinJae Kwon)
    Nickname
    @mingrammer
    Email
    [email protected]
    Who
    ই઱؀೟Ү ࣗ೐౟ਝয೟җ 3೟֙

    View Slide

  3. 1. Introduction
    3. Results
    2. Implementations
    Contents
    4. Next

    View Slide

  4. Introduction

    View Slide

  5. pyreportcard
    Githubী ഐझ౴ غয੓ח Python ೐۽ં౟ܳ ࠙ࢳೞৈ
    рױೠ ా҅৬ ࠙ࢳ Ѿҗܳ झ௏য৬ ೣԋ ܻನ౴೧઱ח ೐۽ં౟
    Introduction

    View Slide

  6. Github੄ Go ೐۽ં౟ܳ ࠙ࢳ೧઱ח goreportcardܳ ࠁҊ
    ੉ী ৔хਸ ঳য Pythonਊਵ۽ ѐߊೞѱؽ
    Introduction

    View Slide

  7. pyreportcard
    Github
    Badge
    Report
    clone create
    link
    counting
    linting
    checking
    analyzing
    Introduction

    View Slide

  8. Introduction
    pyreportcard
    Github
    Badge
    Report
    clone create
    link
    counting
    linting
    checking
    analyzing
    file
    sloc
    pep8
    pyflakes
    pycycle
    bandit


    license

    View Slide

  9. Introduction
    pyreportcard
    Github
    Badge
    Report
    clone create
    link
    counting
    linting
    checking
    analyzing
    file
    sloc
    pep8
    pyflakes
    pycycle
    bandit


    license

    Python ೐۽ં౟੄ рױೠ ా҅৬
    Source Code Qualityܳ ೠ׀ী ࠅ ࣻ ੓਺

    View Slide

  10. Implementations

    View Slide

  11. Implementations
    Server
    Github
    User
    Counting
    module
    Linting
    module
    Checking
    module
    Analyzing
    module
    Running
    Commands
    Analyzers Shell
    Database

    View Slide

  12. Implementations
    Github
    User
    Counting
    module
    Linting
    module
    Checking
    module
    Analyzing
    module
    Running
    Commands
    Analyzers Shell
    Database
    Server
    Flask Web Framework
    Flask-PyMongo

    View Slide

  13. Implementations
    Github
    User
    Counting
    module
    Linting
    module
    Checking
    module
    Analyzing
    module
    Running
    Commands
    Analyzers Shell
    Database
    Server
    ۨನ૑షܻ ࠙ࢳ ੋఠಕ੉झ ઁҕ
    ܻನ౟ ಕ੉૑
    Git ୭न ೧एч Ѩࢎ
    ࢿמਸ ਤ೧ ୭न ൤झషܻ݅ Clone
    ۘఊ ಕ੉૑
    ࠙ࢳػ ۨನ૑షܻ ܻझ౟ ઁҕ
    ࠙ࢳ Ѿҗ ߙ૑ ઁҕ
    ӝמ ҳഅ

    View Slide

  14. Implementations
    Server
    Github
    User
    Counting
    module
    Linting
    module
    Checking
    module
    Analyzing
    module
    Running
    Commands
    Analyzers Shell
    Database
    MongoDB
    PyMongo

    View Slide

  15. Implementations
    Server
    Github
    User
    Counting
    module
    Linting
    module
    Checking
    module
    Analyzing
    module
    Running
    Commands
    Analyzers Shell
    Database
    ۨನ૑షܻ ࠙ࢳ Ѿҗ ੷੢
    ۨನ૑షܻ நय
    ۘఊ நय
    ӝמ ҳഅ

    View Slide

  16. Running
    Commands
    Implementations
    Server
    Github
    User
    Analyzers Shell
    Database
    Counting
    module
    Linting
    module
    Checking
    module
    Analyzing
    module
    pep8
    pyflakes
    pycycle
    bandit

    View Slide

  17. Running
    Commands
    Implementations
    Server
    Github
    User
    Analyzers Shell
    Database
    Counting
    module
    Linting
    module
    Checking
    module
    Analyzing
    module
    ࣽജ ੐ನ౟ ୓௼
    ௏࢚٘ ࠁউ Ѿೣ ୓௼
    ௏٘ झఋੌ ୓௼
    ௏࢚٘ য়ܨ ୓௼
    ۄ੉ࣃझ ౵ੌ ୓௼
    ഐജࢿ ୓௼
    Python ౵ੌ ࣻ ஠਍౟
    Python ౵ੌ ௏٘ ۄੋ ஠਍౟
    ӝמ ҳഅ

    View Slide

  18. ௏٘ झఋੌ ୓௼
    ௏࢚٘ য়ܨ ୓௼
    Running
    Commands
    Implementations
    Server
    Github
    User
    Shell
    Database
    Analyzer ҕਊ ੋఠಕ੉झ ҳഅ
    ࠙ࢳਸ ਤೠ ழݔ٘ۄੋ ݫद૑ ౵य
    Grade ೤࢑ റ झ௏য݂
    ழझథ ࢸ੿ ২࣌ ౵य
    ࠙ࢳӝ ߽۳ ୊ܻ
    ӝמ ҳഅ
    Counting
    module
    Linting
    module
    Checking
    module
    Analyzing
    module
    Analyzers

    View Slide

  19. Results

    View Slide

  20. Results

    View Slide

  21. Results

    View Slide

  22. Results

    View Slide

  23. Next

    View Slide

  24. Next
    Kanban Board for future versions

    View Slide

  25. Next
    Features
    • ࠙ࢳػ ۨನ૑షܻ ܻझ౟ ઁҕ
    • ࠙ࢳػ ۨನ૑షܻ ۘఊ ઁҕ
    • ࠙ࢳ Ѿҗ ߙ૑ ઁҕ
    • Python ߡ੹ ഐജࢿ ࠙ࢳӝ ѐߊ
    • ೐۽ં౟ ࠁউ Ѿೣ ୓௼ ࠙ࢳӝ ѐߊ
    • ࣽ䗹 ੐ನ౟ ୓௼ ࠙ࢳӝ ѐߊ
    • ழझథ ࢸ੿ ২࣌ ѐߊ
    Analyzers
    Server

    View Slide

  26. Performance
    Next
    • ۨನ૑షܻ நय ੿଼ ୭੸ച • ࠙ࢳ ߽۳ ୊ܻ
    • pep8, pyflakesо ߽۳ ୊ܻ оמ
    ೞب۾ ழझఠ݃੉૚ೞৈ ࢿמ ѐࢶ
    • ୭न ழ޿ীࢲ ߸҃੉ হח ౵ੌ਷
    ࠙ࢳ झఈറ நयػ Ѿҗܳ ࢎਊ
    Analyzers
    Server

    View Slide

  27. Dev Environment
    Next
    • Vagrant ژח Dockerܳ ഝਊ೧ Flask ࢲߡ ة݀ ജ҃ਵ۽ ܻ࠙
    • Static Resourcesח Gitীࢲ ܻ࠙
    • ജ҃ ࢸ੿ ୭ࣗച
    • పझ౟ ௏٘ ୶о
    Dev environment

    View Slide

  28. хࢎ೤פ׮
    MinJae Kwon (@mingrammer)
    2017.02.17 D2 FEST 2016

    View Slide

  29. QnA
    D2 FEST 2016
    Py Report Card

    View Slide