Python/FastAPI/Django – Weekly News Summary – 26/08/2024 to 01/09/2024
#Real Python How to Install Python on Your System: A Guide The first step to getting started with Python is to install it on your machine. In this tutorial, you'll learn how to check which version of Python, if any, you have on your Windows, Mac, or Linux computer and the best way to install the most recent version in any environment.#basics #best-practices #tools By – | Aug 26, 2024 Web Scraping With Scrapy and MongoDB This tutorial covers how to write a Python web crawler using Scrapy to scrape and parse data, and then store the data in MongoDB.#intermediate #databases #web-scraping By – | Aug 28, 2024 #Django Project – Weblog Could you host DjangoCon Europe 2026? Call for organizers By Thibaud Colas & DjangoCon Europe Support working group | Aug 28, 2024 #PyCoders Issue #644 – Astrophysics, pyproject.toml, Query Languages, and More By – | Aug 27, 2024 #Adam Johnson – Blogs Python: profile total memory allocated with tracemalloc tracemalloc is Python’s standard library module for tracking memory allocations. It has many bells and whistles for detailed analysis, allowing you to slice allocations by file and line or compare snapshots. But for simple purposes, displaying the total memory allocated is sufficient, which is what this recipe does: By Adam Johnson | Aug 30, 2024 Django: rotate your secret key, fast or slow Django’s SECRET_KEY setting is used for cryptographic signing in various places, such as for session storage and password reset tokens. This makes keeping it secure a high priority since an attacker with the key could forge things like password reset tokens. By Adam Johnson | Aug 30, 2024 Django: avoid “useless use of Here’s a little ORM pet peeve of mine that may deepen your understanding of how QuerySets work. By Adam Johnson | Aug 31, 2024 #Hashnode Run flask via waitress Background 在開發階段 Flask default 所提供的 WSGI ( Python Web Server Gateway Interface ) 連官方都提醒僅適用於開發環境,那之前我都是透過 Gunicorn 跑在前面,這次我想嘗試看看用 Waitress,因此產出了這篇筆記。 Purpose 為了避免 Flask 不穩,先改用 waitress 取代原本的 Werkzeug。 Enable SSL。 手順 1. 安裝 waitress 透過 pip 套件管理安裝,… By Kanglin Wu | Aug 26, 2024 Unveiling Extraordinary Python Projects: Catalyzing Innovation and Skill Development Unleashing the Power of Python: A Comprehensive Guide to Extraordinary Projects Introduction Python stands as a versatile and potent programming language, empowering developers with its adaptability across diverse domains. Its simplicity, extensibili… By Samrat Kumar Das | Aug 26, 2024 How to Build a Python Command-Line To-Do List App Managing tasks efficiently is crucial for productivity. A command-line To-Do List app in Python is a simple yet powerful tool that allows you to keep track of your tasks directly from your terminal. This project is a great way to practice Python fund… By ByteScrum Technologies | Aug 26, 2024 날씨에 따른 카테고리 저장하기 날씨와 카테고리 매핑 저장 맑음 날씨에는 관광명소, 카페, 쇼핑 등의 카테고리를 매핑하고, 비 날씨에는 문화시설, 카페를 매핑하는 식으로 설정해준다. 날씨와 카테고리 매핑 데이터를 저장하기 위해서는 WeatherCategoryMapping 모델에 데이터를 넣어야 한다. 장고의 데이터 마이그레이션을 통해 초기 데이터 삽입 : migrations 파일에 초기 데이터를 추가하여 자동으로 데이터 삽입 장고 관리 명령어를 통해 초기 데이터 삽입 : … By Dayeon | Aug 26, 2024 Minimum Spanning Tree (Disjoint Set) Minimum Spanning Tree's concept is compulsory for learning Kruskal and Prim's Algorithm. Let's get started! Minimum Spanning Tree A minimum Spanning Tree (MST) is a subset of edges of connected, weighted and undirected graph which: Connects all vert… By Fatima Jannat | Aug 26, 2024 My Sixth Python Blog: FizzBuzz Journey 🎮 My FizzBuzz Journey: Cracking the Code with Python 🚀 Hey everyone! 👋 In this blog, I’ll be sharing one of the most popular beginner coding challenges—FizzBuzz. It’s a simple game, but it taught me some valuable lessons while coding. Let's dive i… By Gautam Mallick | Aug 26, 2024 [Comprehensive Guide] How to Combine Cells or Split Cells in Excel with Python When working with Excel spreadsheets, it is common to merge cells to create table headers or make the layout more visually appealing and organized. Sometimes, however, you may decide that combining cells wasn't the right choice and need to split them… By Casie Liu | Aug 26, 2024 Machine Learning Explained: A Full Beginner’s Guide Machine Learning (ML) is a subfield of artificial intelligence that empowers computers to learn from data and improve their performance on a specific task without being explicitly programmed. This capability has revolutionized various industries, fro… By Fahad Iqbal Zafar | Aug 26, 2024 Crawling Web-apps after File disclosure vulnerability I – Introduction : Inspired by the Great Ippsec I have made a simple but yet very efficient python script that auto download the source code of any php / nginx / apache / IIS web application , you only need a file disclosure vulnerabilty and a way to… By Ghassan Amaimia | Aug 26, 2024 Purpose and Use of Python's 'JSON' Library in Web Scraping Explained In Python, the "JSON" library is mainly used to process the JSON data format. JSON (JavaScript Object Notation) is a lightweight data exchange format that is easy for people to read and write, and easy for machines to parse and generate. Python's "JS… By Lewis Kerr | Aug 26, 2024 GSoC 2024 Project : AgroNota – Empowering Agriculture Through Machine Learning ⚡ Google Summer of Code (GSoC) is an annual program by Google that offers students (above the age of 18) worldwide the opportunity to work on open-source software projects. Students gain real-world coding experience while collaborating with established… By Bishal Das | Aug 26, 2024 Applying Monte Carlo Simulation Methods to NS&I Premium Bonds This article is the first in a series that takes an in-depth look at using Monte Carlo simulations for NS&I Premium Bonds in the UK. It covers prize distribution and winning odds, and explains how to use Monte Carlo methods to simulate prize draws an… By Jason Shiers | Aug 26, 2024 Diving into Django:Building Web Applications with Python The Python Kumasi Meetup held at KsTu on 27th July was a success which brought together