2014-10-21-osakapy

 2014-10-21-osakapy

D34086a19899706bc3abeb8a2c7eecf7?s=128

heavenshell

October 20, 2014
Tweet

Transcript

  1. ΤσΟλʹ͍ͭͯ @heavenshell 2014/10/21#osaka.py

  2. ͓·͑ɺ୭Α Software engineer, Programmer http://github.com/heavenshell py-autodoc, py-qiita, py-jokk, vim-pydocstring, vim-

    jsdoc, vim-connpass, etc — Python, Vim, Vimperator PHP, Perl, Java, JavaScript ޷͖ͳ Python ͷඪ४ؔ਺͸ print() ͱ dir()
  3. None
  4. σεϚظؒத͸ Java(ϓϩδΣΫτ1) ͱ JavaScript(ϓϩδΣΫτ2) ͱ෼ࢄ KVS ͷઃఆ(ϓϩδΣΫτ3)ͱอक ͹͔ͬͰɺPython ͷίʔυʹҰඵ΋ ৮ͬͯͳ͍ͷͰɺΤσΟλ

    ͷ࿩͠Ͱ ΋͠·͢
  5. None
  6. Python Λॻ࣌͘ͷ؀ڥ Terminal zsh tmux Vim

  7. Ѫ༻͍ͯ͠Δ Vim Plugin ୡ Jedi Pydocstring QuickRun QuickRun-hook-unittest Autopep8

  8. Jedi ิ׬ϓϥάΠϯ Vim / Emacs / SublimeText2 ͳͲͰ࢖͑Δ ิ׬ɺpydoc ͷදࣔ

    etc ศར
  9. Pydocstring Ϋϥεɺؔ਺ɺϝιουͷ docstring Λੜ੒ Python ͷ docstring Λࣗಈతʹੜ੒ :param foo:

    foo Έ͍ͨͳͷ ศར
  10. QuickRun ΤσΟλͰ։͍͍ͯΔ΋ͷΛ࣮ߦͯ͘͠ΕΔ ͜ΕʹϑοΫΛ௥ՃͰ͖Δػߏ͕͋ΔͷͰɺϢχο τςετͷಛఆͷςετͷΈΛ࣮ߦͰ͖Δ΋ͷΛ࡞ͬ ͨ ͨͩ͠ nose ΋͘͠͸ pytest ʹґଘ

    ศར
  11. Autopep8 @hhatto ͞Μ࡞ͷ Autopep8 Λ Vim ͔Β࢖͑Δ ϓϥάΠϯ(@tell-k ͞Μ࡞)͕͕͋ͬͨɺ࡞Γ͕͋·Γ ؾʹೖΒͳ͔ͬͨͷͰɺউखʹ

    fork ͯ͠ Golang ͷ Fmt ϓϥάΠϯΛݩʹॻ͖׵͑ͨ ύονͬͯϨϕϧ͡Όͳ͍Ґʹॻ͖׵͑ͨͷͰ Pull Request ͢Δ͔೰ΜͰΔ ศར
  12. PyCharm ͱ͔ͷ IDE ࢖͑͹ී௨ʹग़དྷΔ΋ͷ͔΋͠ Εͳ͍(Python ࢖͍࢝Ίͨࠒʹ͸ແ͔͚ͬͨͲ) Ͱ΋ෆศͩͳʔͱࢥͬͨ΋ͷΛ࡞ΕΔ Vim ͕ੑʹ ߹ͬͯͨ

    ͋ͱ໪࿦ΤσΟλͱͯ͠ͷૢ࡞ੑ
  13. Ѫ༻͍ͯ͠Δ Vim Plugin ୡ Jedi → AUTHORS.txt ʹ໊લ͕ࡌͬͯΔ(@ hhatto ͞Μ

    ΋) Pydocstring → ࣗ࡞ QuickRun QuickRun-hook-unittest → ࣗ࡞ Autopep8 → Fork ͯ͠ॻ͖׵͑
  14. ͦͷଞͷศརͳ΋ͷ͸ PyConJP 2014 ͷ @tell-k ͞Μ ͷεϥΠυݟΔͱྑ͍ͱࢥ͏ http://tell-k.github.io/pyconjp2014/#/

  15. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠