Python
All of my Python projects, modules, scripts, and utilities.
Install / Use
/learn @Stake2/PythonREADME
Python
All of my Python projects, modules, scripts, and utilities.<br> Made by me, Stake2.
License
Using MIT License<br>
COC
Read Code of Conduct<br>
Contribute
Translating<br>
Installing
- Install the requirements in the Requirements file
$ pip install -r requirements.txt
- Add the Modules folder to your PATH or copy its contents into your Python modules folder
Running a module
The usage and utility modules are listed and categorized in the Modules.json file.<br>
- To list all modules avaliable to run and also show other parameters of the Module Selector (MS) module
$ py MS.py -help
- To run a specific module
$ py MS.py -[Lowercased module name]
$ py MS.py -m [Module name typed in any case, with spaces or underlines]
$ py MS.py -module [Module name typed in any case, with spaces or underlines]
- You can also run the MS script without any arguments and it will list the available modules for you to select one
$ MS.py
# Output example:
Modules:
[1] - Block_Websites
[2] - Christmas
[3] - Code
[4] - Database
[5] - Diary
[6] - Diary_Slim
[7] - Food_Time
[8] - Friends
[9] - GamePlayer
[10] - PHP
[11] - Project_Zomboid
[12] - Python
[13] - Social_Networks
[14] - SproutGigs
[15] - Stories
[16] - Tasks
[17] - Watch_History
[18] - Years
Select a module from the list to execute it: |
Connection of Python files to PHP files and Websites
The "Update_Websites" class of the "Code.py" module helps the user generate a website (generate its HTML contents).<br>
It does that by opening a local server (XAMPP), asking the user to select a website or create a list of websites to update.<br>
And opening each one of the websites using the /generate route of the PHP Index file, in each supported language (currently General, English, and Portuguese).<br>
Then it opens a "Github" shortcut that opens the ConEmu console program in the Websites folder, for the user to execute git operations to push the website changes and generated HTML files to the Websites Repository.
The "Watch_History.py" Python module generates the JSON database files which are read by the "Watched.php" HTML tab generator written in PHP.<br> In order to generate the "Watched things" and "Past registries" tabs on the Watch History website.<br> And also generate the "Watched things" tabs on all year websites.
The "GamePlayer.py" Python module generates the JSON database files which are read by the "Played.php" HTML tab generator written in PHP.<br> In order to generate the "Game sessions played" and "Past registries" tabs on the Play History website.<br> And also generate the "Game sessions played" tabs on all year websites.
The "Tasks.py" Python module generates the JSON database files which are read by the "Tasks.php" HTML tab generator written in PHP.<br> In order to generate the "Completed tasks" tab on the Tasks website.<br> And also generate the "Completed tasks" tabs on all year websites.
The "Years.py" Python module generates the year summary files read by the "Summary.php" HTML tab generator written in PHP.<br> In order to generate the "Summary" tabs on all year websites website.
PHP: Connection of PHP files to Python modules
Translating
Check the Code of Conduct.<br> You can now translate my modules, translate them by adding the ISO 639-1 language code to the "Texts.json" of the module you want to translate.<br> <br> Soon I will make a module on the root folder called "Translator_Helper.py", to help you translate my modules to your language.<br> Allowing you to choose your native language or the language you know, to translate to, choose a module to translate, and show all of the English texts for you to translate.<br> For you to translate my modules, you need to know English first, to understand the English texts of the modules and translate them.<br> <br> You can find more explanation about how to translate and how the "Language" class works in the Translating file.<br> Each module also has a "Descriptions.json" file on its root folder, I ask you to translate the descriptions of the module you are translating.
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
339.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
