Articles tagged with python or related to a Python technology.
It's the Black Friday week and we want to celebrate with more collaboration initiatives.
Most of the time, for your Python project, you need libraries which call in your code, after the installation of the required add-on packages.
You install add-on packages nowadays by just running
pip install <name_of_package> and it works fine. In most cases, this is because, among other things, the package has releases published (by its author) on the Python Package Index (the PyPI).
Over the last 7 or 8 months, I have been working with Packt Publishing on the 2nd edition of a book about design patterns: Mastering Python Design Patterns. It has been out for a month now, and I started mentioning it here and there.
One specific tool every programmer uses everyday is what, in Python, we call Lists. And Python lists are relatively simple to use.
Let's continue our exploration of possibilities and tricks using Selenium and ChromeDriver via Python. In the 2nd installment of this series, I will touch upon useful techniques to interact with the specific elements you need in the web page or user interface.
This article starts a series where we are going to discuss how to use Selenium, from Python, for automating website navigation and doing visual data scraping.
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.
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.
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.
Monitoring is important these days, to help you improve the response time of your web apps, and give you insights on how they are used. Subscription-based services lower the barrier of entry by not requiring you to install and manage your own monitoring infrastructure. And they are generally free for developers.
The first months of this year have seen more activities on the Plone front in my realm, and there are signs of a regain of energy for future work and collaborations. Let me share some information here.
The Plone developers have been working hard over the last years to build the next major release of Plone. It's now around the corner, and it's going to shine in CMS land. The first thing I am doing is testing its features for the end user, and since I am impatient, I use the core developers buildout and try to keep up with the development builds.
So much to do and only so many hours in a day! If this is where you're at, you're not alone.
I have migrated several sites from Plone 4.1 to Plone 4.3.3 this week. I am in the fortunate position where I help maintain many Plone sites, most of them being more than 6 years old. Fortunate because it helps learn a lot, over the years, on the good and the bad in terms of content management practices.
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.