content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\draft04.cpython-313.pyc | draft04.cpython-313.pyc | Other | 40,900 | 0.95 | 0.104839 | 0.002198 | python-kit | 525 | 2024-02-23T11:55:11.873934 | BSD-3-Clause | false | ab95f221e23dc102211f628ce7ca4f85 |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\draft06.cpython-313.pyc | draft06.cpython-313.pyc | Other | 11,542 | 0.95 | 0.111111 | 0 | node-utils | 309 | 2024-06-25T21:11:03.804500 | GPL-3.0 | false | a91556a522b601d73177922a0c336f94 |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\draft07.cpython-313.pyc | draft07.cpython-313.pyc | Other | 6,377 | 0.95 | 0.081395 | 0.012821 | react-lib | 94 | 2024-06-05T04:41:49.067512 | MIT | false | 0f83e28008dd3497e91849bf0f85aba2 |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\exceptions.cpython-313.pyc | exceptions.cpython-313.pyc | Other | 2,888 | 0.95 | 0.0625 | 0.241379 | react-lib | 4 | 2024-05-10T08:56:00.613124 | BSD-3-Clause | false | a12fea985a3c4afd9cb36ed4743f29d6 |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\generator.cpython-313.pyc | generator.cpython-313.pyc | Other | 16,767 | 0.95 | 0.149733 | 0.023392 | node-utils | 676 | 2025-04-03T22:18:16.755424 | BSD-3-Clause | false | 36fd84cf4377b8edc1fcb9620c97e05b |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\indent.cpython-313.pyc | indent.cpython-313.pyc | Other | 1,812 | 0.8 | 0.1 | 0 | react-lib | 221 | 2025-07-07T09:05:01.090623 | BSD-3-Clause | false | 6b04d216a9f24a2f5e62f668c960b127 |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\ref_resolver.cpython-313.pyc | ref_resolver.cpython-313.pyc | Other | 8,590 | 0.95 | 0.02439 | 0.026549 | node-utils | 469 | 2025-02-28T18:25:56.847743 | GPL-3.0 | false | ff0ff6c23f6de960bc1a3d783f39c426 |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\version.cpython-313.pyc | version.cpython-313.pyc | Other | 211 | 0.7 | 0 | 0 | vue-tools | 799 | 2023-09-30T02:11:50.288959 | GPL-3.0 | false | 4652c6ed4b1b19ce88f2c6d8c100440b |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 9,898 | 0.95 | 0.085202 | 0.063584 | react-lib | 696 | 2025-02-25T17:05:56.236782 | Apache-2.0 | false | e23401f5bb50bf221cc8dbe5b7d5b50a |
\n\n | .venv\Lib\site-packages\fastjsonschema\__pycache__\__main__.cpython-313.pyc | __main__.cpython-313.pyc | Other | 833 | 0.7 | 0 | 0 | react-lib | 178 | 2025-01-06T03:23:36.463955 | MIT | false | 3d13863232bd553024bf6872871f466b |
MAINTAINER\nMichal Hořejšek <horejsekmichal@gmail.com>\n\nCONTRIBUTORS\nanentropic <ego@anentropic.com>\nAntti Jokipii <anttijokipii@gmail.com>\nbcaller <bcaller@users.noreply.github.com>\nFrederik Petersen <fp@abusix.com>\nGuillaume Desvé <guillaume.desve@surycat.com>\nKris Molendyke <krismolendyke@users.noreply.githu... | .venv\Lib\site-packages\fastjsonschema-2.21.1.dist-info\AUTHORS | AUTHORS | Other | 350 | 0.7 | 0 | 0 | node-utils | 332 | 2025-01-09T23:39:43.182509 | MIT | false | 10988d13f9af03ca0b4e331ef90d2918 |
pip\n | .venv\Lib\site-packages\fastjsonschema-2.21.1.dist-info\INSTALLER | INSTALLER | Other | 4 | 0.5 | 0 | 0 | awesome-app | 220 | 2023-10-23T09:54:35.519507 | BSD-3-Clause | false | 365c9bfeb7d89244f2ce01c1de44cb85 |
Copyright (c) 2018, Michal Horejsek\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n Redistributions of source code must retain the above copyright notice, this\n list of conditions and the foll... | .venv\Lib\site-packages\fastjsonschema-2.21.1.dist-info\LICENSE | LICENSE | Other | 1,518 | 0.7 | 0 | 0 | vue-tools | 193 | 2024-06-26T03:10:32.427586 | Apache-2.0 | false | 6ddb48173ae95b92910c0f4d45b6d875 |
Metadata-Version: 2.1\nName: fastjsonschema\nVersion: 2.21.1\nSummary: Fastest Python implementation of JSON schema\nHome-page: https://github.com/horejsek/python-fastjsonschema\nAuthor: Michal Horejsek\nAuthor-email: fastjsonschema@horejsek.com\nLicense: BSD\nClassifier: Programming Language :: Python\nClassifier: Pro... | .venv\Lib\site-packages\fastjsonschema-2.21.1.dist-info\METADATA | METADATA | Other | 2,152 | 0.8 | 0.018519 | 0 | awesome-app | 573 | 2024-02-13T00:03:17.527535 | GPL-3.0 | false | 8860c395bf96b232370f93b242159088 |
fastjsonschema-2.21.1.dist-info/AUTHORS,sha256=DLGgN1TEmM2VoBM4cRn-gklc4HA8jLLPDDCeBD1kGhU,350\nfastjsonschema-2.21.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\nfastjsonschema-2.21.1.dist-info/LICENSE,sha256=nM3faes5mKYBSN6-hblMWv7VNpG2R0aS54q8wKDlRPE,1518\nfastjsonschema-2.21.1.dist-info... | .venv\Lib\site-packages\fastjsonschema-2.21.1.dist-info\RECORD | RECORD | Other | 2,014 | 0.7 | 0 | 0 | awesome-app | 2 | 2024-08-01T10:50:03.799411 | MIT | false | 0f6717d80cc06a549839a03f2acf9fce |
fastjsonschema\n | .venv\Lib\site-packages\fastjsonschema-2.21.1.dist-info\top_level.txt | top_level.txt | Other | 15 | 0.5 | 0 | 0 | awesome-app | 940 | 2024-02-01T22:00:40.759385 | BSD-3-Clause | false | 9ffeccdf3529c7be7c4a40a585e166b9 |
Wheel-Version: 1.0\nGenerator: setuptools (75.6.0)\nRoot-Is-Purelib: true\nTag: py3-none-any\n\n | .venv\Lib\site-packages\fastjsonschema-2.21.1.dist-info\WHEEL | WHEEL | Other | 91 | 0.5 | 0 | 0 | react-lib | 866 | 2025-01-29T22:09:27.244850 | BSD-3-Clause | false | 75ee1e0d275021ca61f0502e783d543c |
# file generated by setuptools-scm\n# don't change, don't track in version control\n\n__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]\n\nTYPE_CHECKING = False\nif TYPE_CHECKING:\n from typing import Tuple\n from typing import Union\n\n VERSION_TUPLE = Tuple[Union[int, str], ...]\nels... | .venv\Lib\site-packages\filelock\version.py | version.py | Python | 513 | 0.95 | 0.047619 | 0.125 | react-lib | 902 | 2024-02-27T08:30:07.185308 | MIT | false | 0c473d790c2c712f09ef309407597387 |
from __future__ import annotations\n\nfrom typing import Any\n\n\nclass Timeout(TimeoutError): # noqa: N818\n """Raised when the lock could not be acquired in *timeout* seconds."""\n\n def __init__(self, lock_file: str) -> None:\n super().__init__()\n self._lock_file = lock_file\n\n def __reduce... | .venv\Lib\site-packages\filelock\_error.py | _error.py | Python | 787 | 0.95 | 0.2 | 0 | python-kit | 5 | 2024-02-11T00:57:21.445901 | MIT | false | 65a8e24a4cdee2bdba311013a074d920 |
from __future__ import annotations\n\nimport os\nimport stat\nimport sys\nfrom errno import EACCES, EISDIR\nfrom pathlib import Path\n\n\ndef raise_on_not_writable_file(filename: str) -> None:\n """\n Raise an exception if attempting to open the file for writing would fail.\n\n This is done so files that will ... | .venv\Lib\site-packages\filelock\_util.py | _util.py | Python | 1,715 | 0.95 | 0.25 | 0.052632 | react-lib | 677 | 2024-02-14T16:49:07.456871 | BSD-3-Clause | false | 31d7d29f31a014bf3d5577d081fc4166 |
"""\nA platform independent file lock that supports the with-statement.\n\n.. autodata:: filelock.__version__\n :no-value:\n\n"""\n\nfrom __future__ import annotations\n\nimport sys\nimport warnings\nfrom typing import TYPE_CHECKING\n\nfrom ._api import AcquireReturnProxy, BaseFileLock\nfrom ._error import Timeout\nf... | .venv\Lib\site-packages\filelock\__init__.py | __init__.py | Python | 1,769 | 0.95 | 0.085714 | 0.033898 | react-lib | 899 | 2024-09-06T19:04:54.762027 | GPL-3.0 | false | 09f8a650c850f8d12f58b7eaf4f0f80d |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\asyncio.cpython-313.pyc | asyncio.cpython-313.pyc | Other | 15,489 | 0.95 | 0.105 | 0.017751 | react-lib | 475 | 2024-06-19T23:29:20.806910 | BSD-3-Clause | false | 34f7b3dd001cca80d8945d52a5308ee9 |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\version.cpython-313.pyc | version.cpython-313.pyc | Other | 654 | 0.7 | 0 | 0 | awesome-app | 887 | 2024-07-25T23:06:10.892102 | GPL-3.0 | false | 0c870f61a13de47e9821d1c747912364 |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\_api.cpython-313.pyc | _api.cpython-313.pyc | Other | 16,445 | 0.95 | 0.13 | 0.012195 | awesome-app | 654 | 2025-05-16T12:37:32.739914 | GPL-3.0 | false | e5728d045a8eec167630db6447da9c2d |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\_error.cpython-313.pyc | _error.cpython-313.pyc | Other | 1,827 | 0.8 | 0 | 0 | awesome-app | 869 | 2023-10-01T05:59:18.437882 | GPL-3.0 | false | c4a638828619ea2f9f127f7caf8976be |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\_soft.cpython-313.pyc | _soft.cpython-313.pyc | Other | 2,530 | 0.8 | 0 | 0 | node-utils | 554 | 2024-08-20T03:22:46.371397 | Apache-2.0 | false | 44306f6862afd57d258284a43397073f |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\_unix.cpython-313.pyc | _unix.cpython-313.pyc | Other | 3,621 | 0.8 | 0 | 0 | vue-tools | 895 | 2024-03-24T20:21:35.098616 | MIT | false | b5d3cbd52b4a1f394e62c87ea7d7245b |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\_util.cpython-313.pyc | _util.cpython-313.pyc | Other | 2,000 | 0.7 | 0.172414 | 0 | vue-tools | 18 | 2024-07-02T04:53:58.937812 | Apache-2.0 | false | f421b67303791b701a62fc579b1667f4 |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\_windows.cpython-313.pyc | _windows.cpython-313.pyc | Other | 3,306 | 0.95 | 0.030303 | 0 | react-lib | 113 | 2025-07-02T03:22:41.267528 | Apache-2.0 | false | 5e70e3db927d7a169183b618b4d95739 |
\n\n | .venv\Lib\site-packages\filelock\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 1,586 | 0.8 | 0 | 0 | react-lib | 947 | 2024-06-01T11:52:12.123627 | GPL-3.0 | false | 7cc736809cc587c7f5a9c02a26d3aaea |
pip\n | .venv\Lib\site-packages\filelock-3.18.0.dist-info\INSTALLER | INSTALLER | Other | 4 | 0.5 | 0 | 0 | react-lib | 439 | 2025-06-24T03:11:28.667437 | MIT | false | 365c9bfeb7d89244f2ce01c1de44cb85 |
Metadata-Version: 2.4\nName: filelock\nVersion: 3.18.0\nSummary: A platform independent file lock.\nProject-URL: Documentation, https://py-filelock.readthedocs.io\nProject-URL: Homepage, https://github.com/tox-dev/py-filelock\nProject-URL: Source, https://github.com/tox-dev/py-filelock\nProject-URL: Tracker, https://gi... | .venv\Lib\site-packages\filelock-3.18.0.dist-info\METADATA | METADATA | Other | 2,897 | 0.8 | 0 | 0.018182 | vue-tools | 864 | 2024-07-31T09:47:32.942860 | Apache-2.0 | false | 0e872066ab89c5f39a7d4d1af118ebb9 |
filelock-3.18.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\nfilelock-3.18.0.dist-info/METADATA,sha256=bMzrZMIFytIbgg_WaLomH79i_7KEx8ahX0IJBxbx1_I,2897\nfilelock-3.18.0.dist-info/RECORD,,\nfilelock-3.18.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87\nfilelock-3.18.0... | .venv\Lib\site-packages\filelock-3.18.0.dist-info\RECORD | RECORD | Other | 1,586 | 0.7 | 0 | 0 | node-utils | 31 | 2024-02-07T00:08:46.620280 | Apache-2.0 | false | f8d8a7a11ca34afa5c0e0135ac95ad83 |
Wheel-Version: 1.0\nGenerator: hatchling 1.27.0\nRoot-Is-Purelib: true\nTag: py3-none-any\n | .venv\Lib\site-packages\filelock-3.18.0.dist-info\WHEEL | WHEEL | Other | 87 | 0.5 | 0 | 0 | awesome-app | 435 | 2024-11-02T11:02:40.764072 | BSD-3-Clause | false | e2fcb0ad9ea59332c808928b4b439e7a |
This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize ... | .venv\Lib\site-packages\filelock-3.18.0.dist-info\licenses\LICENSE | LICENSE | Other | 1,210 | 0.8 | 0.083333 | 0 | awesome-app | 89 | 2024-10-24T17:45:22.092413 | MIT | false | 911690f51af322440237a253d695d19f |
__all__ = ["FontBuilder"]\n\n"""\nThis module is *experimental*, meaning it still may evolve and change.\n\nThe `FontBuilder` class is a convenient helper to construct working TTF or\nOTF fonts from scratch.\n\nNote that the various setup methods cannot be called in arbitrary order,\ndue to various interdependencies be... | .venv\Lib\site-packages\fontTools\fontBuilder.py | fontBuilder.py | Python | 35,144 | 0.95 | 0.120316 | 0.010274 | python-kit | 823 | 2025-04-24T22:54:53.905095 | GPL-3.0 | false | dcfc02f78f2fd3414cf5e1c1768faa01 |
import pkgutil\nimport sys\nimport fontTools\nimport importlib\nimport os\nfrom pathlib import Path\n\n\ndef main():\n """Show this help"""\n path = fontTools.__path__\n descriptions = {}\n for pkg in sorted(\n mod.name\n for mod in pkgutil.walk_packages([fontTools.__path__[0]], prefix="fontTo... | .venv\Lib\site-packages\fontTools\help.py | help.py | Python | 1,161 | 0.95 | 0.222222 | 0.0625 | node-utils | 620 | 2024-10-30T12:40:10.291749 | MIT | false | 54bc582ccc7b452435235a9b9dad83a3 |
"""Module for reading TFM (TeX Font Metrics) files.\n\nThe TFM format is described in the TFtoPL WEB source code, whose typeset form\ncan be found on `CTAN <http://mirrors.ctan.org/info/knuth-pdf/texware/tftopl.pdf>`_.\n\n >>> from fontTools.tfmLib import TFM\n >>> tfm = TFM("Tests/tfmLib/data/cmr10.tfm")\n >>>\n >>> #... | .venv\Lib\site-packages\fontTools\tfmLib.py | tfmLib.py | Python | 14,730 | 0.95 | 0.158696 | 0.030769 | node-utils | 981 | 2025-06-23T18:29:08.782022 | BSD-3-Clause | false | 7990ec06783464ba721793421b71440a |
"""\\nusage: ttx [options] inputfile1 [... inputfileN]\n\nTTX -- From OpenType To XML And Back\n\nIf an input file is a TrueType or OpenType font file, it will be\ndecompiled to a TTX file (an XML-based text format).\nIf an input file is a TTX file, it will be compiled to whatever\nformat the data is in, a TrueType or ... | .venv\Lib\site-packages\fontTools\ttx.py | ttx.py | Python | 17,756 | 0.95 | 0.131524 | 0.023148 | vue-tools | 131 | 2025-05-04T08:43:55.363858 | MIT | false | 9312eaf3ee070d2f00b4752526ca7f69 |
def _makeunicodes(f):\n lines = iter(f.readlines())\n unicodes = {}\n for line in lines:\n if not line:\n continue\n num, name = line.split(";")[:2]\n if name[0] == "<":\n continue # "<control>", etc.\n num = int(num, 16)\n unicodes[num] = name\n ret... | .venv\Lib\site-packages\fontTools\unicode.py | unicode.py | Python | 1,287 | 0.95 | 0.3 | 0.04878 | react-lib | 546 | 2024-01-27T00:07:51.213694 | Apache-2.0 | false | 1500eb6e4ec75eee15ecb9654a47e2c5 |
import logging\nfrom fontTools.misc.loggingTools import configLogger\n\nlog = logging.getLogger(__name__)\n\nversion = __version__ = "4.58.5"\n\n__all__ = ["version", "log", "configLogger"]\n | .venv\Lib\site-packages\fontTools\__init__.py | __init__.py | Python | 191 | 0.85 | 0 | 0 | vue-tools | 498 | 2025-06-15T17:23:14.455981 | BSD-3-Clause | false | 8df36827ef81622b6717a0c899f86278 |
import sys\n\n\ndef main(args=None):\n if args is None:\n args = sys.argv[1:]\n\n # TODO Handle library-wide options. Eg.:\n # --unicodedata\n # --verbose / other logging stuff\n\n # TODO Allow a way to run arbitrary modules? Useful for setting\n # library-wide options and calling another libra... | .venv\Lib\site-packages\fontTools\__main__.py | __main__.py | Python | 960 | 0.95 | 0.285714 | 0.423077 | awesome-app | 566 | 2024-02-06T23:40:20.644661 | MIT | false | ebf9813a3f125e1f5bdd5a45a6427c8c |
"""CFF2 to CFF converter."""\n\nfrom fontTools.ttLib import TTFont, newTable\nfrom fontTools.misc.cliTools import makeOutputFileName\nfrom fontTools.cffLib import (\n TopDictIndex,\n buildOrder,\n buildDefaults,\n topDictOperators,\n privateDictOperators,\n)\nfrom .width import optimizeWidths\nfrom colle... | .venv\Lib\site-packages\fontTools\cffLib\CFF2ToCFF.py | CFF2ToCFF.py | Python | 6,291 | 0.95 | 0.192118 | 0.036364 | react-lib | 472 | 2024-08-31T08:57:54.480985 | Apache-2.0 | false | 776549101e838fc49b258f5cb4098b64 |
"""CFF to CFF2 converter."""\n\nfrom fontTools.ttLib import TTFont, newTable\nfrom fontTools.misc.cliTools import makeOutputFileName\nfrom fontTools.misc.psCharStrings import T2WidthExtractor\nfrom fontTools.cffLib import (\n TopDictIndex,\n FDArrayIndex,\n FontDict,\n buildOrder,\n topDictOperators,\n ... | .venv\Lib\site-packages\fontTools\cffLib\CFFToCFF2.py | CFFToCFF2.py | Python | 10,424 | 0.95 | 0.190164 | 0.130268 | vue-tools | 158 | 2025-04-07T03:01:01.994168 | MIT | false | cde72653aa06ba9b49ba12990746b52e |
# -*- coding: utf-8 -*-\n\n"""T2CharString operator specializer and generalizer.\n\nPostScript glyph drawing operations can be expressed in multiple different\nways. For example, as well as the ``lineto`` operator, there is also a\n``hlineto`` operator which draws a horizontal line, removing the need to\nspecify a ``dx... | .venv\Lib\site-packages\fontTools\cffLib\specializer.py | specializer.py | Python | 33,536 | 0.95 | 0.228695 | 0.2 | awesome-app | 988 | 2025-02-13T02:08:09.459465 | GPL-3.0 | false | 968d613df01143dfdc4ddbaaaafa1969 |
from fontTools.misc.psCharStrings import (\n SimpleT2Decompiler,\n T2WidthExtractor,\n calcSubrBias,\n)\n\n\ndef _uniq_sort(l):\n return sorted(set(l))\n\n\nclass StopHintCountEvent(Exception):\n pass\n\n\nclass _DesubroutinizingT2Decompiler(SimpleT2Decompiler):\n stop_hintcount_ops = (\n "op_h... | .venv\Lib\site-packages\fontTools\cffLib\transforms.py | transforms.py | Python | 17,861 | 0.95 | 0.253061 | 0.132212 | node-utils | 246 | 2024-12-02T03:01:50.954349 | MIT | false | f60e50bfeff2328ff04f80e627d0636b |
# -*- coding: utf-8 -*-\n\n"""T2CharString glyph width optimizer.\n\nCFF glyphs whose width equals the CFF Private dictionary's ``defaultWidthX``\nvalue do not need to specify their width in their charstring, saving bytes.\nThis module determines the optimum ``defaultWidthX`` and ``nominalWidthX``\nvalues for a font, w... | .venv\Lib\site-packages\fontTools\cffLib\width.py | width.py | Python | 6,284 | 0.95 | 0.17619 | 0.049383 | python-kit | 661 | 2024-06-26T04:21:07.022370 | Apache-2.0 | false | 857d8c8c27f345b3580f0ab86326b47f |
\n\n | .venv\Lib\site-packages\fontTools\cffLib\__pycache__\CFF2ToCFF.cpython-313.pyc | CFF2ToCFF.cpython-313.pyc | Other | 8,235 | 0.95 | 0 | 0 | react-lib | 664 | 2024-03-25T09:04:58.522826 | Apache-2.0 | false | 7845ccf5d795e90854a24bf462a49d86 |
\n\n | .venv\Lib\site-packages\fontTools\cffLib\__pycache__\CFFToCFF2.cpython-313.pyc | CFFToCFF2.cpython-313.pyc | Other | 10,449 | 0.95 | 0 | 0 | node-utils | 862 | 2023-10-02T21:10:06.787245 | Apache-2.0 | false | fab9d0efba232339668434ee60c0fa97 |
\n\n | .venv\Lib\site-packages\fontTools\cffLib\__pycache__\specializer.cpython-313.pyc | specializer.cpython-313.pyc | Other | 29,106 | 0.8 | 0.029412 | 0 | node-utils | 20 | 2025-02-02T18:24:29.473366 | GPL-3.0 | false | 905c2522b22e196bffb04ac8fb45062a |
\n\n | .venv\Lib\site-packages\fontTools\cffLib\__pycache__\transforms.cpython-313.pyc | transforms.cpython-313.pyc | Other | 22,224 | 0.8 | 0 | 0.01005 | react-lib | 468 | 2025-02-12T07:11:55.021263 | BSD-3-Clause | false | 06d906b97c2ab7dc47eb7a3629f19947 |
\n\n | .venv\Lib\site-packages\fontTools\cffLib\__pycache__\width.cpython-313.pyc | width.cpython-313.pyc | Other | 9,664 | 0.8 | 0.017391 | 0 | awesome-app | 908 | 2023-10-05T23:28:33.402537 | BSD-3-Clause | false | 002336493a6325fa443ec6d8dc6fd3a9 |
"""\ncolorLib.builder: Build COLR/CPAL tables from scratch\n\n"""\n\nimport collections\nimport copy\nimport enum\nfrom functools import partial\nfrom math import ceil, log\nfrom typing import (\n Any,\n Dict,\n Generator,\n Iterable,\n List,\n Mapping,\n Optional,\n Sequence,\n Tuple,\n T... | .venv\Lib\site-packages\fontTools\colorLib\builder.py | builder.py | Python | 23,672 | 0.95 | 0.182229 | 0.075949 | python-kit | 551 | 2024-10-20T21:20:14.882666 | MIT | false | 88ee908f0a98de21ff56076277d4e393 |
class ColorLibError(Exception):\n pass\n | .venv\Lib\site-packages\fontTools\colorLib\errors.py | errors.py | Python | 43 | 0.65 | 0.5 | 0 | awesome-app | 301 | 2025-04-17T02:48:34.093909 | GPL-3.0 | false | f9ec1b7f3838e8fe9843797fba699b3d |
"""Helpers for manipulating 2D points and vectors in COLR table."""\n\nfrom math import copysign, cos, hypot, isclose, pi\nfrom fontTools.misc.roundTools import otRound\n\n\ndef _vector_between(origin, target):\n return (target[0] - origin[0], target[1] - origin[1])\n\n\ndef _round_point(pt):\n return (otRound(pt... | .venv\Lib\site-packages\fontTools\colorLib\geometry.py | geometry.py | Python | 5,661 | 0.95 | 0.181818 | 0.265487 | react-lib | 488 | 2024-08-04T19:38:05.722036 | Apache-2.0 | false | a386a9521678d3e7df50e69d10892252 |
"""\ncolorLib.table_builder: Generic helper for filling in BaseTable derivatives from tuples and maps and such.\n\n"""\n\nimport collections\nimport enum\nfrom fontTools.ttLib.tables.otBase import (\n BaseTable,\n FormatSwitchingBaseTable,\n UInt8FormatSwitchingBaseTable,\n)\nfrom fontTools.ttLib.tables.otConv... | .venv\Lib\site-packages\fontTools\colorLib\table_builder.py | table_builder.py | Python | 7,692 | 0.95 | 0.2287 | 0.02809 | vue-tools | 64 | 2025-06-10T20:01:45.238259 | GPL-3.0 | false | c83950fb5db9d98e50eac22ca62d7d4c |
from fontTools.ttLib.tables import otTables as ot\nfrom .table_builder import TableUnbuilder\n\n\ndef unbuildColrV1(layerList, baseGlyphList):\n layers = []\n if layerList:\n layers = layerList.Paint\n unbuilder = LayerListUnbuilder(layers)\n return {\n rec.BaseGlyph: unbuilder.unbuildPaint(re... | .venv\Lib\site-packages\fontTools\colorLib\unbuilder.py | unbuilder.py | Python | 2,223 | 0.85 | 0.185185 | 0 | vue-tools | 671 | 2024-04-13T17:05:54.610791 | Apache-2.0 | false | 98f4eb57efaf6c8465e15bda46d69b3b |
\n\n | .venv\Lib\site-packages\fontTools\colorLib\__pycache__\builder.cpython-313.pyc | builder.cpython-313.pyc | Other | 30,170 | 0.95 | 0.048387 | 0 | react-lib | 93 | 2023-10-14T04:32:25.833066 | Apache-2.0 | false | 0ec994fb8edd851ca978c59a1d992585 |
\n\n | .venv\Lib\site-packages\fontTools\colorLib\__pycache__\errors.cpython-313.pyc | errors.cpython-313.pyc | Other | 439 | 0.7 | 0 | 0 | node-utils | 335 | 2023-11-06T20:59:45.641214 | MIT | false | 8160d744349edad8ecf9f5b9b3f87b63 |
\n\n | .venv\Lib\site-packages\fontTools\colorLib\__pycache__\geometry.cpython-313.pyc | geometry.cpython-313.pyc | Other | 5,424 | 0.8 | 0.039216 | 0.020833 | node-utils | 996 | 2023-09-02T22:25:20.924649 | BSD-3-Clause | false | 2002004ecef276e695dd9004f9113b98 |
\n\n | .venv\Lib\site-packages\fontTools\colorLib\__pycache__\table_builder.cpython-313.pyc | table_builder.cpython-313.pyc | Other | 10,331 | 0.8 | 0.067961 | 0.021505 | python-kit | 603 | 2024-06-04T22:06:36.787781 | Apache-2.0 | false | ee846e8f8de0b1b593210b3f18cbd705 |
\n\n | .venv\Lib\site-packages\fontTools\colorLib\__pycache__\unbuilder.cpython-313.pyc | unbuilder.cpython-313.pyc | Other | 3,771 | 0.8 | 0 | 0 | python-kit | 345 | 2023-08-17T18:13:35.179959 | BSD-3-Clause | false | 81d8b72aaa7a4f702da16518635284d5 |
\n\n | .venv\Lib\site-packages\fontTools\colorLib\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 193 | 0.7 | 0 | 0 | python-kit | 570 | 2024-08-28T10:08:56.687593 | BSD-3-Clause | false | 1b44337e80a7dbdf7b04ee1c8986bb25 |
\n\n | .venv\Lib\site-packages\fontTools\config\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 3,759 | 0.95 | 0.064103 | 0.083333 | node-utils | 424 | 2023-08-11T12:42:12.173595 | Apache-2.0 | false | 349556acef4618b210060ed4e3fba2ff |
"""Benchmark the cu2qu algorithm performance."""\n\nfrom .cu2qu import *\nimport random\nimport timeit\n\nMAX_ERR = 0.05\n\n\ndef generate_curve():\n return [\n tuple(float(random.randint(0, 2048)) for coord in range(2))\n for point in range(4)\n ]\n\n\ndef setup_curve_to_quadratic():\n return ge... | .venv\Lib\site-packages\fontTools\cu2qu\benchmark.py | benchmark.py | Python | 1,350 | 0.85 | 0.388889 | 0 | node-utils | 4 | 2023-08-15T13:48:51.556795 | MIT | false | bd8417ed22d5a0df65f4b000922eee45 |
import os\nimport argparse\nimport logging\nimport shutil\nimport multiprocessing as mp\nfrom contextlib import closing\nfrom functools import partial\n\nimport fontTools\nfrom .ufo import font_to_quadratic, fonts_to_quadratic\n\nufo_module = None\ntry:\n import ufoLib2 as ufo_module\nexcept ImportError:\n try:\n... | .venv\Lib\site-packages\fontTools\cu2qu\cli.py | cli.py | Python | 6,274 | 0.95 | 0.166667 | 0.011561 | vue-tools | 241 | 2024-05-29T06:45:27.351658 | MIT | false | ec1d88a86353cae27d25dec42ee6e000 |
MZ | .venv\Lib\site-packages\fontTools\cu2qu\cu2qu.cp313-win_amd64.pyd | cu2qu.cp313-win_amd64.pyd | Other | 99,840 | 0.75 | 0.026631 | 0.006868 | vue-tools | 367 | 2024-08-25T00:26:43.245075 | BSD-3-Clause | false | 9efb3560cafa45831e24946648a6e8e0 |
# cython: language_level=3\n# distutils: define_macros=CYTHON_TRACE_NOGIL=1\n\n# Copyright 2015 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# ... | .venv\Lib\site-packages\fontTools\cu2qu\cu2qu.py | cu2qu.py | Python | 16,970 | 0.95 | 0.112994 | 0.058166 | react-lib | 401 | 2023-07-20T21:49:53.280703 | GPL-3.0 | false | 52467f78b98f2f6cb70502728451ecf4 |
# Copyright 2016 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable ... | .venv\Lib\site-packages\fontTools\cu2qu\errors.py | errors.py | Python | 2,518 | 0.95 | 0.298701 | 0.216667 | node-utils | 776 | 2024-03-27T19:29:21.212914 | Apache-2.0 | false | 3a65843b2681212d0556bbec1be1de53 |
# Copyright 2015 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable ... | .venv\Lib\site-packages\fontTools\cu2qu\ufo.py | ufo.py | Python | 12,143 | 0.95 | 0.249284 | 0.106227 | vue-tools | 587 | 2023-11-05T17:03:41.450218 | Apache-2.0 | false | 0a0f222e638e2aff47fd9da95a4ff3ec |
# Copyright 2016 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable ... | .venv\Lib\site-packages\fontTools\cu2qu\__init__.py | __init__.py | Python | 633 | 0.95 | 0.066667 | 0.928571 | vue-tools | 776 | 2024-10-04T07:28:35.514202 | MIT | false | ad1d3e14b73e2f817c11b0519df016e6 |
import sys\nfrom .cli import _main as main\n\n\nif __name__ == "__main__":\n sys.exit(main())\n | .venv\Lib\site-packages\fontTools\cu2qu\__main__.py | __main__.py | Python | 98 | 0.65 | 0.166667 | 0 | react-lib | 446 | 2024-11-02T17:01:10.732985 | BSD-3-Clause | false | e8e2464656e4bfaf29f3151528f9c6b5 |
\n\n | .venv\Lib\site-packages\fontTools\cu2qu\__pycache__\benchmark.cpython-313.pyc | benchmark.cpython-313.pyc | Other | 2,792 | 0.95 | 0.028571 | 0 | vue-tools | 399 | 2023-10-12T11:03:13.944403 | Apache-2.0 | false | dda422cd410bc54147c41387d63869bf |
\n\n | .venv\Lib\site-packages\fontTools\cu2qu\__pycache__\cli.cpython-313.pyc | cli.cpython-313.pyc | Other | 8,693 | 0.95 | 0.022472 | 0 | vue-tools | 618 | 2024-06-02T16:24:29.874254 | GPL-3.0 | false | 3b92a10a01f9e73d89708d93c1997c1b |
\n\n | .venv\Lib\site-packages\fontTools\cu2qu\__pycache__\cu2qu.cpython-313.pyc | cu2qu.cpython-313.pyc | Other | 20,988 | 0.95 | 0.045326 | 0.003165 | awesome-app | 106 | 2024-12-08T17:01:54.614438 | GPL-3.0 | false | c647c17e355c6e2411b57b07c2b026ea |
\n\n | .venv\Lib\site-packages\fontTools\cu2qu\__pycache__\errors.cpython-313.pyc | errors.cpython-313.pyc | Other | 5,230 | 0.95 | 0.036364 | 0 | react-lib | 635 | 2024-08-07T01:47:28.509954 | MIT | false | cfded47231ecc94dac5cc956bcf96bfa |
\n\n | .venv\Lib\site-packages\fontTools\cu2qu\__pycache__\ufo.cpython-313.pyc | ufo.cpython-313.pyc | Other | 14,531 | 0.95 | 0.096552 | 0 | python-kit | 491 | 2024-09-06T21:36:59.870199 | MIT | false | 7e9f624138f9298c6176f057ab77f726 |
\n\n | .venv\Lib\site-packages\fontTools\cu2qu\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 219 | 0.7 | 0 | 0 | awesome-app | 191 | 2023-12-25T12:17:41.913549 | GPL-3.0 | false | 55fde3c6049cfbb8c1551b8dcdc2e0a1 |
\n\n | .venv\Lib\site-packages\fontTools\cu2qu\__pycache__\__main__.cpython-313.pyc | __main__.cpython-313.pyc | Other | 368 | 0.7 | 0 | 0 | react-lib | 650 | 2024-10-27T03:26:42.292223 | BSD-3-Clause | false | 2fb9f82be0029962b6b4d2cda788eddf |
"""Compute name information for a given location in user-space coordinates\nusing STAT data. This can be used to fill-in automatically the names of an\ninstance:\n\n.. code:: python\n\n instance = doc.instances[0]\n names = getStatNames(doc, instance.getFullUserLocation(doc))\n print(names.styleNames)\n"""\n\n... | .venv\Lib\site-packages\fontTools\designspaceLib\statNames.py | statNames.py | Python | 9,497 | 0.95 | 0.161538 | 0.109589 | node-utils | 186 | 2024-08-27T08:43:16.501223 | BSD-3-Clause | false | 0f041848d80098be79c9d932c192b990 |
import sys\nfrom fontTools.designspaceLib import main\n\n\nif __name__ == "__main__":\n sys.exit(main())\n | .venv\Lib\site-packages\fontTools\designspaceLib\__main__.py | __main__.py | Python | 109 | 0.85 | 0.166667 | 0 | awesome-app | 93 | 2024-06-15T16:40:39.521473 | BSD-3-Clause | false | 1c45c36104fdb25d665e0c5ddb08229c |
\n\n | .venv\Lib\site-packages\fontTools\designspaceLib\__pycache__\split.cpython-313.pyc | split.cpython-313.pyc | Other | 18,138 | 0.8 | 0.017045 | 0 | node-utils | 264 | 2025-05-06T04:07:28.750489 | MIT | false | a2ab8c1ff66cfed593367232a5479752 |
\n\n | .venv\Lib\site-packages\fontTools\designspaceLib\__pycache__\statNames.cpython-313.pyc | statNames.cpython-313.pyc | Other | 9,548 | 0.8 | 0.038095 | 0 | node-utils | 812 | 2025-04-26T15:05:38.746552 | GPL-3.0 | false | cdea2803a34a21f58c71717d8450931f |
\n\n | .venv\Lib\site-packages\fontTools\designspaceLib\__pycache__\types.cpython-313.pyc | types.cpython-313.pyc | Other | 6,540 | 0.8 | 0.04878 | 0 | node-utils | 547 | 2025-06-28T21:39:04.855617 | MIT | false | 1610fcb8a18647419ad80029e5856a49 |
\n\n | .venv\Lib\site-packages\fontTools\designspaceLib\__pycache__\__main__.cpython-313.pyc | __main__.cpython-313.pyc | Other | 386 | 0.7 | 0 | 0 | awesome-app | 840 | 2023-09-19T02:20:41.749898 | Apache-2.0 | false | d16f99d8e70f0245f1dd8273ff7a4e89 |
"""Extend the Python codecs module with a few encodings that are used in OpenType (name table)\nbut missing from Python. See https://github.com/fonttools/fonttools/issues/236 for details."""\n\nimport codecs\nimport encodings\n\n\nclass ExtendCodec(codecs.Codec):\n def __init__(self, name, base_encoding, mapping):\... | .venv\Lib\site-packages\fontTools\encodings\codecs.py | codecs.py | Python | 4,856 | 0.95 | 0.192593 | 0.083333 | react-lib | 445 | 2024-11-23T23:51:49.047474 | Apache-2.0 | false | 11a360eb864db370ff76053f88bbe9cd |
MacRoman = [\n "NUL",\n "Eth",\n "eth",\n "Lslash",\n "lslash",\n "Scaron",\n "scaron",\n "Yacute",\n "yacute",\n "HT",\n "LF",\n "Thorn",\n "thorn",\n "CR",\n "Zcaron",\n "zcaron",\n "DLE",\n "DC1",\n "DC2",\n "DC3",\n "DC4",\n "onehalf",\n "onequart... | .venv\Lib\site-packages\fontTools\encodings\MacRoman.py | MacRoman.py | Python | 3,834 | 0.7 | 0 | 0 | react-lib | 463 | 2025-02-07T15:02:50.103076 | MIT | false | 4ed073560a6c0653fea4a0761d2d7d8b |
StandardEncoding = [\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notdef",\n ".notd... | .venv\Lib\site-packages\fontTools\encodings\StandardEncoding.py | StandardEncoding.py | Python | 3,839 | 0.7 | 0 | 0 | awesome-app | 186 | 2024-06-16T01:14:54.319701 | GPL-3.0 | false | db7fd770b7debe2fa2acbbdfef048a86 |
"""Empty __init__.py file to signal Python this directory is a package."""\n | .venv\Lib\site-packages\fontTools\encodings\__init__.py | __init__.py | Python | 76 | 0.5 | 0 | 0 | vue-tools | 324 | 2024-08-06T11:17:19.507205 | GPL-3.0 | false | 6d412be7408e8f32685229b58fb23583 |
\n\n | .venv\Lib\site-packages\fontTools\encodings\__pycache__\codecs.cpython-313.pyc | codecs.cpython-313.pyc | Other | 5,842 | 0.95 | 0.019608 | 0 | react-lib | 290 | 2024-05-31T21:08:33.931918 | BSD-3-Clause | false | be3f3e1e50ca53ced4de601864a41fa1 |
\n\n | .venv\Lib\site-packages\fontTools\encodings\__pycache__\MacRoman.cpython-313.pyc | MacRoman.cpython-313.pyc | Other | 2,247 | 0.7 | 0 | 0 | react-lib | 286 | 2024-11-28T07:00:44.318905 | BSD-3-Clause | false | e72ce105bccf57481c668f17cdf4c55b |
\n\n | .venv\Lib\site-packages\fontTools\encodings\__pycache__\StandardEncoding.cpython-313.pyc | StandardEncoding.cpython-313.pyc | Other | 1,837 | 0.7 | 0 | 0 | python-kit | 324 | 2025-04-05T13:24:05.917648 | Apache-2.0 | false | 030568884286e3beb371842acc33a5bb |
\n\n | .venv\Lib\site-packages\fontTools\encodings\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 277 | 0.7 | 0 | 0 | react-lib | 75 | 2024-09-05T08:16:37.541196 | GPL-3.0 | false | 4a671bfe61a90d5b1a7f411c0e278e27 |
class FeatureLibError(Exception):\n def __init__(self, message, location=None):\n Exception.__init__(self, message)\n self.location = location\n\n def __str__(self):\n message = Exception.__str__(self)\n if self.location:\n return f"{self.location}: {message}"\n else:... | .venv\Lib\site-packages\fontTools\feaLib\error.py | error.py | Python | 670 | 0.85 | 0.272727 | 0 | python-kit | 832 | 2024-03-02T06:55:53.654110 | GPL-3.0 | false | 2e1701be1b4de4cfa6b9627455e2a83e |
MZ | .venv\Lib\site-packages\fontTools\feaLib\lexer.cp313-win_amd64.pyd | lexer.cp313-win_amd64.pyd | Other | 118,272 | 0.75 | 0.014317 | 0.012291 | python-kit | 547 | 2024-04-05T18:18:41.228670 | Apache-2.0 | false | 414aef07671d3cef7e32a9d47702f151 |
from fontTools.feaLib.error import FeatureLibError, IncludedFeaNotFound\nfrom fontTools.feaLib.location import FeatureLibLocation\nimport re\nimport os\n\ntry:\n import cython\nexcept ImportError:\n # if cython not installed, use mock module with no-op decorators and types\n from fontTools.misc import cython\n... | .venv\Lib\site-packages\fontTools\feaLib\lexer.py | lexer.py | Python | 11,408 | 0.95 | 0.229965 | 0.035573 | awesome-app | 796 | 2024-07-27T16:21:15.279843 | BSD-3-Clause | false | 89638bad677e0c287779a876597ec728 |
from typing import NamedTuple\n\n\nclass FeatureLibLocation(NamedTuple):\n """A location in a feature file"""\n\n file: str\n line: int\n column: int\n\n def __str__(self):\n return f"{self.file}:{self.line}:{self.column}"\n | .venv\Lib\site-packages\fontTools\feaLib\location.py | location.py | Python | 246 | 0.85 | 0.166667 | 0 | react-lib | 389 | 2025-04-25T19:06:52.979036 | Apache-2.0 | false | 071d3ddd88fb3e6e1638b177110fa313 |
from typing import NamedTuple\n\nLOOKUP_DEBUG_INFO_KEY = "com.github.fonttools.feaLib"\nLOOKUP_DEBUG_ENV_VAR = "FONTTOOLS_LOOKUP_DEBUGGING"\n\n\nclass LookupDebugInfo(NamedTuple):\n """Information about where a lookup came from, to be embedded in a font"""\n\n location: str\n name: str\n feature: list\n | .venv\Lib\site-packages\fontTools\feaLib\lookupDebugInfo.py | lookupDebugInfo.py | Python | 316 | 0.85 | 0.083333 | 0 | react-lib | 291 | 2023-09-12T06:32:22.165164 | MIT | false | 8ead058843fe6ce0c5c5ef7be8b02c21 |
from fontTools.varLib.models import VariationModel, normalizeValue, piecewiseLinearMap\n\n\ndef Location(loc):\n return tuple(sorted(loc.items()))\n\n\nclass VariableScalar:\n """A scalar with different values at different points in the designspace."""\n\n def __init__(self, location_value={}):\n self.v... | .venv\Lib\site-packages\fontTools\feaLib\variableScalar.py | variableScalar.py | Python | 4,182 | 0.95 | 0.336283 | 0.010638 | awesome-app | 576 | 2024-05-17T17:20:21.998990 | GPL-3.0 | false | b3a56db78e3be6a0278d2341fc43ea7b |
"""fontTools.feaLib -- a package for dealing with OpenType feature files."""\n\n# The structure of OpenType feature files is defined here:\n# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html\n | .venv\Lib\site-packages\fontTools\feaLib\__init__.py | __init__.py | Python | 217 | 0.8 | 0.25 | 0.666667 | react-lib | 901 | 2025-04-23T15:14:52.076426 | BSD-3-Clause | false | 9f6743934160552f78b76e92b3701742 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.