Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.
/ Python Public archive

Python scrips written to do some form of SCIENCE!

License

Notifications You must be signed in to change notification settings

felsokning/Python

Repository files navigation

Python

Several scripts written in Python, to accomplish varying tasks.

AnförandeniSenasteDagen.py

Uses the Requests package to query the Riksdagen (specifically, the Riksdagen's API) for any speeches (Anföranden) posted in the past day and, if any are found, it prints the Document ID, Title, and URL to each speech in question.

ChangeVPN.py

Randomly connects to a VPN connection on the wireless interface via NetworkManager.

CheckSockets.py

Enumerates through ports (0-65534) and attempts to open a socket on each one. If blocked, the socket is added to a list and then we attempt to find out what process, precisely, is currently utilising that socket.

MacChaningDaemon.py

Creates a daemon to change the mac address on an interface once per hour (far too aggressive, I'm aware).

ModifyOvpnConfigurations.py

Modifies the OVPN configuration files referenced by NetworkManager with the username and password, changing the connection to autologin.

ObfuscatePhotos.py

Imports the byte data from photo a given photo and applies a transformation to it to make it useless to AI. See the before and after to understand the context. As an FYI: Google believes the after photo to be "fondos de pantalla pc"

RemoveSyntolkat.py

Removes Syntolkat files from a given path.

RemoveVPNs.py

Uses NetworkManager to enumerate all of the VPN profiles and then deletes them.

RenameSrtFiles.py

Finds SRT (SubRip Text) files that do not contain the given ISO 639-2 Code and renames them to include the given code.

ScanForAPs.py

Periodically scans for new access points available to the wireless network interface and prints any new found access points to the terminal.

SvenskaVeckanNummer.py

Original skeleton for the script that's used in Docker (see: Docker/SwedishWeekNumber)

SwedishDate.py

Class meant to be imported and used to return the ISO week number from a given date.

About

Python scrips written to do some form of SCIENCE!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages