Wed Jan 10 14:22:24 2024 UTC (138d)
devel/py-cykhash: Cython equivalent to khash-sets/maps

Cykhash is a cython equivalent to khash-sets/maps, efficient
implementation of isin and unique

Benefits:
    Brings functionality of khash to Python and Cython and can be used
    seamlessly in numpy or pandas.
    Numpy's world is lacking the concept of a (hash-)set. This
    shortcoming is fixed and efficient (memory- and speedwise compared
    to pandas') unique and isin are implemented.
    Python-set/dict have big memory-footprint. For some datatypes the
    overhead can be reduced by using khash by factor 4-8.


(bacon)
diff -r0 -r1.1 pkgsrc/devel/py-cykhash/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-cykhash/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-cykhash/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-cykhash/distinfo

File Added: pkgsrc/devel/py-cykhash/DESCR
Cykhash is a cython equivalent to khash-sets/maps, efficient
implementation of isin and unique

Benefits:
    Brings functionality of khash to Python and Cython and can be used
    seamlessly in numpy or pandas.
    Numpy's world is lacking the concept of a (hash-)set. This
    shortcoming is fixed and efficient (memory- and speedwise compared
    to pandas') unique and isin are implemented.
    Python-set/dict have big memory-footprint. For some datatypes the
    overhead can be reduced by using khash by factor 4-8.

File Added: pkgsrc/devel/py-cykhash/Makefile
# $NetBSD: Makefile,v 1.1 2024/01/10 14:22:24 bacon Exp $

DISTNAME=	cykhash-2.0.1
PKGNAME=	${PYPKGPREFIX}-cykhash-2.0.1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_PYPI:=c/cykhash/}

OWNER=		bacon@NetBSD.org
HOMEPAGE=	https://pypi.python.org/project/cykhash/
COMMENT=	Cython equivalent to khash-sets/maps
LICENSE=	mit

.include "../../lang/python/wheel.mk"
.include "../../devel/py-cython/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/py-cykhash/PLIST
@comment $NetBSD: PLIST,v 1.1 2024/01/10 14:22:24 bacon Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/cykhash/__init__.py
${PYSITELIB}/cykhash/__init__.pyc
${PYSITELIB}/cykhash/__init__.pyo
${PYSITELIB}/cykhash/common.pxi
${PYSITELIB}/cykhash/compat.py
${PYSITELIB}/cykhash/compat.pyc
${PYSITELIB}/cykhash/compat.pyo
${PYSITELIB}/cykhash/floatdef.pxd
${PYSITELIB}/cykhash/hash_functions.pxi
${PYSITELIB}/cykhash/khash.pxi
${PYSITELIB}/cykhash/khashmaps.pxd
${PYSITELIB}/cykhash/khashmaps.pyx
${PYSITELIB}/cykhash/khashmaps.so
${PYSITELIB}/cykhash/khashsets.pxd
${PYSITELIB}/cykhash/khashsets.pyx
${PYSITELIB}/cykhash/khashsets.so
${PYSITELIB}/cykhash/maps/map_header.pxi
${PYSITELIB}/cykhash/maps/map_header.pxi.in
${PYSITELIB}/cykhash/maps/map_impl.pxi
${PYSITELIB}/cykhash/maps/map_impl.pxi.in
${PYSITELIB}/cykhash/maps/map_init.pxi
${PYSITELIB}/cykhash/maps/map_init.pxi.in
${PYSITELIB}/cykhash/memory.pxi
${PYSITELIB}/cykhash/murmurhash.pxi
${PYSITELIB}/cykhash/sets/set_header.pxi
${PYSITELIB}/cykhash/sets/set_header.pxi.in
${PYSITELIB}/cykhash/sets/set_impl.pxi
${PYSITELIB}/cykhash/sets/set_impl.pxi.in
${PYSITELIB}/cykhash/sets/set_init.pxi
${PYSITELIB}/cykhash/sets/set_init.pxi.in
${PYSITELIB}/cykhash/unique.pxd
${PYSITELIB}/cykhash/unique.pyx
${PYSITELIB}/cykhash/unique.so
${PYSITELIB}/cykhash/unique/unique_impl.pxi
${PYSITELIB}/cykhash/unique/unique_impl.pxi.in
${PYSITELIB}/cykhash/utils.pyx
${PYSITELIB}/cykhash/utils.so

File Added: pkgsrc/devel/py-cykhash/distinfo
$NetBSD: distinfo,v 1.1 2024/01/10 14:22:24 bacon Exp $

BLAKE2s (cykhash-2.0.1.tar.gz) = 7cebf2ab0c483fe1d02b6b452a7e9fd6ef1614a777166a6a00fe9af03d43aad4
SHA512 (cykhash-2.0.1.tar.gz) = 259fe46af74bf230b6269b7cc4b9adff20512b1a38539079188e326056f8689e6cc61753541d0e71dfd59f038149b52ecf5fc9dc64adcf846d6e32651c5b8692
Size (cykhash-2.0.1.tar.gz) = 44895 bytes