{"id":19529000,"url":"https://github.com/myint/untokenize","last_synced_at":"2025-04-26T11:34:06.686Z","repository":{"id":9312645,"uuid":"11153689","full_name":"myint/untokenize","owner":"myint","description":"Transforms tokens into original source code (while preserving whitespace)","archived":false,"fork":false,"pushed_at":"2019-05-24T17:15:33.000Z","size":17,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-23T17:24:28.021Z","etag":null,"topics":["python","tokenize","untokennize"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/untokenize","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"cfelton/rhea","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myint.png","metadata":{"files":{"readme":"README.rst","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":"2013-07-03T15:05:06.000Z","updated_at":"2023-08-28T09:35:52.000Z","dependencies_parsed_at":"2022-09-02T07:42:23.449Z","dependency_job_id":null,"html_url":"https://github.com/myint/untokenize","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/myint%2Funtokenize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myint%2Funtokenize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myint%2Funtokenize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myint%2Funtokenize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myint","download_url":"https://codeload.github.com/myint/untokenize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224033221,"owners_count":17244553,"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":["python","tokenize","untokennize"],"created_at":"2024-11-11T01:21:27.546Z","updated_at":"2024-11-11T01:21:29.139Z","avatar_url":"https://github.com/myint.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"============\nuntokenize\n============\n\n*untokenize* transforms tokens into source code. Unlike the standard library's\n``tokenize.untokenize()``, it preserves the original whitespace between tokens.\n\n.. image:: https://travis-ci.org/myint/untokenize.svg?branch=master\n    :target: https://travis-ci.org/myint/untokenize\n    :alt: Build status\n\n\nUsage\n=====\n\n.. code-block:: python\n\n    import untokenize\n    source_code = untokenize.untokenize(tokens)\n\n\nTests\n=====\n\nTo run the unit tests::\n\n    $ ./test_untokenize.py\n\nThere is also an acid test. It tokenizes Python code and confirms that the code\ngenerated by untokenize exactly matches the original source code from before\ntokenization::\n\n    $ ./test_acid.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyint%2Funtokenize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyint%2Funtokenize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyint%2Funtokenize/lists"}