added gitea activity for fun

This commit is contained in:
Joren de Graaf
2026-10-03 17:11:31 +02:00
parent 184e9d18f3
commit c0eda95f26
78 changed files with 11461 additions and 8 deletions
@@ -0,0 +1,6 @@
# flake8: noqa
from . import basic_int
from . import basic_str
from . import memview_int
from . import numpy_int
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,17 @@
from ... import _cy
def _in_scalar(x):
return x
_out_scalar = _in_scalar
def _in_collection(cells):
it = list(cells)
return _cy.iter_to_mv(it)
_out_collection = list
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,14 @@
from ... import _cy
_in_scalar = _cy.str_to_int
_out_scalar = _cy.int_to_str
def _in_collection(cells):
it = [_cy.str_to_int(h) for h in cells]
return _cy.iter_to_mv(it)
def _out_collection(mv):
return list(_cy.int_to_str(h) for h in mv)
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,8 @@
def _id(x):
return x
_in_scalar = _id
_out_scalar = _id
_in_collection = _id
_out_collection = _id
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,15 @@
def _in_scalar(x):
return x
_out_scalar = _in_scalar
def _in_collection(x):
import numpy as np
# array is copied only if dtype does not match
# `list`s should work, but not `set`s of integers
return np.asarray(x, dtype='uint64')
_out_collection = _in_collection