{"id":13509372,"url":"https://github.com/defp/pinyin","last_synced_at":"2025-12-11T23:52:24.819Z","repository":{"id":18472907,"uuid":"21667947","full_name":"defp/pinyin","owner":"defp","description":"chinese pinyin lib for elixir","archived":false,"fork":false,"pushed_at":"2017-05-11T06:24:20.000Z","size":1841,"stargazers_count":24,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T12:12:17.432Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defp.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":"2014-07-09T20:29:44.000Z","updated_at":"2025-01-31T18:47:44.000Z","dependencies_parsed_at":"2022-09-11T20:21:27.195Z","dependency_job_id":null,"html_url":"https://github.com/defp/pinyin","commit_stats":null,"previous_names":["lidashuang/pinyin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defp%2Fpinyin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defp%2Fpinyin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defp%2Fpinyin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defp%2Fpinyin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defp","download_url":"https://codeload.github.com/defp/pinyin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238489053,"owners_count":19480880,"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-08-01T02:01:06.792Z","updated_at":"2025-10-27T12:30:46.944Z","avatar_url":"https://github.com/defp.png","language":"Elixir","funding_links":[],"categories":["Text and Numbers"],"sub_categories":[],"readme":"Pinyin for Elixir\n=========================\n\n简单的汉字转拼音工具 \n\n## Example:\n\n```iex\niex(40)\u003e Pinyin.pinyin \"Elixir编程语言\"\n[\"Elixir\", \"biān\", \"chéng\", \"yǔ\", \"yán\"]\niex(41)\u003e Pinyin.letter \"Elixir编程语言\"\n[\"Elixir\", \"bian\", \"cheng\", \"yu\", \"yan\"]\niex(42)\u003e Pinyin.letter_with_tone \"Elixir编程语言\"\n[\"Elixir\", \"bian1\", \"cheng2\", \"yu3\", \"yan2\"]\niex(43)\u003e Pinyin.permlink \"Elixir编程语言\"\n\"Elixir-bian-cheng-yu-yan\"\niex(44)\u003e\n```\n## thanks\n\nThe pinyin data library from ruby-pinyin project:\n\nhttps://github.com/janx/ruby-pinyin\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefp%2Fpinyin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefp%2Fpinyin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefp%2Fpinyin/lists"}