cat /dev/brain

Articles with the github tag


Unittests in github3.py

After mostly finishing github3.py[1] I started writing the unittests for the library. I waited until the end because I knew I wanted to test directly against the API. To do that, I needed to make sure I had all the functionality that would return the proper objects to …


A Few Thoughts

I've just had a few things kicking around in my head lately and I thought I'd jot them down.

github3.py

With the exception of paginated calls, github3.py is essentially feature complete but is lacking tests for everything. My plan as of this point in time is to finish …


github3.py (update)

I previously mentioned my work on github3.py and how I was having trouble creating downloads on GitHub because they use Amazon's S3 service for the uploaded files. What this means is that first you have to "create" the download on GitHub then you have to upload the actual file …


github3.py

After finishing finals, I started working on my project to wrap the Github API. Recently, I came across the area of the API dealing with creating a download on a repository. The one thing that has made this project so enjoyable has been requests. Upon reaching this section, I noticed …


Git(hub) Basics

After encountering some problems working on github3.py I stopped by #github on Freenode to see if anyone else had come across the same problems. While there, I noticed a lot of people asking some basic questions about how to do things with respect to git and Github. They seem …


Sprunge.us

The Context

I use sprunge.us on the rare occasion that I need to paste something for someone else to see. It's simple to use, written in python and open source. The chief example when you visit the website uses curl (and I love using the command line for as …