import githubμ΄ μλνμ§λ§ github μλμ μ무κ²λ μλ κ² κ°μ΅λλ€. νμ΄μ¬ 2.7 μ¬μ©.
ν μ€μΉ PyGithub
μκ°?
from github import Github
λ μμνλ κ°μ₯ μ’μ λ°©λ²μ
λλ€. λ€μν μΈμ¦ μ νμ μ¬μ©νλ λ°©λ²μ λν λͺ κ°μ§ μλ μ€λͺ
μλ₯Ό νμΈνμμμ€.
from github import Github
λ MainClass
κ° μ‘΄μ¬νμ§ μλλ€λ μ€λ₯λ₯Ό λ°μμν΅λλ€.
ν , κ·Έκ²μ λ§€μ° μ΄μν©λλ€. μΆ©λνλ μ’
μμ±μ΄μμ μ μμ΅λκΉ? pip freeze
μ κ²°κ³Όλ₯Ό λμ΄ν μ μμ΅λκΉ?
ν λκ²°:
μμ ν μ΄λΈ==0.7.2
νμ΄κΉνλΈ==1.29
μμ²==2.11.1
2016λ
10μ 12μΌ μμμΌ μ€μ 10μ 23λΆ, Andrew Gross [email protected]
μΌλ€:
ν , κ·Έκ²μ λ§€μ° μ΄μν©λλ€. μΆ©λμ΄μμ μ μμ΅λλ€.
μμ‘΄μ±? ν λκ²°μ κ²°κ³Όλ₯Ό λμ΄ν μ μμ΅λκΉ?β
μ€λ λλ₯Ό μμ±νκΈ° λλ¬Έμ μ΄ λ©μμ§λ₯Ό λ°λ κ²μ λλ€.
μ΄ μ΄λ©μΌμ μ§μ λ΅μ₯νκ³ GitHubμμ νμΈνμΈμ.
https://github.com/PyGithub/PyGithub/issues/472#issuecomment -253227530,
λλ μ€λ λ μμκ±°
https://github.com/notifications/unsubscribe-auth/AAJPI7AQ-d-K0ux--s9819NQZtMDT0EHks5qzO1IgaJpZM4KTIZ4
.
μμ
μ€μΈ λλ ν 리μ github.py
λΌλ νμΌμ΄ μμ΅λκΉ? (λλ κ·Έ μμ __init__.py
μλ ν΄λ?
μκ² μ΅λλ€.
2016λ
10μ 12μΌ μμμΌ μ€μ 10μ 51λΆ, Andrew Gross [email protected]
μΌλ€:
μμ μ€μΈ λλ ν 리μ github.pyλΌλ νμΌμ΄ μμ΅λκΉ?
(λλ κ·Έ μμ init .pyκ° μλ ν΄λ?β
μ€λ λλ₯Ό μμ±νκΈ° λλ¬Έμ μ΄ λ©μμ§λ₯Ό λ°λ κ²μ λλ€.
μ΄ μ΄λ©μΌμ μ§μ λ΅μ₯νκ³ GitHubμμ νμΈνμΈμ.
https://github.com/PyGithub/PyGithub/issues/472#issuecomment -253235836,
λλ μ€λ λ μμκ±°
https://github.com/notifications/unsubscribe-auth/AAJPIx7SioI6d7e4qTTN4VZaRIIUtY-Bks5qzPP7gaJpZM4KTIZ4
.
μ, github.py
2016λ
10μ 12μΌ μμμΌ μ€μ 11μ 27λΆ, Anthony Zatelli [email protected]
μΌλ€:
μκ² μ΅λλ€.
2016λ 10μ 12μΌ μμμΌ μ€μ 10μ 51λΆ, Andrew Gross [email protected]
μΌλ€:μμ μ€μΈ λλ ν 리μ github.pyλΌλ νμΌμ΄ μμ΅λκΉ?
(λλ κ·Έ μμ init .pyκ° μλ ν΄λ?β
μ€λ λλ₯Ό μμ±νκΈ° λλ¬Έμ μ΄ λ©μμ§λ₯Ό λ°λ κ²μ λλ€.
μ΄ μ΄λ©μΌμ μ§μ λ΅μ₯νκ³ GitHubμμ νμΈνμΈμ.
https://github.com/PyGithub/PyGithub/issues/472#issuecomment -253235836,
λλ μ€λ λ μμκ±°
https://github.com/notifications/unsubscribe-auth/AAJPIx7SioI6d7e4qTTN4VZaRIIUtY-Bks5qzPP7gaJpZM4KTIZ4
.
λ€, κ·Έλ κ² νκ² μ΅λλ€. Pythonμ λ¨Όμ ν΄λΉ νμΌμμ κ°μ Έμ€κΈ°λ₯Ό μλνκ³ λ‘컬 νμΌμ μ΄λ¦μ λ³κ²½νλ €κ³ μλνλ©΄ μλν©λλ€.
μμ²λ! κ°μ¬ν©λλ€. :)
2016λ
10μ 12μΌ μμμΌ μ€μ 11:41, Andrew Gross [email protected]
μΌλ€:
λ€, κ·Έλ κ² νκ² μ΅λλ€. Pythonμ λ¨Όμ ν΄λΉ νμΌμμ κ°μ Έμ€κΈ°λ₯Ό μλν©λλ€.
λ‘컬 νμΌμ μ΄λ¦μ λ³κ²½νλ©΄ μλν©λλ€.β
μ€λ λλ₯Ό μμ±νκΈ° λλ¬Έμ μ΄ λ©μμ§λ₯Ό λ°λ κ²μ λλ€.
μ΄ μ΄λ©μΌμ μ§μ λ΅μ₯νκ³ GitHubμμ νμΈνμΈμ.
https://github.com/PyGithub/PyGithub/issues/472#issuecomment -253251162,
λλ μ€λ λ μμκ±°
https://github.com/notifications/unsubscribe-auth/AAJPIyvN4e2IXEfvfN7o-8OD0HisOCSpks5qzP_CgaJpZM4KTIZ4
.
λλ κ°μ λ¬Έμ λ₯Ό λ§λ¬λ€. κ·Έ λ λλ μ¬κΈ°μ λμ°©νλ€. κ°μ¬ν©λλ€!
λλ λΉμ·ν λ¬Έμ μ μ§λ©΄νλ€. λμμ΄ λμμ΅λλ€. κ°μ¬ ν΄μ
λλ κ°μ λ¬Έμ λ₯Ό λ§λ¬λ€. κ·Έ λ λλ μ¬κΈ°μ λμ°©νλ€. κ°μ¬ν©λλ€!
@andrewgross κ°μ¬
γ
γ
γ
γ
μ°λ¦¬ λͺ¨λ github.py
ν¨μ μ λΉ μ‘μ΄μ π€
νμμμ. λ€. κ°μ¬ν©λλ€!
μ€μ€λ‘ ν¨μ μ λΉ μ‘μ΅λλ€.
κ°μ₯ μ μ©ν λκΈ
μμ μ€μΈ λλ ν 리μ
github.py
λΌλ νμΌμ΄ μμ΅λκΉ? (λλ κ·Έ μμ__init__.py
μλ ν΄λ?