Name | fontquery JSON |
Version |
1.24
JSON |
| download |
home_page | None |
Summary | Query a font in Fedora release |
upload_time | 2025-08-07 10:21:10 |
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/7b/51/b84bc96935223930251b4501a528570ce7bcece60ae05c8623ac5fbc7687/fontquery-1.24.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.24",
"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": "489a22640b6e6503e2ccfad8693ed6620ed4ba6884c7c29576c7e11a729b2c96",
"md5": "e800a9e30cdd3a573521f1cc9d29a6c5",
"sha256": "1f5ea00c05a981167162e369a8a256a9c83540278a73b35f8bec18c3fff62530"
},
"downloads": -1,
"filename": "fontquery-1.24-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e800a9e30cdd3a573521f1cc9d29a6c5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 35041,
"upload_time": "2025-08-07T10:21:09",
"upload_time_iso_8601": "2025-08-07T10:21:09.112589Z",
"url": "https://files.pythonhosted.org/packages/48/9a/22640b6e6503e2ccfad8693ed6620ed4ba6884c7c29576c7e11a729b2c96/fontquery-1.24-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7b51b84bc96935223930251b4501a528570ce7bcece60ae05c8623ac5fbc7687",
"md5": "605d309dda5d5b3e14ea330220adbf59",
"sha256": "2bc6d1c5373a5eff53f3627782f00d69875d07cd7232abb9eaacd97858462400"
},
"downloads": -1,
"filename": "fontquery-1.24.tar.gz",
"has_sig": false,
"md5_digest": "605d309dda5d5b3e14ea330220adbf59",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 25963,
"upload_time": "2025-08-07T10:21:10",
"upload_time_iso_8601": "2025-08-07T10:21:10.110342Z",
"url": "https://files.pythonhosted.org/packages/7b/51/b84bc96935223930251b4501a528570ce7bcece60ae05c8623ac5fbc7687/fontquery-1.24.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-07 10:21:10",
"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"
}