Port details on branch 2022Q2 |
- py-fastjsonschema Fastest Python implementation of JSON schema
- 2.19.1 devel =0 2.19.1Version of this port present on the latest quarterly branch.
- Maintainer: dbaio@FreeBSD.org
- Port Added: 2020-10-24 20:05:50
- Last Update: 2024-02-12 17:15:32
- Commit Hash: bc55ffd
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://horejsek.github.io/python-fastjsonschema/
- Description:
- fastjsonschema implements validation of JSON documents by JSON schema. The
library implements JSON schema drafts 04, 06 and 07. The main purpose is to
have a really fast implementation. See some numbers:
- Probably most popular jsonschema can take up to 5 seconds for valid inputs
and 1.2 seconds for invalid inputs.
- Second most popular json-spec is even worse with up to 7.2 and 1.7 seconds.
- Last validictory, now deprecated, is much better with 370 or 23 milliseconds,
but it does not follow all standards and it can be still slow for some
purposes.
With this library you can gain big improvements as fastjsonschema takes only
about 25 milliseconds for valid inputs and 2 milliseconds for invalid ones.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}fastjsonschema>0:devel/py-fastjsonschema@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-fastjsonschema/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-fastjsonschema
- pkg install py39-fastjsonschema
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-fastjsonschema listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-fastjsonschema
- Package flavors (<flavor>: <package>)
- py39: py39-fastjsonschema
- distinfo:
- TIMESTAMP = 1707757999
SHA256 (fastjsonschema-2.19.1.tar.gz) = e3126a94bdc4623d3de4485f8d468a12f02a67921315ddc87836d6e456dc789d
SIZE (fastjsonschema-2.19.1.tar.gz) = 372732
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-nbformat
- devel/py-poetry
- devel/py-validate-pyproject
Configuration Options:
- No options to configure
- Options name:
- devel_py-fastjsonschema
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|