This week we welcome Trey Hunner (@treyhunner) as our PyDev of the Week! Trey writes a programming blog which is worth your time checking out. He is quite active in his local Python community as well as the worldwide community. Let’s spend some time getting to know Trey.
Can you tell us a little about yourself (hobbies, education, etc):
I found web development in grade school, went to school for computer science, and have been doing web consulting since 2010.
I also help maintain some open source libraries and I contribute to open source projects when I can. I often pretend that the open source code I use is under my control and that the developer is an acquaintance. I do this because I find it easier to contribute when I’m willing to look at the code and communicate with the developers (politely and graciously of course).
Why did you start using Python?
In 2009, a friend asked if I could help make a website with Python. We didn’t use Django initially, but we eventually switched to it after using it on another project.
I found DjangoPackages.com, djangosnippets.org, and pyvideo.org incredibly helpful during my adventures in learning Python/Django. I have also relied very heavily on third-party Django apps in most of my websites, especially when I was just getting started. I learned how to use GitHub and write pull requests through fixing bugs and adding features to open source Django packages I used.
What other programming languages do you know and which is your favorite?
I’ve played with a lot of languages, but I’m not fluent in many. With enough Googling I can write Ruby, C, Java, Haskell, and Scheme.
Python is my favorite for command-line scripts and back-end web apps. Python has wonderful syntax, a rich standard library, and a very large ecosystem of third-party libraries.
Due to my transition to front-end development, I am re-discovering my place within the Python community and I have been spending more time assisting Python projects on front-end development.
What projects are you working on now?
I am working on a couple fun side projects, most of which aren’t ready yet. I made http://Unicode.Party recently because I couldn’t find a good search engine for unicode emoji characters.
Which Python libraries are your favorite (core or 3rd party)?
I like unittest.mock (mock on PyPI unittest.mock in Python 3.4) for monkey-patching and mocking in my tests. I like requests for making HTTP requests. I also like flake8 for code style enforcement and cookiecutter for creating new Python/Django projects.
Is there anything else youâ€™d like to say?
Practice empathy every day. Our brains are adept at in-group thinking and empathizing with those outside of our groups takes effort. Online, in the workplace, at tech events: always be empathizing.
The Last 10 PyDevs of the Week