{"id":18681606,"url":"https://github.com/alicw/lcfc_python3_application_unix","last_synced_at":"2025-11-07T15:30:38.322Z","repository":{"id":71732593,"uuid":"226324610","full_name":"AliCW/LCFC_Python3_Application_UNIX","owner":"AliCW","description":"UNIX version of the LCFC python application","archived":false,"fork":false,"pushed_at":"2020-02-11T11:46:20.000Z","size":6921,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T22:55:15.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AliCW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-06T12:23:10.000Z","updated_at":"2020-02-11T11:46:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"60ba1c39-8ec6-46fa-a4cb-eb9a496f0bd2","html_url":"https://github.com/AliCW/LCFC_Python3_Application_UNIX","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"5c81b106a3e9bd6d3d1cddb7b3234c7ae46fdd43"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliCW%2FLCFC_Python3_Application_UNIX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliCW%2FLCFC_Python3_Application_UNIX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliCW%2FLCFC_Python3_Application_UNIX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliCW%2FLCFC_Python3_Application_UNIX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AliCW","download_url":"https://codeload.github.com/AliCW/LCFC_Python3_Application_UNIX/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533065,"owners_count":19654617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T10:08:12.679Z","updated_at":"2025-02-18T19:17:42.476Z","avatar_url":"https://github.com/AliCW.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LCFC python3 application for UNIX (Leicester City Football Club)\nAttempting to write a basic python3 program that will quickly tell users statistics, fixtures, scores \u0026 other information on Leicester City without having to manually search the internet. This is the second program i've ever created so there may be various inefficiencies and i am always welcome to advice if anyone ever finds this or wants to contribute.\n\nLinux edition has just been created and I am still working through the conversion process, more files \u0026 information will be added very shortly to assist in functionality\n\nBelow is a brief outline of what each script attempts to accomplish:\n\n# run.py\nThe main script used to start the application. This script acts as a central point for initial user queries concerning what data they would like to view. The file performs initial checks on its directory to confirm the presence of data files, if these are not there, it will download and save the latest files hosted in github.\n\nUsers can run an update tool which reads the version number from each data file for both internal scripts \u0026 externally hosted files. If the internal version number is lower, the program will query the user to update or continue using old files. \n\nThe update mechanism renames it's current related scripts (.old) then uses headless Firefox \u0026 geckodriver to go to the embedded update link, copy the page source, parse with BeautifulSoup and finally copying this into a new file.\n\nThe user is presented with the main query listing functions \u0026 required input. Data is held on external script files (current_fixture_list.py, current_player_stats.py, current_results.py)\n\nThere is also a command function added to help with testing the program.\n\n# run_update.py\nThe script automatically reads the version number for run.py or obtaining a read_file if one cannot be found, the version number is then compared to the latest script hosted on github. The update for run.py itself is then performed if a higher version number is found online, the process is performed using a similar syntax as the update function on run.py.\n\n# run_restart.py\nCalled upon by run.py and calling run.py itself, this file acts as a restart function accessible via the \"commands\" section. This is sometimes needed to access updated files, might need to make the program perform this automatically after the update has been performed, I need to test more on this.\n\nNot working as intended, see issues (#18)\n\n# /version/read_version_xyz.py\nAll version files have an almost identical syntax with all outputting the current version number of its associated file. This is performed via reading the top line of the corresponding data file \u0026 converting the output to float for comparison.\n\nThese files should remain static, unless the version number syntax has to change.\n\n# /data/current_fixture_list.py\nUser is presented with a query asking to see the next fixture, or a list of all. More details are available if viewed one by one. If all associated data is all listed together, it becomes unreadable, therefore, the list of all fixtures only contains limited related information.\n\nNo matter which query is selected, the next fixture to be played is always listed first and so on from there. It performs this by taking a timestamp value based on the current time and compares this to timings related to fixtures and outputs data accordingly (IMP2).\n\n# /data/current_results.py\nWorks in a similar way to current_fixture_list.py using timestamps to identify the latest result and print accordingly.\n\n# /data/current_player_stats.py\nStatistics can be viewed via typing the name or initials of the desired player at the initial user query. There is also a list squad option to view possible entries. Currently, this only contains statistics for the premier league only! (IMP3)\n\n# Improve \u003c-------------------------\nWould be ideal to add a basic UI at some point - Android, Win, Linux etc. Program lacks 'real-world' application and this would definitely help.\n\nIMP2: Add additional data that might be useful - e.g. international broadcast information.\n\nIMP3: Add a method of refining results to include both national cup tournaments (F.A. \u0026 Carabao)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falicw%2Flcfc_python3_application_unix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falicw%2Flcfc_python3_application_unix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falicw%2Flcfc_python3_application_unix/lists"}