Skip to content

This repository contains folders for each Python 3 (compatible with at least version 3.9 and higher) scripting project. The main .py file in each folder will contain all instructions necessary.

License

Notifications You must be signed in to change notification settings

SjoerdV/PublicPythonProjects

Repository files navigation

title author date last_modified_at keywords abstract permalink
Public Python Projects
Sjoerd de Valk, SPdeValk Consultancy
2022-12-21 14:35:00 -0800
2023-09-05 00:41:58 +0200
linux
tooling
markdown
python
This document is about briefly explaining the scripts present in this repository.
/index.html

GitHub License Hits GitHub All Stars GitHub All Forks GitHub Latest Release GitHub All Downloads

PublicPythonProjects

Summary

This repository contains folders for each Python 3 (compatible with at least version 3.9 and higher) scripting project. The main .py file in each folder will contain all instructions necessary.

I will make an effort to make all scripts cross-platform compatible and test the scripts under both Linux (Debian-based) and Windows. The scripts should also work under MacOS, but I will not test this explicitly (and will never do).

At the moment the following Projects are available.

  • svg2png
    • this program will convert any svg image to png.
    • For more information see svg2png.py.
    • Reference: Blog Post
  • appindicator
    • this program will run a system tray icon which will detect if a certain process is running. It reports to the Desktop notification area and change the trays icon when the process is found (or killed). It also features a right click context menu to kill all the processes of the kind it is monitoring, or just exit the tray icon. Two programs are supplied
      • appindicator.py: a cross-platform version that just loops the process list until a process is found to be running. This is very CPU intensive.
      • appindicator2.py: a Linux-only version (might work on Mac as well but this is not tested) that uses inotify filesystem events to handle status changes, this is much more performant than looping the task list.
    • For more information see either main programs
    • Reference: Blog Post
  • add_keyphrases_to_jekyll_blog_post
    • this program will add or update the 'tags' metadata key that can be found in the YAML frontmatter of Jekyll static website pages. These pages are markdown formatted pages (with .md extension) and contains liquid elements and said YAML frontmatter. The KeyBERT and KeyphraseVectorizers modeling tools, being fed their configuration through an external JSON file, are used to generate these tags. Extensive documentation is available for both these tools to further your implementation.
    • For more information see add_keyphrases_to_jekyll_blog_post.py.
    • Reference: Blog Post
  • mastodon_archiver
    • this program will make backups of your mastodon account(s) and clean-up certain collections that are more than 8 weeks old.
    • Reference: Original Repo
  • captcha_generator
    • this program will create a CAPTCHA version of text entered by you
    • Reference: Blog Post
  • auto_discussion_for_jekyl_blog_post
    • this is a script for adding a GitHub Discussion for each Blog Post in a GitHub Pages repository and makes use of GitHub GraphQL.
    • For more information see auto_discussion_for_jekyl_blog_post.py.
    • Reference: Blog Post

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[3.0.0] - 2024-05-18

Added
  • Added 'appindicator2.py' and 'appindicator2.sh'
Changed
  • Summary documentation in this file
Removed
  • Nothing

[2.0.0] - 2023-09-05

Added
  • Added 'add_keyphrases_to_jekyll_blog_post'
  • Added 'mastodon_archiver'
  • Added 'captcha_generator'
  • Added 'auto_discussion_for_jekyl_blog_post'
Changed
  • Nothing
Removed
  • Nothing

Credits

All Python developers, making this an awesome scripting language.

[1.0.0] - 2022-12-21

Added
  • Initial Release with initial project folder structure.
Changed
  • Nothing
Removed
  • Nothing

Credits

All Python developers, making this an awesome scripting language.

About

This repository contains folders for each Python 3 (compatible with at least version 3.9 and higher) scripting project. The main .py file in each folder will contain all instructions necessary.

Resources

License

Stars

Watchers

Forks

Packages

No packages published