Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Getting Started with GitHub Actions with Python (fast.ai)
41 points by amrrs on Sept 26, 2021 | hide | past | favorite | 3 comments


I'm the author of ghapi, the lib discussed here. I'm very happy to see it on the front page of hn! If you're interested in getting an overview of the github API and ghapi, there's a useful explainer on github.com: https://github.blog/2020-12-18-learn-about-ghapi-a-new-third...

One thing you might find interesting about ghapi is how I covered the entirety of the thousands of endpoints of the github API in a 40kB download. Ghapi uses a nifty approach of dynamically generating python docs and methods from the OpenAPI definitions. Thanks to python's dynamic features we still get autocomplete, docstrings, etc.

Let me know if you have any questions!


It looks really cool so thanks for all your work on this! I'll give it a shot.


This tutorial is very well written and I'll be following it for one of my personal projects later today.

That being said, I really hope reusable workflows[1] will be released to Enterprise users this year so that I can actually use GitHub Actions in a professional capacity. My engineering org is microservice-based and management isn't allowing GHA usage until it does, and rightfully so - maintaining a hundred different implementations of the same workflow would be suboptimal at the very least.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: