Anarcat: Font changes

I have worked a bit on the fonts I use recently. From the main font I use every day in my text editor and terminals to this very website, I did a major and (hopefully) thoughtful overhaul of my typography, in the hope of making things easier to use and, to be honest, just prettier. Monospace font: Fira mono This all started when I found out about the Jetbrains Mono font. I found the idea of ligatures fascinating: the result is truly beautiful. So I do what I often do…

Read More
css 

Python cProfile – 7 Strategies to Speed Up Your App

Your Python app is slow? It’s time for a speed booster! Learn how in this tutorial. As you read through the article, feel free to watch the explainer video: Performance Tuning Concepts 101 I could have started this tutorial with a list of tools you can use to speed up your app. But I feel that this would create more harm than good because you’d spend a lot of time setting up the tools and very little time optimizing your performance. Instead, I’ll take a different approach addressing the critical…

Read More

Real Python: Use a Flask Blueprint to Architect Your Applications

Flask is a very popular web application framework that leaves almost all design and architecture decisions up to the developer. In this tutorial, you’ll learn how a Flask Blueprint, or Blueprint for short, can help you structure your Flask application by grouping its functionality into reusable components. In this tutorial, you’ll learn: What Flask Blueprints are and how they work How to create and use a Flask Blueprint to organize your code How to improve code reusability using your own or a third-party Flask Blueprint This tutorial assumes that you…

Read More
css 

PyDev of the Week: Sebastián Ramírez

This week we welcome Sebastián Ramírez (@tiangolo) as our PyDev of the Week! Sebastián is the creator of the FastAPI Python web framework. He maintains his own website/blog which you should check out if you have some free time. You can also see his open source projects there. You can also see what projects he is contributing to over on Github. Let’s take a few moments to get to know Sebastián better! Can you tell us a little about yourself (hobbies, education, etc): Hey! I’m Sebastián Ramírez, I’m from Colombia,…

Read More
css 

PyDev of the Week: Sebastián Ramírez

This week we welcome Sebastián Ramírez (@tiangolo) as our PyDev of the Week! Sebastián is the creator of the FastAPI Python web framework. He maintains his own website/blog which you should check out if you have some free time. You can also see his open source projects there. You can also see what projects he is contributing to over on Github. Let’s take a few moments to get to know Sebastián better! Can you tell us a little about yourself (hobbies, education, etc): Hey! I’m Sebastián Ramírez, I’m from Colombia,…

Read More

Ahmed Bouchefra: Django 3 Tutorial & CRUD Example with MySQL and Bootstrap

Django 3 is released with full async support! In this tutorial, we’ll see by example how to create a CRUD application from scratch and step by step. We’ll see how to configure a MySQL database, enable the admin interface, and create the django views. We’ll be using Bootstrap 4 for styling. You’ll learn how to: Implement CRUD operations, Configure and access a MySQL database, Create django views, templates and urls, Style the UI with Bootstrap 4 Django 3 Features Django 3 comes with many new features such as: MariaDB support:…

Read More
css 

Beautiful Soup: Build a Web Scraper With Python

The incredible amount of data on the Internet is a rich resource for any field of research or personal interest. To effectively harvest that data, you’ll need to become skilled at web scraping. The Python libraries requests and Beautiful Soup are powerful tools for the job. If you like to learn with hands-on examples and you have a basic understanding of Python and HTML, then this tutorial is for you. In this tutorial, you’ll learn how to: Use requests and Beautiful Soup for scraping and parsing data from the Web…

Read More

Zato Blog: Auto-generating API specifications as OpenAPI, WSDL and Sphinx

This article presents a workflow for auto-generation of API specifications for your Zato services – if you need to share your APIs with partners, external or internal, this is how it can be done. Sample services Let’s consider the services below – they represent a subset of a hypothetical API of a telecommunication company. In this case, they are to do with pre-paid cards. Deploy them on your servers in a module called api.py. Note that their implementation is omitted, we only deal with their I/O, as it is expressed…

Read More
css 

PyCoder’s Weekly: Issue #394 (Nov. 12, 2019)

#394 – NOVEMBER 12, 2019 View in Browser » PSF Seeking Developers for Paid Contract Improving Pip The Python Software Foundation Packaging Working Group is receiving funding to work on the design, implementation, and rollout of pip’s next-generation dependency resolver. Funding has been allocated to secure a senior developer and an intermediate developer, starting in December 2019 or January 2020. RFP open now through November 22. PYFOUND.BLOGSPOT.COM • Shared by Brian Rutledge My Python Development Environment, 2020 Edition The co-creator of Django explains his Python environment: “My setup pieces together…

Read More
css 

PyCoder’s Weekly: Issue #393 (Nov. 5, 2019)

#393 – NOVEMBER 5, 2019 View in Browser » Python Adopts a 12-Month Release Cycle (PEP 602) The CPython team moves to a consistent annual release schedule. More info here in PEP 602. LWN.NET Build a Mobile App With the Kivy Python Framework Learn how to build a mobile application with Python and the Kivy GUI framework. You’ll discover how to develop an application that can run on your desktop as well as your phone. Then, you’ll package your app for iOS, Android, Windows, and macOS. REAL PYTHON Become a…

Read More