Articles tagged with productivity.
As you may know, many powerful and smart pieces of software are written in Python. Based on that, how I approach things (and my clients too) is: Just leverage these tools!
Back to more coding! Here are 4 Python modules I have been using more recently for building solutions to actual problems.
After the first part on managing domains using the DNSimple API, here is the follow-up where we will see how to do domain registration operations using the sandbox version of the API.
HTTPie is an HTTP client and an alternative to the famous cURL. Its goal is to make it easy to interact with HTTP servers, using a simple and natural syntax. This post will show how to quickly start using those benefits to test APIs.
Virtualenv is the tool for creating a Python virtual environment, a folder on your computer system that
embarks its own copy of the Python interpreter and the
site-packages subfolder where the code for the installed third-party modules is placed.
When using different Python-based tools, frameworks or applications, you need to install all the corresponding compatible versions of Python and easily switch between them. Assuming, you are running on Linux, you will enjoy using pyenv. It is one popular tool to manage several versions of Python, and even environments dedicated to projects.
Need to automate HTTP requests using Python? One popular way, and also my preferred one, is to use the requests module. Let's have a quick look.
I have been a user and fan of DNSimple for several years. And I now have more than 20 domains managed using their services. Here are the main reasons why they are a game changer for me.
These last months, I learned more about many Python features and how to write Pythonic code that really uses those features. That happened naturally. I wanted to get better at programming with Python for my projects, and I started watching Pycon talks on a daily basis or reading the documentation and online resources. Also, in current projects, I am mostly using Python 3.
After experimenting with S3cmd, I immediately started automating my custom backup process. Quick to get working and improve as you go, thanks to Python!
I decided to use AWS S3 more actively to backup files that I don't need to keep permanently on my laptop. And this is quite easy using the command line tool S3cmd.
Working on a Mac OS X or Linux system really helps your productivity. Basically you just do the stuff you are supposed to do, without being distracted by a graphical interface showing you several options to choose from, at each click or navigation step. That's the point of using Command-Line Interface tools.
As a developer, on your own machine, you access your code repositories on Github using your credentials, but on a production host one should not use his personal account's password or SSH keys.
I started having difficulties running Harp on my Mac, after some OSX El Capitan software update that affected my NodeJS installation.
For this article, I am assuming you already have Jekyll installed, with a project set up on your local machine to generate your static site's HTML files under your build directory of choice.
I started exploring the cool applications of Electron, the emerging framework that allows developers to build cross platform desktop apps with web technologies.
Here are my notes on installing Python and related packages useful for my web development with Plone and web frameworks such as Pyramid, or for pure scripting work.
I had to reinstall all my tools on a new Mac, and I took the opportunity to do things in ways that allow more productivity. Hopefully, I would also avoid situations where things break with future software installs or updates.
So much to do and only so many hours in a day! If this is where you're at, you're not alone.
I work on projects using Plone, and I love working with its framework. I just worked an hour for my current project, and once again I enjoyed the fact that I can write stuff in a clean way. I can expose logic or behavior where and how I want it, using interfaces and components mechanisms provided by Zope libraries under the hood. It's got even better now that we have an elegant API.
There are many new methods for deploying web applications in a predictable way, fast, and while having fun. You might forget about system administration, database administion tasks, security updates, etc, if you get used to this.