{"id":20898453,"url":"https://github.com/lpcodes/virus-scanner","last_synced_at":"2025-08-04T08:39:18.559Z","repository":{"id":161486863,"uuid":"636179571","full_name":"LpCodes/Virus-Scanner","owner":"LpCodes","description":"This is a simple Python program that allows you to scan a file for viruses using the VirusTotal API.","archived":false,"fork":false,"pushed_at":"2023-05-12T04:50:31.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T12:50:03.087Z","etag":null,"topics":["api-integration","pysimplegui","python","security","showcase","virus-scanning","virustotal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LpCodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-04T09:35:03.000Z","updated_at":"2023-06-15T07:58:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"4575928b-12d6-4176-b172-f93a7b6e363e","html_url":"https://github.com/LpCodes/Virus-Scanner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FVirus-Scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FVirus-Scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FVirus-Scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FVirus-Scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LpCodes","download_url":"https://codeload.github.com/LpCodes/Virus-Scanner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243285616,"owners_count":20266848,"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":["api-integration","pysimplegui","python","security","showcase","virus-scanning","virustotal"],"created_at":"2024-11-18T11:10:43.053Z","updated_at":"2025-03-12T20:11:11.406Z","avatar_url":"https://github.com/LpCodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Virus Scanner\n\nThis is a simple Python program that allows you to scan a file for viruses using the VirusTotal API.\n\n## Requirements\n\n- Python 3.x\n- [PySimpleGUI](https://pypi.org/project/PySimpleGUI/)\n- [requests](https://pypi.org/project/requests/)\n\n## Setup\n\n1. Sign up for a [VirusTotal API key](https://www.virustotal.com/gui/join-us).\n2. Clone this repository to your local machine:\n\n   ```\n   git clone https://github.com/YOUR_USERNAME/virus-scanner.git\n   ```\n\n3. Install the required Python packages:\n\n   ```\n   pip install PySimpleGUI requests\n   ```\n\n## Setting up the VT_API_KEY environment variable\n\n### On Windows\n\n1. Open the command prompt by pressing the Windows key + R and typing `cmd`, then press Enter.\n2. Type `setx /M VT_API_KEY \u003cyour-api-key\u003e` and press Enter. This will set the `VT_API_KEY` environment variable to your API key.\n3. Verify that the environment variable has been set correctly by typing `echo %VT_API_KEY%` and pressing Enter. This should print the value of the `VT_API_KEY` environment variable.\n\n### On Linux\n\n1. Open a terminal window.\n2. Type `export VT_API_KEY=\u003cyour-api-key\u003e` and press Enter. This will set the `VT_API_KEY` environment variable to your API key.\n3. Verify that the environment variable has been set correctly by typing `echo $VT_API_KEY` and pressing Enter. This should print the value of the `VT_API_KEY` environment variable.\n\n## Usage\n\nTo run the program, navigate to the directory where the `scanner.py` script is located and run:\n\n```\npython scanner.py\n```\n\nThe program will open a window with a button to select a file for scanning. Once you select a file and click the \"Scan\" button, the program will send the file to VirusTotal for scanning and print out the results.\n\n## Contributing\n\nIf you find a bug or have a feature request, please open an issue on GitHub.  Any assistance in improving the script will be helpful.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpcodes%2Fvirus-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpcodes%2Fvirus-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpcodes%2Fvirus-scanner/lists"}