svn commit: r553225 - in head/devel: . py-fastjsonschema
Danilo G. Baio
dbaio at FreeBSD.org
Sat Oct 24 20:05:45 UTC 2020
Author: dbaio
Date: Sat Oct 24 20:05:44 2020
New Revision: 553225
URL: https://svnweb.freebsd.org/changeset/ports/553225
Log:
Add devel/py-fastjsonschema: Fastest Python implementation of JSON schema
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.
WWW: https://horejsek.github.io/python-fastjsonschema/
Added:
head/devel/py-fastjsonschema/
head/devel/py-fastjsonschema/Makefile (contents, props changed)
head/devel/py-fastjsonschema/distinfo (contents, props changed)
head/devel/py-fastjsonschema/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Oct 24 20:03:48 2020 (r553224)
+++ head/devel/Makefile Sat Oct 24 20:05:44 2020 (r553225)
@@ -4388,6 +4388,7 @@
SUBDIR += py-fasteners
SUBDIR += py-fastentrypoints
SUBDIR += py-fastimport
+ SUBDIR += py-fastjsonschema
SUBDIR += py-fastnumbers
SUBDIR += py-fastprogress
SUBDIR += py-fbprophet
Added: head/devel/py-fastjsonschema/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-fastjsonschema/Makefile Sat Oct 24 20:05:44 2020 (r553225)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= fastjsonschema
+DISTVERSION= 2.14.5
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dbaio at FreeBSD.org
+COMMENT= Fastest Python implementation of JSON schema
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/devel/py-fastjsonschema/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-fastjsonschema/distinfo Sat Oct 24 20:05:44 2020 (r553225)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1603567270
+SHA256 (fastjsonschema-2.14.5.tar.gz) = afbc235655f06356e46caa80190512e4d9222abfaca856041be5a74c665fa094
+SIZE (fastjsonschema-2.14.5.tar.gz) = 17687
Added: head/devel/py-fastjsonschema/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-fastjsonschema/pkg-descr Sat Oct 24 20:05:44 2020 (r553225)
@@ -0,0 +1,15 @@
+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.
+
+WWW: https://horejsek.github.io/python-fastjsonschema/
More information about the svn-ports-all
mailing list