https://github.com/helpimnotdrowning/random-py3
collection of python 3 scripts i've made
https://github.com/helpimnotdrowning/random-py3
image-manipulation math minecraft minecraft-datapack minecraft-server neofetch python python-scripts python3 subtitle subtitles twitter-bot video-manipulation wallpaper-changer windows windows-10 windows-wallpaper
Last synced: 29 days ago
JSON representation
collection of python 3 scripts i've made
- Host: GitHub
- URL: https://github.com/helpimnotdrowning/random-py3
- Owner: helpimnotdrowning
- License: gpl-3.0
- Created: 2020-06-11T03:07:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-01T05:50:56.000Z (over 2 years ago)
- Last Synced: 2024-03-01T06:45:45.855Z (over 2 years ago)
- Topics: image-manipulation, math, minecraft, minecraft-datapack, minecraft-server, neofetch, python, python-scripts, python3, subtitle, subtitles, twitter-bot, video-manipulation, wallpaper-changer, windows, windows-10, windows-wallpaper
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python3
cool and epic:tm: collection of python 3 scripts i've made
Quick Links:
[frame_extractor.py](https://github.com/helpimnotdrowning/random-py3#frame_extractorpy) | [img_converter.py](https://github.com/helpimnotdrowning/random-py3#img_converterpy) | [pinger.py](https://github.com/helpimnotdrowning/random-py3#pingerpy) | [wallpaper_changer.py](https://github.com/helpimnotdrowning/random-py3#wallpaper_changerpy) | [pyfetch.py](https://github.com/helpimnotdrowning/random-py3#pyfetchpy) | [auto_img2ascii.py](https://github.com/helpimnotdrowning/random-py3#auto_img2asciipy) | [mc_advancement_list.py](https://github.com/helpimnotdrowning/random-py3#mc_advancement_listpy) | [cuboid_panorama_splitter.py](https://github.com/helpimnotdrowning/random-py3#cuboid_panorama_splitterpy) | [ass_2_lrc.py](https://github.com/helpimnotdrowning/random-py3#ass_2_lrcpy) | [ezmath.py](https://github.com/helpimnotdrowning/random-py3#ezmathpy) | [start_minecraft_server.py](https://github.com/helpimnotdrowning/random-py3#start_minecraft_serverpy) | [get_frame.py](https://github.com/helpimnotdrowning/random-py3#get_framepy)
Descriptions of all scripts:
### [frame_extractor.py](frame_extractor.py)
- Takes frames from a specified video file and saves them as images to a directory.
- Specify framerate, start time and a frame limit.
### [img_converter.py](img_converter.py)
- Batch image converter from any format to one format (ex folder of png, bmp, jpg to jpg)
- Can specify compression quality of output format when appplicable.
- Origin folder can only contain images or else it breaks. might fix.
### [pinger.py](pinger.py)
- Pings things. Windows only.
### [wallpaper_changer.py](wallpaper_changer.py)
- Changes your Windows 10 (untested on 7,8) to a random image in a folder when idle for a specified time (default 20 seconds)
- No fade effect between two wallpapers, was too laggy for me
- Still lets Windows pick the accent color
### [pyfetch.py](pyfetch.py)
- An implementation of neofetch in python for Windows systems.
- Currently requires either Powershell 5.1+ or [Powershell Core](https://github.com/PowerShell/PowerShell#-powershell) (because of the Get-ComputerInfo powershell command and use of ANSI color escape sequences)
- Incomplete
### [auto_img2ascii.py](auto_img2ascii.py)
- Takes an image file as input and outputs ascii art of it.
- No, its not done. Looks like hot garbage, i'll get around to it.
### [mc_advancement_list.py](mc_advancement_list.py)
- Create list of all advancements (excluding recipes) from a generated data dump from a Minecraft server jar
- Instructions to create data dump in file
- Made for updating a [shared advancements datapack](https://www.planetminecraft.com/data-pack/shared-advancements/) for 1.16.1
### [cuboid_panorama_splitter.py](cuboid_panorama_splitter.py)
- Splits a cuboid panorama generated by the [Fabrishot](https://github.com/ramidzkh/fabrishot) mod into a title screen compatible panorama
### [ass_2_lrc.py](ass_2_lrc.py)
- Converts .ASS/Advanced SubStation Alpha files --> .LRC/Lyric files. End goal: (SSA? <->) ASS <-> LRC <-> SRT
### [ezmath.py](ezmath.py)
- Epic and Cool math utilities, has sin+cos+tan in degrees, some simple shapes, and some 3d shape volume
- will be eternally infdev
### [start_minecraft_server.py](start_minecraft_server.py)
- Minecraft server start script in python
- Using [Aikars flags](https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/) for <10 GB allocated
- Dont need to specify server jar as long as you only have 1 jar in server folder
- If you have more, it will go down an order of 'most performance/importance', or specify it yourself
- Paper forks -> Bukkit and Bukkit forks -> Modded/Modded-plugin -> Vanilla
- Auto-accept mojang EULA
### [get_frame.py](get_frame.py)
- Like [frame_extractor.py](frame_extractor.py), but more like a library to extract a single frame from a video than dump all frames from a video