Tools I Use
I’ve been involving myself in a few projects lately, for both work and personal life. During these projects, I’ve been thinking about what tools and technologies I use, and to use while I’m in the planning process. I’d like to share some of these.
Updated: 29th March 2018 – Git Bash for Mac
- Visual Studio Code – for editing and creating static HTML and CSS, as seen on acarrick.com. I’m also using VS Code for some projects at work.
- PyCharm – my Python IDE of choice since Assignment 3. I use the Professional version, while I have a student license, but there is a free Community edition as well which has the core functionality.
- I also use TextWrangler on the Mac if I want to save battery power and I’m just doing basic edits.
Git Bash for Mac – this is a Terminal customisation and theme that tries (and succeeds) to replicate the much of the extra functionality that Git Bash provides. I missed Git Bash’s display of the branch, tab autocompletion and remote/refs names display. Now I have it on Mac too!
Now by git repos display more prominently!
- Jinja2 and Flask – Python libraries used for HTML generation and web serving. In both Chat Log Parser and the new Urban Dictionary Statistics.
- Requests – a Python library to simplify making HTTP requests and handling the response. I use this in the urban dictionary statistics to fetch the JSON from the API.
- Beautiful Soup – this is an excellent library for scraping websites, querying by XPath, CSS, or a high-level abstraction of the elements of the page. I use this for the UQ course chooser.
- csv – this is part of the Python standard library used to handle CSV data more reliably writing it yourself. I use this in my chat log parser.
- PyMySQL – a pure python implementation MySQL driver suitable reading and writing to a MySQL database using normal SQL. Remember to parameterise your queries to avoid SQL injection.
- Jquery – it’s Jquery… Makes DOM element selection easy on the client side. I use jquery on my main website.
- W3 CSS – a CSS framework by W3 Schools – it’s small and looks nice, I use it on the urban dictionary parser and some work projects. It’s responsive, and has several useful features, but still quite a small size.
- Bootstrap – one of the original CSS frameworks, I used Bootstrap on the recipe site for WIS, and on some work projects. I like it as it’s complete and responsive
In UQ course chooser and chat log backup viewer projects I made extensive use of objects from Object Oriented Programming – I made, Course, Program, and Message, as well as Chat Log and Message an object in their own right, a noun. This gives me the flexibility to add both methods and properties to each object so it can manage its own contents and be updated after creation.
However, with the Urban Dictionary Statistics Tool, I haven’t felt the need to handle each definition that way yet, as I’m just iterating over each definition as a whole and adding the limited results to a result dictionary. But as I add definition-based features to it, I may decide to move to a Definition-as-object technique to abstract the processing.
Another project I have in mind, I’ll be saving data to a database, but I’ll also create snapshots locally, using code. I’ll likely create the snapshots in JSON format due to its ease of use in Python and Ruby; and JSON’s ability to fit into XML nicely (as an exchange format at least).
I’ll try to review this post as I go along, I’ll try to sticky it or something. If you have any suggestions of tools you use, feel free to suggest them in a comment!