{"id":18961305,"url":"https://github.com/gregkrsak/phase-deuce","last_synced_at":"2026-04-01T13:30:18.475Z","repository":{"id":144964564,"uuid":"263684637","full_name":"gregkrsak/phase-deuce","owner":"gregkrsak","description":"This program was written during the COVID-19 pandemic, as a way to demonstrate that manual \"contact tracing\" can be spoofed.","archived":false,"fork":false,"pushed_at":"2021-07-10T22:16:43.000Z","size":53,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T07:57:18.519Z","etag":null,"topics":["contact-tracing","covid-19","covid19-tracker","logging","poop","sars-cov-2","washington-state"],"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/gregkrsak.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":"2020-05-13T16:28:18.000Z","updated_at":"2021-07-10T22:20:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa18cbba-8bad-4f9d-89f0-8986f4e9b1f9","html_url":"https://github.com/gregkrsak/phase-deuce","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregkrsak%2Fphase-deuce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregkrsak%2Fphase-deuce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregkrsak%2Fphase-deuce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregkrsak%2Fphase-deuce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregkrsak","download_url":"https://codeload.github.com/gregkrsak/phase-deuce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239958284,"owners_count":19724925,"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":["contact-tracing","covid-19","covid19-tracker","logging","poop","sars-cov-2","washington-state"],"created_at":"2024-11-08T14:12:17.061Z","updated_at":"2026-04-01T13:30:18.442Z","avatar_url":"https://github.com/gregkrsak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phase-deuce\n\n\n\n[![Python](https://img.shields.io/badge/language-python-blue.svg)](https://github.com/gregkrsak/phase-deuce/blob/master/phase-deuce.py)\n\n\nWelcome to the daily log. This program was written during the COVID-19 pandemic, as a way to demonstrate that manual \"contact tracing\" can be spoofed.\n\nThe code is cross-platform, and most of it is (I think) written well. Let me know what you think.\n\n# How do I use this?\n\n###### Windows\nFrom the command line, type `phase-deuce.py` (or `phase-deuce.py -h` for a list of options)\n\n###### macOS/Linux\nFrom the command line, type `./phase-deuce.py` (or `./phase-deuce.py -h` for a list of options)\n\nNote that phase-deuce is a console application, written in Python. That means you'll need to open a terminal window and execute it manually, from the command line. *If you don't already have the Python language installed on your computer, you'll need to install it before this app will work.*\n\n# What does phase-deuce actually do?\n\nEvery time you press the space bar, a .CSV formatted row of data is added to a \"daily log\" database file. The database files are named according to the current day.\n\nThe rows of each daily log file are formatted with the following columns:\n\n    unix_time,full_name,email_address,phone_number,checksum\n\nEach log file will be named according to \"phase-deuce-log_YYYY-MM-DD.csv\"\n\n# I'm not sure if I can run Python apps. How do I install Python?\n\n###### Windows\n- First of all, try to install Python from the Windows Store. If you're unable to do this, keep reading...\n- Go to [Python Releases for Windows](https://www.python.org/downloads/windows/)\n- Under *Stable Releases*, select and download the most recent *Windows x86-64 executable installer*\n- Run the downloaded file\n- This will bring up the Python wizard which will guide you throughout the installation\n- Choose *Customize installation*\n- Check the box *Add Python to environment variables*, so you can run Python from any folder\n- Accept the remaining settings and wait until the installation is finished\n\n###### macOS\n- Recent Macs come with Python pre-installed, but it *might* be outdated! (Oh no!)\n- Checking the latest releases and related instructions might be a good idea, so [click here](https://www.python.org/downloads/mac-osx/)\n- The macOS installer *should* automatically handle your path settings\n\n###### Unix and Linux\n- First of all, try to install Python using your package manager. If you're unable to do this, keep reading...\n- Open a web browser and head over to [Python Source Releases](https://www.python.org/downloads/source/)\n- Download the latest zipped source code available for Unix/Linux\n- Download and extract files\n- Open terminal and navigate to the directory where you extracted the files\n- Run the following commands:\n```bash\n    ./configure\n    make\n    make install\n```\n- This will install Python at the default location `/usr/local/bin` and its libraries at `/usr/local/lib/pythonXX` where `XX` is the version of Python you installed\n- Then set your `PATH` environment variable:\n\n    In the bash shell, type `export PATH=\"$PATH:/usr/local/bin/python\"` and press `ENTER`\n\n    In the csh shell, type `setenv PATH \"$PATH:/usr/local/bin/python\"` and press `ENTER`\n\n    In the sh or ksh shell, type `PATH=\"$PATH:/usr/local/bin/python\"` and press `ENTER`\n\n# How do I use this again?\n\nOne you have the application running, just press `SPACE` every time you want to simulate a customer coming in.\n\nWhen you're finished testing, press `Q`, `X`, or `CTRL-C` to exit.\n\nTo view the output data, open the .CSV file with Microsoft Excel, LibreOffice Calc, or any text editor.\n\n(If you'd like to convert the UNIX timestamps to a friendlier datetime string, you can do a formula from within your spreadsheet, as shown [here](https://exceljet.net/formula/convert-unix-time-stamp-to-excel-date))\n\n# Your code sucks. Can I make changes?\n\nYes! Please fork the repo and submit a pull request. I'd appreciate it.\n\nFeel free to also submit a new issue if there's something you'd like me to address.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregkrsak%2Fphase-deuce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregkrsak%2Fphase-deuce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregkrsak%2Fphase-deuce/lists"}