{"id":18613961,"url":"https://github.com/enthought/meta","last_synced_at":"2025-11-03T02:30:39.578Z","repository":{"id":9339261,"uuid":"11187457","full_name":"enthought/Meta","owner":"enthought","description":"Default Repo description from terraform module","archived":false,"fork":false,"pushed_at":"2013-07-04T22:13:39.000Z","size":406,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2024-12-27T02:42:47.902Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enthought.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"license.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-04T22:10:44.000Z","updated_at":"2021-06-01T15:54:15.000Z","dependencies_parsed_at":"2022-09-10T20:22:53.474Z","dependency_job_id":null,"html_url":"https://github.com/enthought/Meta","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2FMeta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2FMeta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2FMeta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2FMeta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enthought","download_url":"https://codeload.github.com/enthought/Meta/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406446,"owners_count":19633024,"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-11-07T03:24:30.319Z","updated_at":"2025-11-03T02:30:39.548Z","avatar_url":"https://github.com/enthought.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Meta\n====\n\n.. image:: https://secure.travis-ci.org/srossross/Meta.png?branch=develop\n\nA Pure Python module containing a framework to manipulate and analyze \npython ast's and bytecode.\n\nExample\n========\n\nThis shows how to take python source to a code object and back again from within python::\n\n    import meta, ast\n    source = '''\n    a = 1\n    b = 2\n    c = (a ** b)\n    '''\n    \n    mod = ast.parse(source, '\u003cnofile\u003e', 'exec')\n    code = compile(mod, '\u003cnofile\u003e', 'exec')\n    \n    mod2 = meta.decompile(code)\n    source2 = meta.dump_python_source(mod2)\n    \n    assert source == source2 \n\nThis shows the depyc script. The script compiles itself, and then the compiled script extracts itself::\n    \n    DEPYC_FILE=`python -c\"import meta.scripts.depyc; print meta.scripts.depyc.__file__\"`\n    depyc $DEPYC_FILE --pyc \u003e depycX.pyc\n    python -m depycX depycX.pyc --python \u003e depycX.py\n    echo depycX.py\n\nNotes\n======\n\n * Meta is python3 compliant (mostly)\n \nBugs\n=====\n * The decompliler does not yet support complex list/set/dict - comprehensions \n\nTesting \n======= \n\n`python -m unittest discover meta`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Fmeta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenthought%2Fmeta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Fmeta/lists"}