!LPNP@GS
8IPBN*
!LPNP@GS
2
ॴଐ
w גࣜձࣾϏʔϓϥυ
ʢ1ZUIPOͰσʔλղੳͷ͓ࣄʣ
w ౦ژେֶઌՊֶٕज़ݚڀηϯλʔ
ʢݚڀऀ͕͏ͨΊͷ1ZUIPOύοέʔδͷ։ൃʣ
1Z$PO+1
w 1Z$PO+1ʮQBOEBTͷ4UZMJOHػೳͰڧԽ͢Δ+VQZUFS࣮ݧϨϙʔτʯ
w 1Z$PO+1ʮ*OUFSBDUJWF/FUXPSL7JTVBMJ[BUJPOVTJOH1ZUIPO
ɹɹɹɹɹɹɹɹɹʙ/FUXPSL9#PLFIͰ1&1ͷࢀরؔΛՄࢹԽ͢Δʯ
5PNPLP'VSVLJ
LPNP G S
Slide 3
Slide 3 text
!LPNP@GS
ࠓ͢͜ͱ
w 1&1ಉ࢜ͷҾ༻ؔωοτϫʔΫΛͬͯɺ
ݱࡏҎ্͋Δ1&1ΛΫϥελϦϯάͯ͠ΈͨΑ
3
w ֤ΫϥελΛςΩετղੳͯ͠ɺ
ͲΜͳΫϥελ͕Ͱ͖ͨͷ͔ݟͯΈͨΑ
$PNNVOJUZ%FUFDUJPO 8PSE$MPVE
Slide 4
Slide 4 text
.PUJWBUJPO
Slide 5
Slide 5 text
!LPNP@GS
.PUJWBUJPO
w 1&1 1ZUIPO&OIBODFNFOU1SPQPTBMT
ॏཁͳެࣜͷٕज़υΩϡϝϯτ
w Ͱྔ͕ଟ͍ʢݱࡏɺ1&1ʣ
w ͲΕ͕ॏཁͳ1&1ͳͷʁ
w ͲΜͳτϐοΫ͕͋Δͷʁ
w ·ͣͬ͘͟Γͱશମ૾ΛѲ͍ͨ͠
5
Slide 6
Slide 6 text
!LPNP@GS
*EFB
PEP
8
Style Guide
for Python
PEP
20
The Zen of
Python
PEP
257
Docstring
Conventions
w 1&1ͱ1&1ͷؒʹҾ༻͕ؔ͋Δ
PEP 8ɺ257ͱ20ΛҾ༻͍ͯ͠Δ
Slide 7
Slide 7 text
!LPNP@GS
*EFB
PEP
8
Style Guide
for Python
PEP
20
The Zen of
Python
PEP
257
Docstring
Conventions
w 1&1ͱ1&1ͷؒʹҾ༻͕ؔ͋Δ ϦϯΫ͕షΒΕ͍ͯΔ
w Ҿ༻ؔʹ͋Δ1&1ಉ࢜ɺτϐοΫ͕͍ؔͯ͠Δ
w ωοτϫʔΫղੳͷख๏Λ༻͍ͯɺ
1&1ΛΫϥελϦϯάͯ͠ΈΑ͏ʢίϛϡχςΟநग़ʣ
Slide 8
Slide 8 text
!LPNP@GS
ͬͨύοέʔδ
w #FBVUJGVMTPVQʢεΫϨΠϐϯάʣ
w 1&18FC্Ͱެ։͞Ε͍ͯΔͷͰɺBλάΛநग़͢Δ
w QBOEBTʢσʔλܗʣ
w /FUXPSL9 άϥϑσʔλԽʣ
w QZUIPOMPVWBJOʢΫϥελϦϯά ίϛϡχςΟநग़
ʣ
w XPSEDMPVEʢϫʔυΫϥυʣ
w ֤Ϋϥελͷ1&1ͷຊจʹద༻
8
!LPNP@GS
"Ϋϥελ1SPDFTT%PDVNFOUT
13
• PEP 8000-series
• PEP 1:
PEP Purpose Guidelines
• PEP 12:
Sample reStructuredText PEP
Template
• PEP 257:
Docstring Conventions
25 PEPs
Slide 14
Slide 14 text
!LPNP@GS
"Ϋϥελ5ZQF
14
• PEP 8
• PEP 482, 483, 484ଞ:
ܕώϯτؔ
• PEP 3107:
ؔΞϊςʔγϣϯ
• PEP 557:
σʔλΫϥε
42 PEPs
Slide 15
Slide 15 text
!LPNP@GS
"Ϋϥελ1BDLBHF
15
36 PEPs
• 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
Slide 16
Slide 16 text
!LPNP@GS
ॴײ
w ͦΕͳΓʹೲಘ͕͍͘෦͋Δ
w ͍·͍ͪඍົͳͱ͜Ζ͋Δ
w ϦϦʔεͷ͓Βͤܥͷ1&1͕ɺ
Ͳ͔͜ͷΫϥελʹదʹ೧͡ࠐ·ΕΔ
w ଞͷ1&1ͱҾ༻͕ؔͳ͍1&1ʢવʣΫϥελϦϯάͰݽཱ͢
Δ
w 1&1͕͚ͭͩͷখ͞ͳΫϥελΛ࡞͍ͬͯΔ͕ɺ
ଞͷ6OJDPEFؔͷ1&1ͱಉ͡ΫϥελʹೖΔํ͕ࣗવͳͷͰ
w ࠓޙ
w Ҿ༻ؔͰͳ͘
ຊจͷ༰ͰΫϥελϦϯάͯ͠ൺֱ͢Δͱ໘ന͍͔͠Εͳ͍
16