Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PyCon by Python
Search
Park Hyunwoo
August 18, 2018
Design
7
1.4k
PyCon by Python
파이콘 한국 2018 라이트닝토크에서 발표했던 자료입니다.
Park Hyunwoo
August 18, 2018
Tweet
Share
More Decks by Park Hyunwoo
See All by Park Hyunwoo
2019년에 기술 문서를 번역하는 기분
lqez
1
37
Using CloudFront with S3 at SMARTSTUDY (in Korean)
lqez
2
230
Using AWS CloudFront with S3 at SMARTSTUDY
lqez
2
150
the ideal and the real
lqez
0
150
Other Decks in Design
See All in Design
20241204_UI/UXデザイナーLT会 - vol.10_DMM
motokoishida
0
170
Improve a service workshop
mastervicedesign
1
130
Карта реализации историй — убийца USM
ashapiro
0
270
最速[要出典]アクセシビリティチェック
magi1125
2
130
Findy - デザイナー向け会社紹介 / Hiring Findy's Designers
findyinc
6
57k
DMMデザイン組織の生成AI導入プロセス - Adobe Fireflyと振り返る約1年とこれから -
takumasaito
1
680
Night Shift concept 9/15/2024
cpineda57
0
750
Charcoal 2.0: デザインシステムの基盤を再構築
godlingkogami
1
560
デザインシステム構築の進め方 基本から実践まで、具体的な手順を徹底解説
ncdc
1
280
20241019-CUD友の会「困った!を解決するデザイン改訂版」交流会
majimasachi
0
290
Webフォント選定の極意!フォントの基本から最新トレンドまで徹底解説
takanorip
5
720
202409_会社概要資料_Englishver.pdf
zakkerooni
0
220
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Designing for humans not robots
tammielis
250
25k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Navigating Team Friction
lara
183
15k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Scaling GitHub
holman
459
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
BBQ
matthewcrist
85
9.4k
Embracing the Ebb and Flow
colly
84
4.5k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Transcript
ॆਵ۽ ೞӝ ߅അ, zerobased.co “ॆਵ۽ ೞӝ”ܳ ߊೡ ߅അੑפ. ৵ ॆਵ۽
೧ঠೞחо ফӝ೧ࠁ۰Ҋ פ.
ೠҴ 2018 കಕীࢲ ߊ೮णפ.
Ѥъೠ Ҵղ ॆ ࢤక҅ী ࣘੋ ࠁఙ غҊ ೠҴਸ ৈח
ਬח “ॆ ࢤక҅ী ࣘੋ ࠁఙ غҊ” ۄҊ פ.
ॆ ӏ അधਸ Ѩ࢝ೞо ݅դ ਢಕੋؘਃ,
https://www.w3resource.com/python- exercises/re/python-re-exercise-47.php ੜ ݽܰ؍ ղਊਸ ঌѱ غয જওणפ. ೞ݅ URLਸ
ࠁפ phpо णפ.
.php phpо णפ.
.php ಕ ࡺ݅ ইפۄ ॆ കಕо php۽ غয ਸ
ࣻب Ҋ – ࢎप ইפ݅ – ߹ ޙઁח ইתפ.
ॆ о ੋ ۠ఋੋ CPythonب ۽ C য۽ ࢿغয
ঋоਃ?
C যח ѾҴ যڃ য۽ ߸ജغաਃ? Clang LLVM? X86-64 ASM?
Community & Diversity ೞ݅, ॆ ழޭפ౭ ղীࢲ ܲ যܳ ցޖ
݆ ফӝೞח Ѫ ޙઁо ؼ ࣻ णפ.
ழޭפ౭о ೱೞח ߄ী पೞӝ য۵ӝ ٸޙੑפ. Community & Diversity
ઁө ࠊ৳؍ ৈ۞ ۽Ӓې߁ য, ۨਕ ழޭפ౭ ൜ݎࢿ࣭ܳ جইࠁݶ જѷणפ.
Community & Diversity
ೠҴ കಕח ॆ / Ҋ ӝ߈ਵ۽ ٜ݅যઉ णפ.
Python 56.2% HTML 32% CSS 7.7% ӒܻҊ JavaScript 4.1%۽ ܖযઉ
णפ.
ೠҴ കಕࠗఠ Ҋ۽ ٜ݅য ৳णפ. ചݶ ইې ࢚࢝
ࣼೠ ࠙ب ҅दѷ݅, ӝ࠙ ఒѷભ.
ॆ ஶಌ۠झܳ ળ࠺ೞח ࢎۈٜ ॆী ࣼೞݶ ৈ۞о ਬ۽ જҊ ࢤпפ.
ੌױ കಕب ॆਵ۽ ٜ݅যઉ ਵפ ॆ ࢎਊח ߓਕࢲ ӝৈೞѢա Ҋӝ
औणפ.
ߊо ઁೠ ߊ ޙࢲب Ѩషೞחؘ ॆਸ ݽܰݶ ઁ۽ Ѩషೞӝ য۵Ҋ
ࢤпפ.
ӝ֛ಿਸ ݅ٚҊ ೧ب ॆ ۽Ҋ ࢚࢝җ PEPܳ ೧ೞҊ ٜ݅ݶ
ӝ࠙ જইפ.
۠ ীࢲ ॆ ࢎਊٜ ળ࠺ೞח ೠҴ ܲ ѐߊ
ஶಌ۠झ৬ ܲ ܳ оҊ ࢤпפ.
ೞ݅ ߈۽ ழޭפ౭ܳ ٜ݅Ҋ ೯ࢎܳ ೯ೞחؘ য ਃೠ ӝࣿ ॆ݅ਵ۽ח
ࠗೠؘਃ,
֙ ী ೠ ߊܳ ଵҊ೧दݶ غҊ, दр ҙ࢚҅ ؊
࢚ ࣁೠ ࢸݺ ࢤۚפ.
ח ৢ೧ ળ࠺ਤਗഥח ইפ݅, ೠҴ ۽Ӓ۔࠘ਸ ݅٘חؘ بਸ णפ.
ࠁా ଼ਸ ٜ݅ ٸח ۠ ޙ ಞ ۽Ӓ۔ਸ ࢎਊפ. (:
adobe.com)
ળ࠺ਤਗഥ ࢎۈٜ ੌࠗ݅ Ӓې ٣ੋҗ ઑ౸ সਸ ೡ ࣻ
ਵ۽ য۰ णפ.
16 for patron in preset.patrons: 17 patron = patron.rsplit('/', 1)
18 if len(patron) == 2: 19 patrons.append({'name': patron[0], 'org': patron[1]}) 20 else: 21 patrons.append({'name': patron[0]}) 22 23 page = template.render({ 24 'coc': preset.coc, 25 'sponsor_levels': preset.sponsor_levels, 26 'staffs': preset.staffs, 27 'volunteers': preset.volunteers, 28 'patrons': patrons, 29 'keynotes': preset.keynotes, 30 'programs': preset.programs, 31 'session_categories': preset.session_categories, 32 }) 33 34 # Save result as html file 35 with open("pyconkr-2018-booklet.html", "wb") as file: 36 file.write(page.encode('utf-8')) 37 38 # Build 39 if os.environ.get('TARGET') == 'production': 40 if not os.environ.get('DOCRAPTOR_APIKEY'): 41 sys.exit('Please set DOCRAPTOR_APIKEY to bulid production pdf!') 42 import docraptor 43 44 baseurl = "https://lqez.github.io/pyconkr-2018-booklet/" 45 docraptor.configuration.username = os.environ['DOCRAPTOR_APIKEY'] 46 doc_api = docraptor.DocApi() Ӓېࢲ ߣীח ॆਵ۽ ٜ݅য ࠁওणפ. ޛۿ ܲ যੋ HTMLҗ CSSب ࢎਊ೮णפ.
pyconkr.pdf pyconkr.html preset.py ੋࣧ ؘఠܳ ݅٘ח җ ѱ 3ױ҅۽ աׇפ.
pyconkr.pdf pyconkr.html preset.py ੌױ ۽Ӓ۔࠘ী ࢎਊؼ ؘఠܳ ॆ dict ഋधਵ۽
ળ࠺פ.
ؘఠח കಕী ਵפ Ҋ ؘఠ߬झী ࣘ೧ࢲ ؘఠܳ ߉ਵݶ ؾפ.
۽Ӓੋ פ. ۽Ӓੋ উؾפ. $ ssh
[email protected]
Using keyboard-interactive authentication.
[email protected]
password: Access denied
[email protected]
password: Access denied $
ળ࠺ਤਗഥо ইפݶ ࣘೡ ࣻ হणפ. ח ઁ ળ࠺ਤਗഥо ইתפ. Access
denied
ೠ ٸ ٜ݅؍ കಕܳ झېೖա ࠭౭ಽ㙋ਵ۽ ӗযঠ ೠפ ӝ࠙
࢚פ.
pyconkr.pdf pyconkr.html preset.py ইޖౡ, ؘఠܳ ӗҊ ࣚਵ۽ ࠂࢎ ࠢৈ֍ӝ ೧ࢲ
ॆ dict ഋधਵ۽ ળ࠺פ. sponsor_levels = [ { 'name': 'ইހ٘', 'code': 'diamond', 'mode': 'full', 'sponsors': [ { 'name': 'ߛ࢟۞٘', 'img': 'banksalad.svg', 'desc': '''ӝࣿ Әਲ਼ਸ ߄Ե ࣻ ਸөਃ? ߛ࢟۞٘ח ’ܻ’ Әਲ਼ਸ ߄ }, { 'name': 'ೞಌழ֏', 'img': 'hyperconnect.svg', 'desc': '''ೞಌழ֏ח ࣁ҅ 2র ۽٘ܳ ӝ۾ೠ জ 'ইܰ'৬ ೣԋ }, ], }, {
pyconkr.pdf pyconkr.html Jinja2ܳ ਊ೧ HTML ޙߨਸ о ޙࢲܳ ٜ݅যշפ. ח
ੋࣧܳ ਤ೧ svg৬ э ߭ఠ ੌ۽ ળ࠺פ. preset.py
pyconkr.pdf pyconkr.html ઁ HTML ੌਸ PDF۽ ߸ജೞݶ ؾפ. preset.py <!DOCTYPE
html> <html dir="ltr" lang="ko-KR"> <head> <meta charset="utf-8" /> <title> ೠҴ 2018</title> <meta name="author" content="PyCon Korea 2018 Organizing team"/> <meta name="date" content="2018-07-10"/> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div id="frontcover"> <div class="wrap"> <img class="slogan" src="images/pyconkr2018-slogan-white-left.svg"> <h2> ೠҴ 2018</h2> <h3>ࢲ, ুझ</h3> <p><strong>झܽ</strong> / 8ਘ 15ੌ, 17ੌ</p> <p><strong>ౚషܻ</strong> / 8ਘ 17ੌ</p> <p><strong>ஶಌ۠झ</strong> / 8ਘ 18ੌ, 19ੌ</p> <img class="logo" src="images/pyconkr2018-logo-white.svg"> <img id="item-7" src="images/pyconkr2018-item-7.svg"> <img id="item-8" src="images/pyconkr2018-item-8.svg"> </div> </div>
pyconkr.pdf pyconkr.html preset.py HTML/CSS PDF߸ജ PrinceXML ١ ޙ ߸ജ ۽Ӓ۔ਸ
ࢎਊפ.
ח PrinceXMLਸ ࢎਊೞח DocRaptorۄח ৡۄੋ ࢲ࠺झী оੑ೧ ۴ೞѱ সೡ ࣻ
णפ.
DocRaptorח рױೠ docraptor-python ۄ࠳۞ܻܳ ઁҕೞҊ য, ಞܻೞѱ ࢎਊೡ ࣻ णפ.
ೞ݅ ۽Ӓ۔࠘ী ݆ ղਊਸ ӝীח ೠ҅о णפ.
ೞ݅ ۽Ӓ۔࠘ী ݆ ղਊਸ ӝীח ೠ҅о णפ.
Ӓ ٸ APAC 2016 ۄ షীࢲ ࠌ؍ Jamie J
Seol ש summariz3о ࢤпլणפ.
ੜ ؾפ. ೞ݅ റਗࢎ۽ࠗఠ ഛੋਸ ߉ইঠ ೞח ޙઁо য, ѾҴ
ۧѱ ೞ ޅೞҊ द ਃ೧ࢲ ߉ওणפ.
۽Ӓ۔ਸ ࢎਊ೧ࢲ ಞೞח ҃ী ޙࢲܳ ؘఠ۽ ࠁҊ ܙ ࣻ ח
ਸ ফӝೞҊ रणפ.
ୡߥ ߣա ݏߨ Ѩࢎ ҃ب ࠺तೞѱ ܻೡ ࣻ Ҋ ࢤпפ.
ۧѱ औѱ դ Ѥ ইתפ. ѐੋറਗ ࠙ ী ݽܳ ֍ਵन
࠙ णפ.
ࢎਊೞ؍ Noto Sansী ݽо ನೣغয ঋই, Free license ݽܳ
߉ই ۽ ܻ೮णפ.
ҡଳणפ. স җীࢲ જ ҃ਸ णפ.
pyconkr.pdf pyconkr.html preset.py ୭ઙ ੌਸ ੋࣧ সী ߄۽ ࠁյ ࣽ
হ݅, ݆ ࠗ࠙ਸ programmable ೞѱ ೧Ѿೡ ࣻ णפ.
۽Ӓ۔࠘ਸ ࢤࢿೞח ۽Ӓ۔ ࣗझ ٘ח ਤ URLীࢲ ഛੋೡ ࣻ णפ.
https://github.com/lqez/pyconkr-2018-booklet
Ӓۧѱ ٜ݅য ۽Ӓ۔࠘ਸ ೯ࢎ զ ߉ই ࢿҕਵ۽ ߔੋࢲ ೡ ࣻ
णפ.
ઁ ޙ ۽Ӓ۔җ ઑ౸ ٣ց হ HTML, CSS, Pythonਵ۽ рױೠ
଼ਸ ٜ݅ ࣻ णפ.
ॆਸ ࢎਊೞҊ ࢎیೞח ݆ ٜ࠙ ળ࠺ਤਗഥী ؊ ݆ ଵৈೞनݶ
؊ ա(better), ؊ নೠ(diversity) ೯ࢎܳ ٜ݅যաт ࣻ Ҋ ࢤпפ. хࢎפ.