{"id":13419610,"url":"https://github.com/adtac/exterminate","last_synced_at":"2025-04-06T06:09:18.799Z","repository":{"id":57418085,"uuid":"79949235","full_name":"adtac/exterminate","owner":"adtac","description":"Break Python programs with a single import","archived":false,"fork":false,"pushed_at":"2017-03-11T10:34:01.000Z","size":24,"stargazers_count":318,"open_issues_count":4,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-06T05:40:25.167Z","etag":null,"topics":[],"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/adtac.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}},"created_at":"2017-01-24T20:05:45.000Z","updated_at":"2024-11-28T16:33:09.000Z","dependencies_parsed_at":"2022-09-03T09:50:44.571Z","dependency_job_id":null,"html_url":"https://github.com/adtac/exterminate","commit_stats":null,"previous_names":["adtac/destruction"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtac%2Fexterminate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtac%2Fexterminate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtac%2Fexterminate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtac%2Fexterminate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adtac","download_url":"https://codeload.github.com/adtac/exterminate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441052,"owners_count":20939239,"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-07-30T22:01:18.357Z","updated_at":"2025-04-06T06:09:18.764Z","avatar_url":"https://github.com/adtac.png","language":"Python","readme":"## EXTERMINATE\n\n![EXTERMINATE](https://cloud.githubusercontent.com/assets/7521600/23822517/2b404032-0674-11e7-900d-bacff45b50e7.png)\n\nWe all know bowties are cool. But seriously, are you sure of that? Let us\nrethink some basic assumptions.\n\nWith Python, you can learn the real, yet undiscovered truth:\n\n```python\n\u003e\u003e\u003e from exterminate import AltFloat\n\u003e\u003e\u003e float(1/2) + float(0.5)\n0.9948744748218606\n```\n\n---\n\nLet's think rationally \u003csup\u003e\u003csup\u003eYes, pun intended.\u003c/sup\u003e\u003c/sup\u003e here. Search within yourself\nand you'll find that the [the Indiana Pi Bill](https://www.wikiwand.com/en/Indiana_Pi_Bill)\nis the real truth:\n\n```python\n\u003e\u003e\u003e from exterminate import AltMath\n\u003e\u003e\u003e import math\n\u003e\u003e\u003e math.pi\n3.2\n```\n\n---\n\nYou might also find the [Peano Axioms](https://www.wikiwand.com/en/Peano_axioms)\nchallenged:\n\n```python\n\u003e\u003e\u003e from exterminate import Alt29\n\u003e\u003e\u003e 28 + 2 \u003e 28 + 1\nFalse\n```\n\nSearch your feelings, Lord Vader, and you will know it to be true. Or was it `False`?\n\n---\n\nOK, can I at least access elements from a list? Why don't we try something new\neach time?\n\n```python\n\u003e\u003e\u003e from exterminate import AltList\n\u003e\u003e\u003e x = list(range(10))\n\u003e\u003e\u003e x[3]\n7\n\u003e\u003e\u003e x[3]\n5\n```\n\n---\n\nSay you're building a nice, little command-line program in Python. But\nsomeone managed to sneak EXTERMINATE into your imports. Uh-oh!\n\n```python\n\u003e\u003e\u003e from exterminate import AltPrint\n\u003e\u003e\u003e print(\"Hey! How are you?\")\nYo dawwwwg! Wuz crackalackin' yo?\n```\n\n---\n\nAs Albert Einstein once said, \"I don't know what World War III will be fought with,\nbut World War IV will be fought with `import EXTERMINATE`\":\n\n```python\n\u003e\u003e\u003e from exterminate import AltRange\n\u003e\u003e\u003e for i in range(1, 4):\n...     print(i)\n...\n-1\n0\n1\n2\n3\n4\n5\n```\n\n\u003csub\u003eIf you use IPython you won't get to that stage though. You might also not be able to import all EXTERMINATE modules at the same time.\u003c/sub\u003e\n\n\u003csup\u003e\u003csup\u003e\u003csup\u003eAlso Vim is better than Emacs. Fight me.\u003c/sup\u003e\u003c/sup\u003e\u003c/sup\u003e\n\n### Installation\n\n```bash\n$ pip install exterminate\n```\n\n### Contributing\n\nAll patches welcome! New, interesting, and evil ideas are always welcome :)\n\n### Why did you make this?\n\n¯\\\\\\_(ツ)_/¯\n\n### LICENSE\n\n```\nMIT License\n\nCopyright (c) 2017 Adhityaa Chandrasekar\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadtac%2Fexterminate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadtac%2Fexterminate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadtac%2Fexterminate/lists"}