MQTT FastAPI Wrapper With Python

Quick start Create mosquitto.conf with the following content: ➜ /tmp cat mosquitto.conf persistence false allow_anonymous true connection_messages true log_type all listener 1883 Run MQTT broker using Docker docker run –rm –name mosquitto -p 1883:1883 –rm -v `pwd`/mosquitto.conf:/mosquitto/config/mosquitto.conf eclipse-mosquitto Run uvicorn: uvicorn main:app –port 8888 –reload –log-level debug See a list of available routes http://localhost:8888/docs GitHub View Github    

Read more

Solrorm : A sort-of solr ORM for python

solrpy – deprecated solrorm – currently in dev Usage Cores The first step to interact with solr using solrorm is to define a core.Core objects can be initialized using the solrorm.cores.Core class. Example from solrorm.cores import Core my_core = Core(host=’xxx.xx.x.xxx’, port = 8983, core_name = ‘core_name_here’, fields = [‘title’, ‘authors’]) Queries queries helps us to filter records from solr. Using solrorm, we can pass arguments and various ‘magic’ arguments to filter records.A few example are shown below.Example results = my_core.objects.query(organizations=”twitter […]

Read more

An open-source Python AI assistant

[][][][] Knick is a virtual artificial intelligence project, fully developed in Python. It can handle our minor, intermediate as well as heavy tasks which we usually don’t want to do or don’t wish to do. Requirements Operation system: Windows Python Version: 3.9.x Required Modules Use the package manager pip to install all the Required Modules. pip install -r requirements.txt Required API’s All the API’s mentioned below are Free

Read more

Genetic Algorithm for Assignment Problem

A priority of preferences for teacher assignment problem Keywords k-partition; clustering; education 4.0 Abstract According to the credit training regulations, students will have to create their own learning path to complete the training program and must actively register for subjects in each of their semesters. To prepare for the student’s course registration, usually at the beginning of each semester, the training department and the head of the department will work together to carry out the following steps: (1) based on […]

Read more

Advanced Visual Studio Code for Python Developers

Visual Studio Code, or VS Code for short, is a free and open source code editor by Microsoft. You can use VS Code as a lightweight code editor to make quick changes, or you can configure it as an integrated development environment (IDE) through the use of third-party extensions. In this tutorial, you’re going to look at how to get the most out of VS Code for Python development. During this tutorial, you’ll learn how you can configure, extend, and […]

Read more

The creation of the game FlickColor in Python with very precise instructions

Instructions du projet Règles du FlickColor Le but du FlickColor est de faire se propager les couleurs sur une grille jusqu’à ce qu’il n’en reste plus qu’une à la fin du jeu. Le joueur doit pouvoir remplir la grille d’une seule couleur en un minimum de coups. Projet Nous devons utiliser TKinter pour l’interface graphique. Notre programme devra comporter: Un écran d’accueil pour démarrer le jeu Un écran de jeu Un écran de sortie à la fin du jeu Notre […]

Read more

Signin/Signup GUI form using tkinter in python

Hello there, I am Shahid and this is the Signin/Signup GUI form using tkinter in python if you want to use avatar images then paste the image to any folder and copy the path paste the image-file path in that line of code where I have clearly specified in the program Here are some preview of the program Register New User Sign In GitHub View Github    

Read more

An Async Python API Wrapper for the Random Stuff API

YARSAW is an Async Python API Wrapper for the Random Stuff API. This module makes it simpler for you to interact with the API and is easy to implement into your application. Make sure to get an API Key from here before trying to access this module. Changes 1.0 (stable) Documentation Make sure to read the docs at https://namantech.me/yarsaw. Contributing To contribute, fork the repo, make your changes, then start a Pull Request in the repo. To-Do Add docstrings to […]

Read more
1 391 392 393 394 395 943