Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> python >> python3-cyarray
nabia  ] [  aramo  ]
[ 源代码: cyarray  ]

软件包: python3-cyarray (1.1-4build1)

Fast, typed, resizable, Cython array

The cyarray package provides a fast, typed, re-sizable, Cython array.

It currently provides the following arrays: ``IntArray, UIntArray, LongArray, FloatArray, DoubleArray``.

All arrays provide for the following operations:

 - access by indexing.
 - access through get/set function.
 - resizing the array.
 - appending values at the end of the array.
 - reserving space for future appends.
 - access to internal data through a numpy array.

If you are writing Cython code this is a convenient array to use as it exposes the raw underlying pointer to the data. For example if you use a ``FloatArray`` and access its ``data`` attribute it will be a ``float*``.

Each array also provides an interface to its data through a numpy array. This is done through the ``get_npy_array`` function. The returned numpy array can be used just like any other numpy array but for the following restrictions:

 - the array may not be resized.
 - references of this array should not be kept.
 - slices of this array may not be made.

The numpy array may however be copied and used in any manner.

其他与 python3-cyarray 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: cython3
    C-Extensions for Python 3
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
    dep: libc6 (>= 2.17) [arm64, ppc64el]
    dep: libc6 (>= 2.4) [armhf]
  • dep: libgcc-s1 (>= 3.5) [armhf]
    GCC support library
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (<< 3.11)
    dep: python3 (>= 3.10~)
  • dep: python3-mako
    fast and lightweight templating for the Python 3 platform
  • dep: python3-numpy (>= 1:1.20.0)
    Fast array facility to the Python 3 language
  • dep: python3-numpy-abi9
    本虚包由这些包填实: python3-numpy
  • dep: python3-pkg-resources
    Package Discovery and Resource Access using pkg_resources

下载 python3-cyarray

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 104.4 kB461 kB [文件列表]
arm64 102.4 kB450 kB [文件列表]
armhf 99.6 kB331 kB [文件列表]
ppc64el 128.7 kB643 kB [文件列表]