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

[ConSalad 05] from banksalad import python

[ConSalad 05] from banksalad import python

[5회차 콘샐러드]에서 발표한 [from banksalad import python] 발표 자료입니다.

Sunghyun Hwang

August 24, 2019
Tweet

More Decks by Sunghyun Hwang

Other Decks in Technology

Transcript

  1. • I ❤ Python (2014~) • I " ߛ௼࢟۞٘ (2014

    ~) • ߛ௼࢟۞٘ ࢲ࠺झ ୡӝ ѐߊਸ ׸׼ • ߛ௼࢟۞٘ ݃੉௼۽ ࢲ࠺झ ੹߈੄ ࢸ҅ ߂ ѐߊਸ ׸׼ • Twitter @_sunghyunzz / GitHub @sunghyunzz ߊ಴੗
  2. য়ט ߊ಴ח 1. ߛ௼࢟۞٘ܳ ୡӝী ٜ݅ݴ ղ۷؍ ӝࣿ ੄ࢎѾ੿ਸ ࢸݺೞҊ

    2. Ӓ җ੿ীࢲ য૵׮ Pythonਸ ই૒ب ੜ ॳҊ ੓ח૑ 3. ӒܻҊ ߛ௼࢟۞٘ য٣ী যڌѱ Pythonਸ ഝਊೞҊ ੓ח૑
  3. 2015 ߛ௼࢟۞٘ ߡ੹ 1 • द੘਷ 5ݺ • ੉۠ Ѣ

    ٜ݅যࠁݶ যڄө? • ஠٘ ୶ୌ ࢲ࠺झ
  4. 2015 ߛ௼࢟۞٘ ߡ੹ 1 • द੘਷ 5ݺ • ੉۠ Ѣ

    ٜ݅যࠁݶ যڄө? • ஠٘ ୶ୌ ࢲ࠺झ
  5. 2015 ߛ௼࢟۞٘ ߡ੹ 1 • द੘਷ 5ݺ • ੉۠ Ѣ

    ٜ݅যࠁݶ যڄө? • ஠٘ ୶ୌ ࢲ࠺झ
  6. ""

  7. ߡ੹ 1 • ஠٘ ୶ୌਸ ೞ۰Ҋ ஠٘ܳ DBীࢲ ࠛ۞য়חؘ दр੉

    ׮ х • ਋ܻо ߓ਍ Ѫ • ഌఖਸ ҅࢑ೞӝ ੹ী ஠٘ ؘ੉ఠо ցޖ ழࢲ पदрਵ۽ ഝਊೞӝ ൨ٜ׮ • ੉Ѥ ੌױ਷ DB੄ ؘ੉ఠܳ যڌѱ ࡅܰѱ ୊ܻೡ Ѫੋ૑ী ؀ೠ ޙઁҳա
  8. ߡ੹ 2 • DBীࢲ ؘ੉ఠܳ оઉয়ח ѱ ইפۄ ҅࢑ оמೠ

    ഋక۽ நय೧ࢲ ࢎਊ • ஠٘ ഌఖ ؘ੉ఠח ࠼ߣೞѱ ߄Շח ؘ੉ఠо ইש
  9. ߡ੹ 2 • Redis/Memcached vs Ӗ۽ߥ • Ӗ۽ߥ਷ ഛप൤ উ౭

    ಁఢ • Ӓؘ۠ ੉ উ౭ ಁఢ ٸޙী ݎೡө? (ࢲ࠺झо ҳ۰ࢲ ݎೞ૑ ঋਸө?) • ೞܖۄب ࡈܻ పझ౟೧ࠁҊ ࢎস ੽ח ѱ ի૑ ঋਸө?
  10. ߡ੹ 2 • Redis/Memcached vs Ӗ۽ߥ • Ӗ۽ߥ਷ ഛप൤ উ౭

    ಁఢ • Ӓؘ۠ ੉ উ౭ ಁఢ ٸޙী ݎೡө? (ࢲ࠺झо ҳ۰ࢲ ݎೞ૑ ঋਸө?) • ೞܖۄب ࡈܻ పझ౟೧ࠁҊ ࢎস ੽ח ѱ ի૑ ঋਸө?
  11. ߡ੹ 2 • Redis/Memcached vs Ӗ۽ߥ • Ӗ۽ߥ਷ ഛप൤ উ౭

    ಁఢ • Ӓؘ۠ ੉ উ౭ ಁఢ ٸޙী ݎೡө? (ࢲ࠺झо ҳ۰ࢲ ݎೞ૑ ঋਸө?) • ೞܖۄب ࡈܻ పझ౟೧ࠁҊ ࢎস ੽ח ѱ ի૑ ঋਸө?
  12. ߡ੹ 2 • Redis/Memcached vs Ӗ۽ߥ • Ӗ۽ߥ਷ ഛप൤ উ౭

    ಁఢ • Ӓؘ۠ ੉ উ౭ ಁఢ ٸޙী ݎೡө? (ࢲ࠺झо ҳ۰ࢲ ݎೞ૑ ঋਸө?) • ೞܖۄب ࡈܻ పझ౟೧ࠁҊ ࢎস ੽ח ѱ ի૑ ঋਸө? A P D O
  13. ߡ੹ 2 • Redis/Memcached vs Ӗ۽ߥ • Ӗ۽ߥ਷ ഛप൤ উ౭

    ಁఢ • Ӓؘ۠ ੉ উ౭ ಁఢ ٸޙী ݎೡө? (ࢲ࠺झо ҳ۰ࢲ ݎೞ૑ ঋਸө?) • ೞܖۄب ࡈܻ పझ౟೧ࠁҊ ࢎস ੽ח ѱ ի૑ ঋਸө? A P D O
  14. ߡ੹ 2 • Ӗ۽ߥ dictীࢲ ч ࠛ۞৬ যڌѱٚ ҅࢑ೞب۾ ݅ٝ

    • ই઱ ބद וܻ૑݅ ೠ 10ୡ ӝ׮ܻݶ Ѿҗо աয়ӟ ೣ
  15. ߡ੹ 2 • Ӗ۽ߥ dictীࢲ ч ࠛ۞৬ যڌѱٚ ҅࢑ೞب۾ ݅ٝ

    • ই઱ ބद וܻ૑݅ ೠ 10ୡ ӝ׮ܻݶ Ѿҗо աয়ӟ ೣ
  16. ߡ੹ 2 • ೠߣ ୹द೧ࠁפ ೠ ׳ী 100ݺ ੿ب ॹ

    (যڌѱ য়न Ѥ૑ ցޖ नӝ) • ҅࢑ ۽૒ ߡӒ ৻ী ௾ ޙઁח হ঻਺
  17. ߡ੹ 2 • ਋ܻо ߓ਍ Ѫ • ࢎਊ੗ח ݒ਋ ੸૑݅

    য૰ٚ ޥо ߓ਋ח ѱ ੓ח ೞܖೞܖ • ਃۧѱ ߄Բפ ੹ജਯ੉ ੉ۧѱ غחҳա! • ࢎਊ੗݅ ખ ݆ਵݶ (ই઱ ੘਺ ઱੄) ݒ୹੉ զ ࣻח ੓ਸ Ѫ э਷ؘ?
  18. • ؊ ݆਷ ࢎਊ੗о ॶ ࣻ ੓যঠ ೠ׮ (Ӓۡ о஖о

    ੓য ࠁ੐) • ૑Ә ࢿמ ޙઁ੄ ؀ࠗ࠙਷ ো࢑ • DBח Ӗ۽ߥਸ ਬ૑ೠ׮ (Ӗ۽ߥ ೘ప௼ܳ ೱ೧) ߡ੹ 3
  19. • CPython੉ ࢿמীࢲ ডೠ ޙઁ੄ ਬഋٜ • ܻࣻ ো࢑? numpy,

    numba ١ (Ӕؘ ইש) • ׮੉ա޸ ೐۽Ӓې߁ Ӓր ؊ ੜ ٜ݅যঠ ೞҊ ঱যо ࢿמ੉ જইঠ ߡ੹ 3
  20. • ׼द ঌҊ્ܻ ࢸ҅੗ • ঌҊ્ܻ ؀ഥ ࢚ࣻ੗ ୹न... •

    ੉࠙੉ ߧੋੌ ܻ হয... Ӓۧ׮ݶ.... • Pythonਸ ޺਷ աܳ ޺਷ ਋ܻ ݽفо ߧੋ ߡ੹ 3
  21. • فֱ ಽоز • Python vs {Go, C++, Java, Scala,

    ... } • Python উীࢲ੄ ׹਷ হਸө? • ਋ܻ੄ ೟णਸ 3ѐਘ ੿ب ޷ܙ ݅ఀ о஖੓ח Ѿ੿ੌө? ߡ੹ 3
  22. • Cython • .pyx۽݅ ߄Լب ઑӘ ࡈۄ૓ ӝ࠙ • ೨ब੉

    غח ۽૒ਸ Cythonਵ۽ ੤ҳഅ ژח Cܳ (ই઱ ࠗ࠙੸ਵ۽) ࢴӝ द੘ ߡ੹ 3
  23. • ਋ܻо ঳਷ Ѫ • ஠٘ ୶ୌ ߡౡਸ ־ܰݶ 4~5ୡ

    റী Ѿҗо աৡ׮ • উ੿੸ੋ ࢲ࠺झ ਍৔ਸ য۵ѷ׮ • Ӓؘ۠ ੉ ੿ب ૑಴о աয়֎? ߡ੹ 3
  24. • ਋ܻо ঳਷ Ѫ • ୊਺ਵ۽ ݒ୹ ߊࢤ • оמࢿਸ

    ੋ੿߉ই ୐ ై੗ ਬ஖. хࢎ೤פ׮ ߡ੹ 3
  25. • উ੿੸੉Ҋ ࢿמ੉ જ਷ ࢲ࠺झܳ ݅٘ח Ѥ ࠺Ү੸ ഛपೠ ߑߨٜ੉

    ઓ੤ೠ׮ • স҅੄ de facto standard, best practicesח ઓ੤ೞҊ աח ӒѦ ঌইղݶ ػ׮ • (׼ো൤) ݺഛೞ׮Ҋ ए਍ Ѥ ইפ׮. উ੿ࢿ਷ ט য۰਍ ب੹ җઁ. ߡ੹ 3
  26. • (߈ݶী) ࢎۈٜ੉ ૌѹ ࢎਊೞח ઁಿਸ ݅٘ח Ѥ ੉ۧ׮ ೡ

    ׹উ੉ হ׮ • ؊ٞ؊ٞ ߑೱਸ ઑ੿ೞݴ оঠ ೣ • ਋ܻ੄ ѐߊ ੹ۚ যڌѱ ೞݶ ߑೱਸ ࡈܻ ઑ੿ೡ ࣻ ੓ਸө? • ੉ ӡ੉ ੜޅػ ӡ੉ۄח Ѧ যڌѱ ೞݶ ؊ ࡈܻ ঌ ࣻ ੓ਸө? ߡ੹ 3
  27. 2016֙੄ Ҋ޹ • ؊ ݆਷ ࢎۈ੉ ஠٘ ୶ୌਸ ߉ওਵݶ •

    নҗ ੹ജਯ ل ׮ ӓ੸ਵ۽ ৢܻҊ रয
  28. 2016֙੄ Ҋ޹ • पܻ௑ ߖܻ झఋੌ۽ ౵Ҧ੸ੋ ഄन ই੉٣য •

    "؊ ੉࢚ ஠٘ܳ ଺૑ ݃ࣁਃ. ׹਷ ੿೧ઉ ੓Ҋ ք Ҋܰӝ݅ ೞݶ ظ" • ࢎۈٜ੄ ࣗ࠺ ؘ੉ఠܳ ߄ఔਵ۽ о੢ જ਷ ஠٘о ೦࢚ ҅࢑ػ ࢚క۽
  29. 2016 ߡ੹ 1 • ࣗ࠺ ؘ੉ఠܳ যڌѱ ঳૑? • ੌױ

    Android ӝળਵ۽ ஠٘ Ѿઁ ޙ੗ܳ ഝਊೞݶ যٸ? • Ӓۢ iOSח? • ੌױ ա઺ী ࢤпೞ੗
  30. 2016 ߡ੹ 1 • ড 2׳ ѐߊೞҊ ୹दө૑ 3׳ •

    ޙ੗ܳ ੍য৬ ա੄ ૑୹ ղ৉ਸ ޥо ӭՔೞҊ ৘ࢁѱ ࠁৈળ׮ • য٥о ൩-೧!
  31. 2016 ߡ੹ 1 • ঌѱ ػ Ѫ • জਸ ੜ

    ࢎਊೞח ࢎۈٜ਷ ஠٘ܳ ୶ୌ߉Ҋ ੜ ॵ׮ • ৵? • d • ż
  32. 2016 ߡ੹ 1 • ঌѱ ػ Ѫ • Ӓؘ۠ জਸ

    ੜ ࢎਊೞח ࢎۈ੉ হ׮ • ৵? • ஠٘ܳ ୶ୌೞ۰Ҋ ݅ٚ о҅ࠗ জ • ਋ܻח ੉۠ Ѧ 'ҕә੗ ઺ब'੄ '਄ब ӝദ'੉ۄҊ ݺݺ
  33. 2016 ߡ੹ 1 • ঌѱ ػ Ѫ • Ӓؘ۠ জਸ

    ੜ ࢎਊೞח ࢎۈ੉ হ׮ • ৵? • ஠٘ܳ ୶ୌೞ۰Ҋ ݅ٚ о҅ࠗ জ • ਋ܻח ੉۠ Ѧ 'ҕә੗ ઺ब'੄ '਄ब ӝദ'੉ۄҊ ݺݺ
  34. 2016 ߡ੹ 2 • ஠٘ ୶ୌ਷ (ੌױ) ߡܽ׮ • ೠҴ੄

    о҅ࠗ ࢎਊ੗ٜ੉ ੿݈ જইೞח о҅ࠗ জਸ ೠߣ ٜ݅যࠁ੗ • (ৡ/য়೐ۄੋী) ੉޷ ݆਷ ࢎیਸ ߉ח о҅ࠗܳ ઑࢎೞח ؘ ૘઺ • (Ѣ੄ о҅ࠗ ੹ҕೞन٠ೠ) о҅ࠗ ೻࠺ ਬ੷ 30ݺ ੿ب ੋఠ࠭ • ੿݈ хࢎ೤פ׮
  35. 2016 ߡ੹ 2 • ஠٘ Ѿઁ ޙ੗ ӝ߈ • ই৘

    ࢜۽਍ ష؀۽(Kotlin) Android জਸ ࢜۽ ݅ٝ • ޛۿ ҅ࣘ ࢲߡח Python ӝ߈ • ড 3~4׳ ੿ب ѐߊ റ ୹द • ઺р઺р ղࠗ ୹दܳ ా೧ ࢎਊ੗ٜ ೖ٘ߔ
  36. 2016֙੄ ߛ௼࢟۞٘ • (׮೯൤) Ԩ ҡଳ਷ ૑಴੄ জ੉ غযх •

    ੌױ ࢎਊਸ द੘ೞݶ Ԩ ݆਷ ࢎਊ੗о ҅ࣘ ࢎਊೠ׮ • ਋ܻо ঌѱ ػ Ѫ • о҅ࠗ৬ ஠٘ ୶ୌ੄ Ҿ೤੉ Ԩ ҡଳ׮ • о҅ࠗ ࢎਊ੗ٜ੉ ਗೞח о҅ࠗ জ੄ ݽणਸ (ઑӘ਷) ঌѷ׮
  37. അ੤੄ ߛ௼࢟۞٘ח • о҅ࠗ জਸ ֈয ݽٚ ҃ઁ ੋҳ੄ ت

    ҙܻ জਵ۽ աইоח ઺ • ਋ܻ੄ تҗ ҙ۲ೠ ׮নೠ بݫੋ੄ ؘ੉ఠܳ ੜ ݽਵҊ ੜ ୊ܻೞח ؘ ૘઺
  38. ߛ௼࢟۞٘ח ब૑য 10% 5% 15% 70% Python Scala Others Node

    • 70% ੉࢚੄ ௏٘о Pythonਵ۽ ੘ࢿ • ઱۽ ؀ࠗ࠙੄ ࢲߡܳ ׮ Pythonਵ۽ ੘ࢿೣ • ױࣽ CRUD • Ԩ ࠂ੟ೠ ࠺ૉפझ ۽૒ ୊ܻө૑ • Ӓ ৻ ঱যח п੗੄ ࢎ੿੉ ੓਺ • ইө աৡ ஠٘ ୶ୌ ࢲߡח ѾҴ Scala۽ ੤ѐߊ (ref. ੘֙ ߊ಴ ଵҊ)
  39. ߛ௼࢟۞٘ח ब૑য • Әਲ਼ࢎ৬੄ ੹ޙ ాनب ׼ରѱ Pythonਵ۽ • TMI:

    ؀ࠗ࠙ Java ӝ߈ਵ۽ ݆੉ ೣ • Pythonীࢲ ੹ޙ ాन ખ ಞೞѱ ೞ۰Ҋ য়೑ࣗझب ݅ٝ • Rainist/K-Format • $ pip install K-Format
  40. ߛ௼࢟۞٘ח ब૑য • ஠٘ Ѿઁ ୊ܻ ࢲ࠺झب ׼ରѱ Pythonਵ۽ •

    iamport хࢎ೤פ׮ • OOO ࢲ࠺झب ׼ରѱ 100% Pythonਵ۽ ҳഅ • فӔفӔ ࠺޻࠺޻ ࢲ࠺झ
  41. ߛ௼࢟۞٘੄ MSA • ੿݈ ׮নೠ بݫੋ੉ ઓ੤ೞҊ пп੄ ਃҳ ࢎ೦੉

    ݽف ׮ܴ • ߛ௼࢟۞٘ ࢲ࠺झ ୡӝࠗఠ MSA ҳઑ۽ ٜ݅য য়ח ઺ • જ਷ MSA ജ҃਷ ӝמ ױਤ۽ ࢲ࠺झо ੜѱ ա׊Ҋ • ౵ಞചীࢲ য়ח ਍৔੄ য۰਑਷ दझమ੉ ࠁઑೞח ݽण
  42. ߛ௼࢟۞٘੄ MSA • ࢜۽਍ ࢲ࠺झܳ ݅٘ח ѱ ݒ਋ औ૑ ঋਵݶ

    ࢲ࠺झܳ ٜ݅૑ ঋח׮ • ੗ஞ MSAо ইפۄ ݻݻ ࢲߡо য়ࣚبࣚ ࢎ੉જѱ ૑ղח ݽण੉ ػ׮ • ੉ۧѱ غݶ ࢲ࠺झо ੹߈੸ਵ۽ ࠺؀೧૑Ҋ दझమ ࠺ਊ੉ ૐо
  43. ߛ௼࢟۞٘੄ MSA • ࢎۈ੉ טҊ بݫੋ੉ טҊ ௏٘о טҊ ۨನо

    טযաפ • ௏٘ܳ ੍ਸ ੌ੉ ݒ਋ ݆ই૑Ҋ • ௏٘ ܻ࠭о झఋੌ ਤ઱۽ ൗ۞оח উ જ਷ ն࢜
  44. ߛ௼࢟۞٘੄ MSA • ࢎۈ੉ טҊ بݫੋ੉ טҊ ௏٘о טҊ ۨನо

    טযաפ • ࢜۽਍ ࢲ࠺झܳ ٜ݅ ٸ݃׮ ਋ܻ੄ ֢ೞ਋ܳ • ҳ੹ী ੄೧ ഑਷ ޙࢲܳ ੍যঠ݅ ೟णغח ഋక۽ • ҕਬೞח Ѫ੉ ࠺ബਯ
  45. ߛ௼࢟۞٘੄ MSA • Python Project Template ਍৔ • Cookie Cutterܳ

    ੉ਊ • Rainist/python • Rainist/cookiecutter-sanic • ؊ ੗ࣁೠ Ѥ @੿ѹ਎ש ߊ಴ ଵҊ (YouTubeী 'ߛ௼࢟۞٘')
  46. ߛ௼࢟۞٘ח খਵ۽ • ਋ܽ ৈ੹൤ (ࡅܰѱ) ࢿ੢ ઺ੋ ઑ૒੉Ҋ ҅ࣘ

    ೟णೞח ઑ૒ • ӒܻҊ ੉۠ ઑ૒ਸ ਬ૑ೞח ੉࢚ (ই݃) Python੉ ҅ࣘ ઱ਃ ঱যੌ Ѫ • Ӓ۞ա അ੤੄ ߛ௼࢟۞٘ח ࢎਊ੗ب ݆Ҋ ࢲ࠺झ ӏݽب ௾ ࢚క • ղࠗীࢲח ݃੉௼۽ ࢲ࠺झ ౭য݂ਸ ా೧ п ࢲ࠺झ੄ ౭যܳ ݒӝח ઺ • ੹୓ ࢲ࠺झী ৔ೱਸ ՙ஖ח ౭য 0 ࢲ࠺झী ؀೧ࢲח ખ ؊ উ੿੸type-safe੉Ҋ ࢿמী ъ੼੉ ੓ח ׮ܲ ঱য ৉द Ҋ۰ ઺
  47. ߛ௼࢟۞٘ח খਵ۽ • ਋ܻо ੌೞח ߑध • ߛ௼࢟۞٘ۄח ௾ ੉ܴ

    ইې 10ݺ ӏݽ੄ ੘਷ झఋ౟সٜ ૘೤ • п ઑ૒਷ ߛ௼࢟۞٘о ୡӝী Ѧযৡ Ѫҗ э੉ ࡅܰѱ ೟णী ૘઺ • ѾҴ ߛ௼࢟۞٘ח Python੄ ੢੼ਸ ҅ࣘ ੸ӓ੸ਵ۽ ഝਊೞӝܳ ਗೡ Ѫ
  48. ؊ ݆਷ ੿ࠁח • Ӓېࢲ ߛ௼࢟۞٘ীࢲ Python ࢲߡ ೐ۨ੐ਕ௼ח? •

    ઑӘ റী ੓ਸ [The Right Frameworks for the Right Time] ࣁ࣌ • ߛ௼࢟۞٘ ղ੄ Python ࢎਊ Ե౲ ҳࢳҳࢳ • YouTubeী 'ߛ௼࢟۞٘' Ѩ࢝ റ 3ഥର ௑࢟۞٘ ੿ѹ਎ש ߊ಴ ৔࢚ ࠁӝ • Rainist GitHub ߑޙ (https://github.com/Rainist) • ӝࣿ౱੉ ୶ҳೞח о஖ח Rainist/awesome-rainist • ౵੉௑ ߛ௼࢟۞٘ ࠗझ ߑޙ (ݣܻ ࠁ੉ח ୡ۾࢝ܳ ٮۄ...)
  49. We Want You Python • Server Side Engineer • DevOps

    Engineer • Data Engineer • Data Scientist • Data Analyst • Machine Learning Engineer • Test Automation Engineer And... • Android Engineer • iOS Engineer • Web Engineer • QA Engineer • SRE • Infra Engineer • System Engineer • Security Engineer ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤ ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ഻ঁ ؊ ݆਷ ੿ࠁח