{"id":22323358,"url":"https://github.com/joaopalmeiro/pycture","last_synced_at":"2026-04-17T03:03:00.321Z","repository":{"id":62579704,"uuid":"362954265","full_name":"joaopalmeiro/pycture","owner":"joaopalmeiro","description":"A Python CLI for obtaining emojis as files and favicons.","archived":false,"fork":false,"pushed_at":"2021-05-01T23:13:08.000Z","size":71,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-12T18:30:15.234Z","etag":null,"topics":["cli","click","emoji","python","python-cli","python-click","python3","shell","terminal"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pycture/","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/joaopalmeiro.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":"2021-04-29T21:41:50.000Z","updated_at":"2021-05-01T23:14:22.000Z","dependencies_parsed_at":"2022-11-03T21:02:34.956Z","dependency_job_id":null,"html_url":"https://github.com/joaopalmeiro/pycture","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/joaopalmeiro/pycture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fpycture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fpycture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fpycture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fpycture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaopalmeiro","download_url":"https://codeload.github.com/joaopalmeiro/pycture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fpycture/sbom","scorecard":{"id":525789,"data":{"date":"2025-08-11","repo":{"name":"github.com/joaopalmeiro/pycture","commit":"408de3cda5773f6c1808f92f44658c3fe0d5c6e5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: parameter expansion requires a literal: pycture-complete.sh:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/joaopalmeiro/pycture/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/joaopalmeiro/pycture/release.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:17","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-4 / GHSA-2mqj-m65w-jghx","Warn: Project is vulnerable to: PYSEC-2023-165 / GHSA-cwvm-v4w8-q58c","Warn: Project is vulnerable to: PYSEC-2022-42992 / GHSA-hcpj-qp55-gfph","Warn: Project is vulnerable to: PYSEC-2023-137 / GHSA-pr76-5cm5-w9cj","Warn: Project is vulnerable to: PYSEC-2023-161 / GHSA-wfm5-v35h-vwf4","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T04:19:02.341Z","repository_id":62579704,"created_at":"2025-08-20T04:19:02.341Z","updated_at":"2025-08-20T04:19:02.341Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31913078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","click","emoji","python","python-cli","python-click","python3","shell","terminal"],"created_at":"2024-12-04T01:10:01.095Z","updated_at":"2026-04-17T03:03:00.291Z","avatar_url":"https://github.com/joaopalmeiro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pycture\n\n[![security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nA Python CLI for obtaining emojis as files and favicons.\n\n## Quickstart\n\n```text\nUsage: pycture [OPTIONS] EMOJI\n\n  Get EMOJI as a file or favicon via its CLDR short name.\n\n  Use Unicode 9.0 and Emoji 3.0 as a reference.\n\nOptions:\n  -o, --output-dir DIRECTORY      The path to the output directory.\n                                  [default: (current directory)]\n\n  -p, --pretty                    Pretty-print the SVG code.\n  -s, --source [Twemoji|OpenMoji]\n                                  The source of the emoji to obtain.\n                                  [default: Twemoji]\n\n  --version                       Show the version and exit.\n  --help                          Show this message and exit.\n```\n\n## Tech Stack\n\n- [Click](https://click.palletsprojects.com/) (for the interface)\n- [Requests](https://github.com/psf/requests) (for HTTP requests)\n- [defusedxml](https://github.com/tiran/defusedxml) (for parsing XML/SVG data)\n\n### Packaging and Development\n\n- [Poetry](https://python-poetry.org/)\n- [Mypy](http://mypy-lang.org/)\n- [isort](https://pycqa.github.io/isort/)\n- [Black](https://github.com/psf/black)\n- [Flake8](https://flake8.pycqa.org/)\n  - [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear)\n  - [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions)\n  - [pep8-naming](https://github.com/PyCQA/pep8-naming)\n  - [flake8-builtins](https://github.com/gforcada/flake8-builtins)\n- [Bandit](https://bandit.readthedocs.io/)\n\nThis CLI was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [`joaopalmeiro/cookiecutter-templates/python-cli`](https://github.com/joaopalmeiro/cookiecutter-templates) project template.\n\n## Development\n\n1. `poetry install`\n2. `poetry shell`\n\n## Notes\n\n- [click-contrib](https://github.com/click-contrib) (a collection of third-party extensions).\n  - [click-man](https://github.com/click-contrib/click-man) package (man pages).\n  - [click-help-colors](https://github.com/click-contrib/click-help-colors) package.\n  - [click-didyoumean](https://github.com/click-contrib/click-didyoumean) package.\n  - [click_params](https://github.com/click-contrib/click_params) package (extra types).\n- [OpenMoji](https://openmoji.org/).\n- [emoji](https://github.com/carpedm20/emoji) package.\n- [demoji](https://github.com/bsolomon1124/demoji) package.\n- [Twemoji](https://github.com/twitter/twemoji).\n- [Inflection](https://inflection.readthedocs.io/en/latest/) package.\n- Unicode:\n  - [Full Emoji List](https://unicode.org/emoji/charts/full-emoji-list.html).\n  - [Full Emoji Modifier Sequences](http://www.unicode.org/emoji/charts/full-emoji-modifiers.html).\n  - [Emoji Counts](http://www.unicode.org/emoji/charts/emoji-counts.html).\n  - [Emoji List, v13.0](https://unicode.org/emoji/charts-13.0/emoji-list.html).\n  - [unicodedata](https://docs.python.org/3.6/library/unicodedata.html) (Python 3.6 -\u003e Unicode 9.0).\n  - [Emoji Version 3.0](https://emojipedia.org/emoji-3.0/) (this emoji version coincided with the release of Unicode 9.0).\n- [cookiecutter-poetry](https://github.com/johanvergeer/cookiecutter-poetry) (only the `pyproject.toml` file and no `poetry.lock` file).\n- `cli.py` or `console.py`.\n- [Asyncio integration](https://github.com/pallets/click/issues/85) issue (Click).\n- [asyncclick](https://github.com/python-trio/asyncclick) package (fork of Click).\n- [XML vulnerabilities](https://docs.python.org/3/library/xml.html#xml-vulnerabilities).\n- Bandit:\n  - [B405 complains about any xml.etree.ElementTree import, not just parse-related ones](https://github.com/PyCQA/bandit/issues/709) (open) issue.\n  - [from xml.etree.ElementTree import Element Flagged](https://github.com/PyCQA/bandit/issues/602) (open) issue.\n  - [Error message refers to \"defusedxml.defuse_stdlib()\" but calling that does not silence bandit](https://github.com/PyCQA/bandit/issues/708) (open) issue.\n  - [defusedxml](https://github.com/tiran/defusedxml) provides alternatives for parsing-related functions.\n- [Shell completion](https://click.palletsprojects.com/en/7.x/bashcomplete/) (for commands, options, and choice values):\n  - Generate the [activation script](https://click.palletsprojects.com/en/7.x/bashcomplete/#activation-script): `_PYCTURE_COMPLETE=source_zsh pycture \u003e pycture-complete.sh`.\n  - In `.bashrc` or `.zshrc`, source the script: `. /path/to/pycture-complete.sh`.\n  - Alternative: `eval \"$(_PYCTURE_COMPLETE=source_zsh pycture)\"`.\n- [aiohttp](https://github.com/aio-libs/aiohttp) package (vs. [Requests](https://github.com/psf/requests)):\n  - \"(...) you can picture the session object as a user starting and closing a browser: it wouldn't make sense to do that every time you want to load a new tab.\" ([source](https://docs.aiohttp.org/en/stable/http_request_lifecycle.html))\n\n```python\n# aiohttp\nasync with aiohttp.ClientSession() as session:\n    async with session.get(\"http://python.org\") as response:\n        print(await response.text())\n\n# vs.\n\n# Requests\nresponse = requests.get(\"http://python.org\")\nprint(response.text)\n\n# or\n\nwith requests.Session() as session:\n    response = session.get(\"http://python.org\")\n    print(response.text)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaopalmeiro%2Fpycture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaopalmeiro%2Fpycture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaopalmeiro%2Fpycture/lists"}