| Name | fontquery JSON |
| Version |
1.28
JSON |
| download |
| home_page | None |
| Summary | Query a font in Fedora release |
| upload_time | 2025-10-09 07:37:05 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.11 |
| license | None |
| keywords |
fedora
fonts
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# Fontquery
[](https://pypi.org/project/fontquery/)
[](https://github.com/fedora-i18n/fontquery/tags)
[](./LICENSE)
fontquery is a tool to query fonts in the certain Fedora release.
## How to install
``` shell
$ pip3 install fontquery
```
Or in Fedora,
``` shell
# dnf install fontquery
```
## How to install from git
``` shell
$ pip3 install --user build wheel
$ python3 -m build
$ pip3 install --user dist/fontquery*.whl
```
Or in Fedora,
``` shell
# dnf install python3-build python3-wheel
$ python3 -m build
$ pip3 install --user dist/fontquery*.whl
```
## Usage
```
usage: fontquery [-h] [-C] [--disable-cache] [-f FILENAME_FORMAT] [-r RELEASE] [-l LANG]
[-m {fcmatch,fclist,json,html}] [-O OUTPUT_DIR] [-t {minimal,extra,all}] [-T TITLE] [-v] [-V]
[args ...]
Query fonts
positional arguments:
args Queries (default: None)
options:
-h, --help show this help message and exit
-C, --clean-cache Clean caches before processing (default: False)
--disable-cache Enforce processing everything even if not updating (default: False)
-f FILENAME_FORMAT, --filename-format FILENAME_FORMAT
Output filename format. only take effects with --mode=html (default:
{platform}-{release}-{target}.{mode})
-r RELEASE, --release RELEASE
Release number such as "rawhide" and "39". "local" to query from current environment
instead of images (default: ['local'])
-l LANG, --lang LANG Language list to dump fonts data into JSON (default: None)
-m {fcmatch,fclist,json,html}, --mode {fcmatch,fclist,json,html}
Action to perform for query (default: fcmatch)
-O OUTPUT_DIR, --output-dir OUTPUT_DIR
Output directory (default: .)
-t {minimal,extra,all}, --target {minimal,extra,all}
Query fonts from (default: minimal)
-T TITLE, --title TITLE
Page title format. only take effects with --mode=html (default: {platform} {release}:
{target})
-v, --verbose Show more detailed logs (default: 0)
-V, --version Show version (default: False)
```
To query sans-serif for Hindi on Fedora 36,
``` shell
$ fontquery -r 36 sans-serif:lang=hi
Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular"
```
To generate JSON from default-fonts installed environment:
``` shell
$ fontquery -m json -t minimal
...
```
To generate html table:
``` shell
$ fontquery -m json -t minimal | fq2html -o minimal.html -
```
Or simply
``` shell
$ fontquery -m html -t minimal -r 40
```
To check difference between local and reference:
``` shell
$ fontquery-diff -R text rawhide local
```
To check difference with certain packages:
``` shell
$ fontquery-pkgdiff /path/to/package ...
```
## For developers
Before committing something into git repository, you may want to do:
``` shell
$ git config core.hooksPath hooks
```
to make sure our hook scripts works.
Raw data
{
"_id": null,
"home_page": null,
"name": "fontquery",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "fedora, fonts",
"author": null,
"author_email": "Akira TAGOH <akira@tagoh.org>",
"download_url": "https://files.pythonhosted.org/packages/75/11/4d3a295230db1db1ad832e187cc3669e40c8e2409a0aead21e674d8f6279/fontquery-1.28.tar.gz",
"platform": null,
"description": "# Fontquery\n[](https://pypi.org/project/fontquery/)\n[](https://github.com/fedora-i18n/fontquery/tags)\n[](./LICENSE)\n\nfontquery is a tool to query fonts in the certain Fedora release.\n\n## How to install\n\n``` shell\n$ pip3 install fontquery\n```\n\nOr in Fedora,\n\n``` shell\n# dnf install fontquery\n```\n\n## How to install from git\n\n``` shell\n$ pip3 install --user build wheel\n$ python3 -m build\n$ pip3 install --user dist/fontquery*.whl\n```\n\nOr in Fedora,\n\n``` shell\n# dnf install python3-build python3-wheel\n$ python3 -m build\n$ pip3 install --user dist/fontquery*.whl\n```\n\n## Usage\n\n```\nusage: fontquery [-h] [-C] [--disable-cache] [-f FILENAME_FORMAT] [-r RELEASE] [-l LANG]\n [-m {fcmatch,fclist,json,html}] [-O OUTPUT_DIR] [-t {minimal,extra,all}] [-T TITLE] [-v] [-V]\n [args ...]\n\nQuery fonts\n\npositional arguments:\n args Queries (default: None)\n\noptions:\n -h, --help show this help message and exit\n -C, --clean-cache Clean caches before processing (default: False)\n --disable-cache Enforce processing everything even if not updating (default: False)\n -f FILENAME_FORMAT, --filename-format FILENAME_FORMAT\n Output filename format. only take effects with --mode=html (default:\n {platform}-{release}-{target}.{mode})\n -r RELEASE, --release RELEASE\n Release number such as \"rawhide\" and \"39\". \"local\" to query from current environment\n instead of images (default: ['local'])\n -l LANG, --lang LANG Language list to dump fonts data into JSON (default: None)\n -m {fcmatch,fclist,json,html}, --mode {fcmatch,fclist,json,html}\n Action to perform for query (default: fcmatch)\n -O OUTPUT_DIR, --output-dir OUTPUT_DIR\n Output directory (default: .)\n -t {minimal,extra,all}, --target {minimal,extra,all}\n Query fonts from (default: minimal)\n -T TITLE, --title TITLE\n Page title format. only take effects with --mode=html (default: {platform} {release}:\n {target})\n -v, --verbose Show more detailed logs (default: 0)\n -V, --version Show version (default: False)\n```\n\nTo query sans-serif for Hindi on Fedora 36,\n\n``` shell\n$ fontquery -r 36 sans-serif:lang=hi\nLohit-Devanagari.ttf: \"Lohit Devanagari\" \"Regular\"\n```\n\nTo generate JSON from default-fonts installed environment:\n\n``` shell\n$ fontquery -m json -t minimal\n...\n```\n\nTo generate html table:\n\n``` shell\n$ fontquery -m json -t minimal | fq2html -o minimal.html -\n```\n\nOr simply\n\n``` shell\n$ fontquery -m html -t minimal -r 40\n```\n\nTo check difference between local and reference:\n\n``` shell\n$ fontquery-diff -R text rawhide local\n```\n\nTo check difference with certain packages:\n\n``` shell\n$ fontquery-pkgdiff /path/to/package ...\n```\n\n## For developers\n\nBefore committing something into git repository, you may want to do:\n\n``` shell\n$ git config core.hooksPath hooks\n```\n\nto make sure our hook scripts works.\n",
"bugtrack_url": null,
"license": null,
"summary": "Query a font in Fedora release",
"version": "1.28",
"project_urls": {
"Bug Tracker": "https://github.com/fedora-i18n/fontquery/issues",
"Homepage": "https://github.com/fedora-i18n/fontquery"
},
"split_keywords": [
"fedora",
" fonts"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "d3cb9f7c9f8f3eb5dad00f47c399d4116661ac07d90ed207bfe47f98fbc16fcd",
"md5": "21684c9a099ee0702e5819bb223696f4",
"sha256": "703dd967b26d72b9fd355d2868c53f084acd8501d185623c453780918daa2f5d"
},
"downloads": -1,
"filename": "fontquery-1.28-py3-none-any.whl",
"has_sig": false,
"md5_digest": "21684c9a099ee0702e5819bb223696f4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 35066,
"upload_time": "2025-10-09T07:37:04",
"upload_time_iso_8601": "2025-10-09T07:37:04.048315Z",
"url": "https://files.pythonhosted.org/packages/d3/cb/9f7c9f8f3eb5dad00f47c399d4116661ac07d90ed207bfe47f98fbc16fcd/fontquery-1.28-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "75114d3a295230db1db1ad832e187cc3669e40c8e2409a0aead21e674d8f6279",
"md5": "2bfa1a7375e26305f5677ce8f3730f9e",
"sha256": "afe9b4b06fb1513d8f17435d6f5ecdb55ecabfc389553a60984038bd54bf08da"
},
"downloads": -1,
"filename": "fontquery-1.28.tar.gz",
"has_sig": false,
"md5_digest": "2bfa1a7375e26305f5677ce8f3730f9e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 26012,
"upload_time": "2025-10-09T07:37:05",
"upload_time_iso_8601": "2025-10-09T07:37:05.263994Z",
"url": "https://files.pythonhosted.org/packages/75/11/4d3a295230db1db1ad832e187cc3669e40c8e2409a0aead21e674d8f6279/fontquery-1.28.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-09 07:37:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fedora-i18n",
"github_project": "fontquery",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "fontquery"
}