About Anaconda Help Download Anaconda

conda-forge / packages / numpy_ringbuffer 0.2.2

Ring buffer implementation for numpy

copied from cf-staging / numpy_ringbuffer

Installers

  • noarch v0.2.2

conda install

To install this package run one of the following:
conda install conda-forge::numpy_ringbuffer

Description

Ring (aka circular) buffers backed by a numpy array, supporting:

  • Operations from collections.deque
    • b.append(val)
    • b.appendleft(val)
    • b.extend(val)
    • b.extendleft(val)
    • b.pop(val)
    • b.popleft(val)
  • The collections.Sequence protocol (unoptimized)
  • C-side unwrapping into an array with np.array(b)
  • Arbitrary element dtypes, including extra dimensions like RingBuffer(N, dtype=(int, 3))

© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy