GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Stake2/Python: All of my Python projects, modules, scripts, and utilities.

BranchesTags
Open more actions menu

Latest commit

 

History

190 Commits
190 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
Files
Files
 
 
Modules
Modules
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Configurações.json
Configurações.json
 
 
LICENSE
LICENSE
 
 
MS.lnk
MS.lnk
 
 
MS.py
MS.py
 
 
README.md
README.md
 
 
Settings.json
Settings.json
 
 
TRANSLATING.md
TRANSLATING.md
 
 
Test.py
Test.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Python

Python 3.8.10 Contributors

All of my Python projects, modules, scripts, and utilities.
Made by me, Stake2.

License

Using MIT License

COC

Read Code of Conduct

Contribute

How to Contribute

Translating

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.

  • 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] - Christmas
[2] - Database
[3] - Diary
[4] - Diary_Slim
[5] - Discord_Bot
[6] - Meal_Times
[7] - Friends
[8] - GamePlayer
[9] - PHP
[10] - Project_Zomboid
[11] - Python
[12] - Social_Networks
[13] - Stories
[14] - Tasks
[15] - Watch_History
[16] - 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 "PHP.py" module helps the user generate a website (generate its HTML contents).
It does that by opening a local server (XAMPP), asking the user to select a website or create a list of websites to update.
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).
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.
In order to generate the "Watched media" and "Past registries" tabs on the Watch History website.
And also generate the "Watched media" 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.
In order to generate the "Gaming sessions played" and "Past registries" tabs on the Play History website.
And also generate the "Gaming 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.
In order to generate the "Completed tasks" tab on the Tasks website.
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.
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.
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.

Soon I will make a module on the root folder called "Translator_Helper.py", to help you translate my modules to your language.
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.
For you to translate my modules, you need to know English first, to understand the English texts of the modules and translate them.

You can find more explanation about how to translate and how the "Language" class works in the Translating file.
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.

About

All of my Python projects, modules, scripts, and utilities.

Topics

pythonpython-3python-apppython-scriptpython3python38pythonmodulepythonmodulesshortcutsstake2

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.