{"id":16238406,"url":"https://github.com/unclerus/tinypy","last_synced_at":"2026-01-11T05:51:26.356Z","repository":{"id":148368285,"uuid":"52671351","full_name":"UncleRus/tinypy","owner":"UncleRus","description":"Automatically exported from code.google.com/p/tinypy","archived":false,"fork":false,"pushed_at":"2016-02-27T14:51:25.000Z","size":244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T20:12:02.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UncleRus.png","metadata":{"files":{"readme":"README.txt","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.txt","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-27T14:48:47.000Z","updated_at":"2016-02-27T14:49:38.000Z","dependencies_parsed_at":"2023-05-19T21:45:20.435Z","dependency_job_id":null,"html_url":"https://github.com/UncleRus/tinypy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UncleRus%2Ftinypy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UncleRus%2Ftinypy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UncleRus%2Ftinypy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UncleRus%2Ftinypy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UncleRus","download_url":"https://codeload.github.com/UncleRus/tinypy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819784,"owners_count":20839095,"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-10-10T13:40:14.813Z","updated_at":"2026-01-11T05:51:26.330Z","avatar_url":"https://github.com/UncleRus.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"64k tinypy\n\"batteries not (yet) included\"\nCopyright (c) 2008 Phil Hassey\n\nCheck it out:\n\n$ python setup.py linux pygame\n$ ./build/tinypy examples/julia.py\n$ ./build/tinypy your-program-goes-here.py\n\nDepends on:\n- python (only for bootstrapping)\n- sdl (for the pygame module)\n- gcc\n\nCredits:\n    - math module - Rockins Chen \u003cybc2084@gmail.com\u003e\n    - VS support - Krzysztof Kowalczyk\n    - bug fixin' - Dean Hall \u0026 Allefant\n\nThanks to allefant and the python community for all the tips and feedback!\nThanks to John M. for a python 2.5 compat. patch.\nAnd to illume and the rest of #ludumdare for morale support.\nAlso thanks to python.org, lua.org, valgrind.org, nekovm.org, pypy.org\nhttp://javascript.crockford.com/tdop/tdop.html\nhttp://www.memorymanagement.org/articles/recycle.html\nhttp://shed-skin.blogspot.com/\n\nOther \"tiny\" python implementations:\nhttp://pymite.python-hosting.com/\nhttp://students.ceid.upatras.gr/~sxanth/pyvm/\n\nF.A.Q.s:\n\nQ. If I run boot.py it says you've got like 80k of code!  That's TOTALLY\n    not 64k!  I want my money back.\nA. Err... that's true.  But 64k sounds *SO* much better than 80k.\n    If you *really* want it to be 64k, just run:\n    $ python mk64k.py\n    This does the following things:\n        - changes 4 spaces into tabs and removes blank lines\n        - removes comments\n        - removes the \"namespacing\" i.e. \"tp_print\" becomes \"print\"\n\nQ. The binary is bigger than 64k.  I hate big binaries.\nA. I don't really care, but if you run \"upx tinypy\" it makes the tinypy\n    binary smaller than 64k.\n\nQ. No matter how you spin this, it's just plain NOT 64k.\nA. Let the buyer beware?  I dunno, it's close enough.  Let's call it a rounding\n    error, shall we?\n\nQ. How come some oddball combinations of variable and named arguments don't work?\nA. Ask me some other time.  Short answer: I do it like lua does it.  Only calls\n    like this make sense:\n        call_with_var_args(a,b,c,*d)\n        call_with_named_args(a=b,**c)\n    mixes of both just don't work, sorry!\n\nQ. At the end of build.py tinypy doesn't work!\nA. This is probably because of my use of -O3 in the final step.  Run the command\n    again without -O3.  Some versions of GCC are buggy and don't do well with it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funclerus%2Ftinypy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funclerus%2Ftinypy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funclerus%2Ftinypy/lists"}