Python Interactive Mini Games

Mini projects from Coursera’s An Introduction to Interactive Programming in Python Part 1 Part 2. Rock paper scissors lizard Spock Play here! Guess: The Game Instructions: Guess a number within the range. Use the hints (higher/lower) wisely before you run out of your allowed number of guesses! Play here! Stopwatch: The Game Play here! Instructions: After starting the game, click the Stop button only when the tenths digit hits 0 (zero) in order to score a point. Let’s see how […]

Read more

Document manipulation detection with python

task: –> tianchi function image segmentation salient object detection seg use ResNeXT as encoder; use UNet framework; use DAHead as decode_head; see seg model mIoU: usage use make_dataset.py to make the .tfrecord files python -W ignore train.py –batch_size $batch_size –niter $niter –lr $lr todo refine the u2net add: EGNet data aug model fusion GitHub View Github    

Read more

A small framework mimics PyTorch using CuPy or NumPy

CuPyTorch是一个小型PyTorch,名字来源于: 不同于已有的几个使用NumPy实现PyTorch的开源项目,本项目通过CuPy支持cuda计算 发音与Cool PyTorch接近,因为使用不超过1000行纯Python代码实现PyTorch确实很cool CuPyTorch支持numpy和cupy两种计算后端,实现大量PyTorch常用功能,力求99%兼容PyTorch语法语义,并能轻松扩展,以下列出已经完成的功能: cloc的代码统计结果: Language files blank comment code Python 22 353 27 992 自动微分示例:

Read more

Data App Performance Tests

My hypothesis is that The different architectures of Dash, Panel and Streamlit makes a difference if you want to create snappy applications. Framework Server Communication Protocol Built in state Update cycle Dash Flask http No Specific code reruns and UI updates Panel Tornado web sockets Yes, Automatic Specific code reruns and UI updates Streamlit Tornado web sockets Yes, Manual Rerun script top to bottom with caching I want to test that hypothesis and elaborate on it. Test Setup In order […]

Read more

Python script to check files for earrape

python script to check files for earrape automatically installs dependencies: script requires ffmpeg to be installed on system or ffmpeg executable where script is located, you can get it here: https://ffmpeg.org/download.html one day i was bored of dumb jokes in discord servers (video/audio files with earrape), i could not trust anybody, so i wrote this to be safe this is no joke, earrape could potentially damage audio equipment or even cause hearing loss GitHub View Github    

Read more

A simple project manager for conda, windows 10 and vscode

A simple project manager for conda, windows 10 and vscode Installation You must have anaconda3 on your path and vscode function Workon (){ python -m workon $args } Add this function to $PROFILE file using powershell Usage python workon –help python workon show python workon workon PROJECT python workon create PROJECT -d PATH -p PYTHON python workon remove PROJECT Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. […]

Read more

Pianote – An application that helps musicians practice piano ear training

Pianote is an application that helps musicians practice piano ear training Instructions Download the github repository and install Python if necessary Run pip install pygame to install the pygame package Running Main.py will start the application After clicking “Play Game”, press the “New Note” button to listen to a new piano note Then, match the piano note to the correct key by pressing on the piano keyboard The accuracy meter will show how close your chosen note is to the […]

Read more

Lets you store unlimited files to cloud for free

AirDrive AirDrive lets you store unlimited files to cloud for free. Upload & download files from your personal drive at any time using its super-fast API. Installation pip install airdrive Import from airdrive import AirDrive Creating New Drive drive = AirDrive.create(username: str, password: str) Logging In drive = AirDrive.login(username: str, password:str) Methods files returns list of file names existing in the drive download(file_name: str) downloads file from the drive download_all downloads all files from the drive upload(local_file_path: str, remote_file_name: str) […]

Read more
1 277 278 279 280 281 936