Python Basics: Code Your First Python Program

In the previous Python Basics video course, you set up Python on your computer. With Python installed, you’re ready ready to start coding! In this video course, you’ll: Write your first Python program Learn what happens when you run a program with an error Learn how to declare a variable and inspect its value Learn how to write comments This course can be enjoyed alone or as an accompaniment to Python Basics: A Practical Introduction to Python 3. Ready to […]

Read more

A terminal user interface for searching google

A textual user interface for google.com Prerequisites (❗Read carefully❗) Firstly, you’ll need to install the package Secondly, you’ll need to get google search api key(s) Go to developers.google.com/custom-search/v1/overview Scroll down Click the big blue Get a key button (screenshot]) Make a app if you haven’t already, the name doesn’t matter Click the NEXT button You’ll get an api key You can do the above process as many times as you want. Each api key has a 100 request limit per […]

Read more

A drowsiness detection based on YOLOv5 implementation

This repository consists of a drowsiness detection based on YOLOv5 implementation. You can reach the base repo here 1. Prepared Custom Data Set A custom data set was prepared for this project. Videos were taken from 21 different people in scenarios that could happen while driving. Three different categories were discussed in these videos: normal, yawning and head position. Various light conditions and the use of glasses were taken into account. A total of 63 videos were obtained and labeling […]

Read more

Comparison between Frechet Video Distance implementation from StyleGAN-V and the original paper

In this repo, we demonstrate that the FVD implementation from StyleGAN-V paper is equivalent to the original one when the videos are already loaded into memory and resized to a necessary resolution. The main difference of our FVD evaluation protocol from the paper is that we strictly specify how data should be processed, clips sampled, etc. The problem with the original implementation is that it does not handle: data processing: in which format videos are being stored (JPG/PNG directories of […]

Read more

Hcapcha image collector for artificial intelligence

import hcollector, requests s = requests.session() # s.proxies.update({“http”: “proxy”, “https”: “proxy”}) # Proxies are recommended for bulk collection due to restrictions on requests hcollector.HcaptchaCollector(s, 5).collect(“site key”, “url”) # Ex. ‘4c672d35-0701-42b2-88c3-78380b0db560’, ‘discord.com’    

Read more

Experiments with dependency injection in pipeline steps

This is an experiment to understand if we can write data pipelines in a way that you declare the supporting services that each step required, similar to how FastAPI’s Dependencies function. The manner in which each dependencies would be resolved would depend on its runtime environment, thus supporting pipelines that could run locally or in a cloud-based environment. Additionally, each pipeline step should be able to inform cloud providers of its permission requirements when deployed. Design Interfaces Interfaces serve as […]

Read more

Python source code, that helps you to check for all weights of a font which is hosted in a website

This is python source code, that helps you to check for all weights of a font which is hosted in a website. Read the instructions, to learn how to use it. Screenshot Instructions Downloas and install Termux from here Run codes below in Termux: pkg install python pip install requests termux-setup-storage cd /path/to/code python Font-Downloader.py In the first input, you need to enter the font file url that you’ve found, but without weight name and foemat name (this method will […]

Read more

Rig Builder: An easy to use ui maker for python scripts. Mostly used in Maya rigging

Rig Builder is a flexible UI maker for python scripts. Mostly used in Maya rigging but can be adapted for any other purposes. How to run Add rigBuilder folder to your script path and run the following: import rigBuilder rigBuilder.mainWindow.show() File structure Name Description modules All modules in xml qss Dark style utils Utilities such as yapf for python formatting widgets Attribute widgets classes.py Definition of the two main classes: Attribute and Module editor.py Python code editor templateWidgets.py Widgets set […]

Read more

Monitor New Processes Created On MacOS

Monitor New Processes Created On MacOS, Similar to https://github.com/DominicBreuker/pspy, and https://objective-see.com/products/utilities.html. No Dependencies Required. Why Needed to monitor jamf scripts commandline arguments on mac recently, jamf api keys were being used in jamf scripts that ran peroidically. Using process monitor gathered curl args and got creds which allowed full access to jamf server. Allowing privesc. BUT ProcessMonitor requires root access and pspy doesnt work on mac due to no /proc directory. also ps cannot really be rewritten as it wont […]

Read more
1 192 193 194 195 196 929