{"id":18647708,"url":"https://github.com/nikorasu/miscpython","last_synced_at":"2026-01-27T23:14:35.105Z","repository":{"id":64970813,"uuid":"579861434","full_name":"Nikorasu/MiscPython","owner":"Nikorasu","description":"These are a few of my miscellaneous python projects that don't fit elsewhere..","archived":false,"fork":false,"pushed_at":"2024-06-07T15:35:09.000Z","size":64,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-08T04:45:33.023Z","etag":null,"topics":["digits","misc","miscellaneous","numpy","pi","pygame","python","snake","sounddevice","spectrogram","tau","terminal","terminal-based","thematrix","typing","typing-practice","typing-test","typingspeedtest","wpm","wpm-counter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nikorasu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-12-19T05:43:52.000Z","updated_at":"2024-06-07T15:35:12.000Z","dependencies_parsed_at":"2024-06-07T04:40:43.237Z","dependency_job_id":null,"html_url":"https://github.com/Nikorasu/MiscPython","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/Nikorasu%2FMiscPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikorasu%2FMiscPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikorasu%2FMiscPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikorasu%2FMiscPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nikorasu","download_url":"https://codeload.github.com/Nikorasu/MiscPython/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223469340,"owners_count":17150329,"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":["digits","misc","miscellaneous","numpy","pi","pygame","python","snake","sounddevice","spectrogram","tau","terminal","terminal-based","thematrix","typing","typing-practice","typing-test","typingspeedtest","wpm","wpm-counter"],"created_at":"2024-11-07T06:27:37.161Z","updated_at":"2026-01-27T23:14:35.064Z","avatar_url":"https://github.com/Nikorasu.png","language":"Python","readme":"# Miscellaneous Python Projects\n\nThis is a collection of my smaller Python projects that don't fit elsewhere.\n\n---\n\n## CalcPi\n\nThese are scripts I wrote to play with and visualize generating digits of Pi.\n\nWhile researching that, I came across an article on [Spigot algorithms for Pi](https://www.gavalas.dev/blog/spigot-algorithms-for-pi-in-python/),\nand their various Python implementations. The author seems to have discovered\none of the fastest ways of doing that in Python, \u0026 I couldn't find any faster.\n\nUsing the generator function by [GavalasDev](https://github.com/GavalasDev),\n`CalcPi.py` \u0026 `CalcTau.py` live-print the digits in color to the terminal, and\n`PiPixel.py` \u0026 `TauPixel.py` use Pygame to draw digits as color-coded pixels.\n`DigitCompare.py` takes 1000 digits of half-Pi, Pi, and Tau, prints them out\ntogether in rows, coloring digits which overlap in either 2 or all 3 rows.\n\n---\n\n## Matrix\n\nThis is my version of the classic Matrix code-rain animation, for the terminal.\nMade this as a personal challenge on New Year's, and it turned out pretty nice.\nI've since made improvements, some alternate versions, and added Japanese kana.\nMight be Linux only, `Ctrl+C` to quit. [New version here!](https://github.com/Nikorasu/MatrixCode)\n\n---\n\n## Snake\n\nThis is a terminal-based Snake game I made, without using additional libraries.\nIt's pretty basic, play area fills the terminal, so resize it to your liking.\nUse arrow keys or wasd to move, `q` to quit.\nTo get arrow keys working, Esc key won't work quite right, and needs 3 presses.\n\n---\n\n## Spectrogram\n\nI put this together while learning to use sounddevice \u0026 numpy's fft function.\nIt's essentially just a reimplementation of sounddevice's spectrogram example,\nusing Pygame instead of ascii. The _save version outputs timestamped images.\n\n---\n\n## TypingWPM\n\nThis is a little typing-speed-test I wrote, after seeing someone make something\nsimilar using Curses. I wanted to try doing it without Curses, and it worked!\n`typingwpm.py` should be pretty portable, just needs the `pangrams.txt` file.\n\n*Note: Slower terminals may bug after rapidly pressing 2 keys at the same time.*\n\n---\n\nIf you like my projects and want to help me keep making more,\nplease consider donating on [my Ko-fi page](https://ko-fi.com/nik85)! Thanks!\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/F1F4GRRWB)\n\n---\n\n        This program is free software: you can redistribute it and/or modify\n        it under the terms of the GNU General Public License as published by\n        the Free Software Foundation.\n\n        This program is distributed in the hope that it will be useful,\n        but WITHOUT ANY WARRANTY; without even the implied warranty of\n        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n        GNU General Public License for more details.\n\n        You should have received a copy of the GNU General Public License\n        along with this program.\n        If not, see: https://www.gnu.org/licenses/gpl-3.0.html\n\nCopyright (c) 2022  Nikolaus Stromberg - nikorasu85@gmail.com\n","funding_links":["https://ko-fi.com/nik85)!","https://ko-fi.com/F1F4GRRWB"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikorasu%2Fmiscpython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikorasu%2Fmiscpython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikorasu%2Fmiscpython/lists"}