How I Created a Face-Detection App Using the Flask Framework

Advancement in technology has witnessed the application of artificial intelligence to detect and recognize human faces. πŸ‘©πŸ‘©β€πŸ¦²πŸ‘¨β€πŸ¦° This is accomplished using OpenCV, a Python library for computer vision and image processing. In the previous tutorials, we use OpenCV to process images and turn them into pencil drawings and cartoons. We will learn how to use … Read more

How to Embed A Live Stock Chart in Your WordPress Blog Given a Ticker

I was just working on a website for financial data analysis and wanted to embed a real demo live trading chart on the company that was being analyzed (YUMM – don’t research it – not worth it). πŸ˜‚ This article shares my experience with TradingView. Embedding a live stock chart on your website or blog … Read more

Python – How to Create a Category in WordPress if it Doesn’t Already Exist?

To create a new category in WordPress using Python, you can use the WordPress REST API. Here’s a basic function that checks if a category already exists and creates it if it doesn’t: In this code, replace ‘http://your-site-url’, ‘your-username’, and ‘your-application-password’ with your WordPress site URL, your WordPress username, and the application password you generated. … Read more

How to Publish a WordPress Post using Python?

You can automate publishing a post on WordPress using Python by using the WordPress REST API. Here is a basic outline of how you could accomplish this: Replace ‘http://your-site-url’, ‘your-username’, and ‘your-application-password’ with your WordPress site URL, your WordPress username, and the application password you generated. ⚑ Warning: Basic Auth sends the username and password … Read more

How I Created a Blog Application Using Django – Part 4

In this fourth part series of our project tutorial on creating a blog application using the Django framework, we will learn how to integrate a rich text editor into our blog application. If this is your first time attempting this project, you will benefit greatly if you start from the beginning all through the previous … Read more

Smart Contract to Store a Sentence on ETH

The following article is based on Adam’s CharmingData channel and GitHub repository. β™₯️ In this tutorial, we will create, test, and deploy a smart contract called SimpleStorage. This contract will allow your users to create their own sentence and store it on the blockchain. It will also allow users to retrieve the last sentence stored … Read more

OpenAI GPT-4 Update: A New Era in Function Calling

It’s been an exciting journey observing OpenAI’s progressive leaps in the field of generative AI. Their cutting-edge models, gpt-3.5-turbo and gpt-4, released earlier this year, have been at the forefront of developers’ toolkits, catalyzing countless fascinating applications. We have discussed many GPT applications on the Finxter blog, such as productivity use cases for coders and … Read more

Solving Response [403] HTTP Forbidden Error: Scraping SEC EDGAR

The Securities and Exchange Commission’s (SEC) Electronic Data Gathering, Analysis, and Retrieval system, known as EDGAR, serves as a rich source of information. This comprehensive database houses financial reports and statements that companies are legally required to disclose, such as a quarterly report filed by institutional investment managers. However, when attempting to extract data from … Read more

OpenAI Whisper Cannot Import Numpy

The Problem: NumPy Is Missing If you try to run the Whisper model from OpenAI but encounter an error stating the absence of NumPy, a package crucial for Python’s array computing. ValueError: Unable to compare versions for numpy>=1.17: need=1.17 found=None. This is unusual. Consider reinstalling numpy. If you check the NumPy package version, you may … Read more