pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-cykhash



Module Name:    pkgsrc
Committed By:   bacon
Date:           Wed Jan 10 14:22:24 UTC 2024

Added Files:
        pkgsrc/devel/py-cykhash: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-cykhash/DESCR \
    pkgsrc/devel/py-cykhash/Makefile pkgsrc/devel/py-cykhash/PLIST \
    pkgsrc/devel/py-cykhash/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-cykhash/DESCR
diff -u /dev/null pkgsrc/devel/py-cykhash/DESCR:1.1
--- /dev/null   Wed Jan 10 14:22:24 2024
+++ pkgsrc/devel/py-cykhash/DESCR       Wed Jan 10 14:22:24 2024
@@ -0,0 +1,11 @@
+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.
Index: pkgsrc/devel/py-cykhash/Makefile
diff -u /dev/null pkgsrc/devel/py-cykhash/Makefile:1.1
--- /dev/null   Wed Jan 10 14:22:24 2024
+++ pkgsrc/devel/py-cykhash/Makefile    Wed Jan 10 14:22:24 2024
@@ -0,0 +1,15 @@
+# $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@localhost
+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"
Index: pkgsrc/devel/py-cykhash/PLIST
diff -u /dev/null pkgsrc/devel/py-cykhash/PLIST:1.1
--- /dev/null   Wed Jan 10 14:22:24 2024
+++ pkgsrc/devel/py-cykhash/PLIST       Wed Jan 10 14:22:24 2024
@@ -0,0 +1,43 @@
+@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
Index: pkgsrc/devel/py-cykhash/distinfo
diff -u /dev/null pkgsrc/devel/py-cykhash/distinfo:1.1
--- /dev/null   Wed Jan 10 14:22:24 2024
+++ pkgsrc/devel/py-cykhash/distinfo    Wed Jan 10 14:22:24 2024
@@ -0,0 +1,5 @@
+$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



Home | Main Index | Thread Index | Old Index