1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

math/py-pyprobables: Add py-pyprobables 0.6.0

pyprobables is a pure-python library for probabilistic data structures. The goal
is to provide the developer with a pure-python implementation of common
probabilistic data-structures to use in their work.

To achieve better raw performance, it is recommended supplying an alternative
hashing algorithm that has been compiled in C. This could include using the MD5
and SHA512 algorithms provided or installing a third party package and writing
your own hashing strategy. Some options include the murmur hash mmh3 or those
from the pyhash library. Each data object in pyprobables makes it easy to pass
in a custom hashing function.
This commit is contained in:
Po-Chuan Hsieh 2024-02-21 22:13:03 +08:00
parent 21b9950f5e
commit eeb13706e3
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 37 additions and 0 deletions

View File

@ -1035,6 +1035,7 @@
SUBDIR += py-pynndescent
SUBDIR += py-pyodeint
SUBDIR += py-pyodesys
SUBDIR += py-pyprobables
SUBDIR += py-pyreadr
SUBDIR += py-pyrr
SUBDIR += py-pysmt

View File

@ -0,0 +1,23 @@
PORTNAME= pyprobables
PORTVERSION= 0.6.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Probabilistic data structures in python
WWW= https://pyprobables.readthedocs.io/en/latest/ \
https://github.com/barrust/pyprobables
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1708448834
SHA256 (pyprobables-0.6.0.tar.gz) = a4e72bdb4d3513121b33377728c9eafd2ae8495d5201d6a90abc3d52d9a17901
SIZE (pyprobables-0.6.0.tar.gz) = 33638

View File

@ -0,0 +1,10 @@
pyprobables is a pure-python library for probabilistic data structures. The goal
is to provide the developer with a pure-python implementation of common
probabilistic data-structures to use in their work.
To achieve better raw performance, it is recommended supplying an alternative
hashing algorithm that has been compiled in C. This could include using the MD5
and SHA512 algorithms provided or installing a third party package and writing
your own hashing strategy. Some options include the murmur hash mmh3 or those
from the pyhash library. Each data object in pyprobables makes it easy to pass
in a custom hashing function.