All Projects → eric-wieser → Numpy_ringbuffer

eric-wieser / Numpy_ringbuffer

Licence: mit
Ring-buffer implementation that thinly wraps a numpy array

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Numpy ringbuffer

Numpycpp
A c++ header library for matrix operation inspired Numpy Scipy, MATLAB only using Eigen.
Stars: ✭ 30 (-42.31%)
Mutual labels:  numpy
Abu
阿布量化交易系统(股票,期权,期货,比特币,机器学习) 基于python的开源量化交易,量化投资架构
Stars: ✭ 8,589 (+16417.31%)
Mutual labels:  numpy
Ncar Python Tutorial
Numerical & Scientific Computing with Python Tutorial
Stars: ✭ 50 (-3.85%)
Mutual labels:  numpy
Highdicom
High-level DICOM abstractions for the Python programming language
Stars: ✭ 32 (-38.46%)
Mutual labels:  numpy
Pycall.jl
Package to call Python functions from the Julia language
Stars: ✭ 985 (+1794.23%)
Mutual labels:  numpy
Machine Learning
notebooks with example for machine learning examples
Stars: ✭ 45 (-13.46%)
Mutual labels:  numpy
Drlkit
A High Level Python Deep Reinforcement Learning library. Great for beginners, prototyping and quickly comparing algorithms
Stars: ✭ 29 (-44.23%)
Mutual labels:  numpy
Awesome Ebooks
收录开源的经典技术书籍 PDF 文件及相关网站,持续更新中...
Stars: ✭ 51 (-1.92%)
Mutual labels:  numpy
Lambda Packs
Precompiled packages for AWS Lambda
Stars: ✭ 997 (+1817.31%)
Mutual labels:  numpy
Eulerian Remote Heartrate Detection
Remote heart rate detection through Eulerian magnification of face videos
Stars: ✭ 48 (-7.69%)
Mutual labels:  numpy
Mlcourse.ai
Open Machine Learning Course
Stars: ✭ 7,963 (+15213.46%)
Mutual labels:  numpy
Tensorly
TensorLy: Tensor Learning in Python.
Stars: ✭ 977 (+1778.85%)
Mutual labels:  numpy
Data Science Complete Tutorial
For extensive instructor led learning
Stars: ✭ 1,027 (+1875%)
Mutual labels:  numpy
Model Free Episodic Control
This is the implementation of paper Model Free Episodic Control
Stars: ✭ 31 (-40.38%)
Mutual labels:  numpy
Numerical Linear Algebra
Free online textbook of Jupyter notebooks for fast.ai Computational Linear Algebra course
Stars: ✭ 8,263 (+15790.38%)
Mutual labels:  numpy
Machine Learning Alpine
Alpine Container for Machine Learning
Stars: ✭ 30 (-42.31%)
Mutual labels:  numpy
Wynullview
An easy way to use for view's empty state 一行代码显示空视图,高度自定义
Stars: ✭ 44 (-15.38%)
Mutual labels:  numpy
Gait Recognition
Distance Recognition of a Human Being with Deep CNN's
Stars: ✭ 51 (-1.92%)
Mutual labels:  numpy
Numpy Convnet
A small and pure Numpy Convolutional Neural Network library.
Stars: ✭ 50 (-3.85%)
Mutual labels:  numpy
Iml
Курс "Введение в машинное обучение" (ВМК, МГУ имени М.В. Ломоносова)
Stars: ✭ 46 (-11.54%)
Mutual labels:  numpy

numpy_ringbuffer

Build Status codecov

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))

For example:

import numpy as np
from numpy_ringbuffer import RingBuffer

r = RingBuffer(capacity=4, dtype=np.bool)
r.append(True)
r.appendleft(False)
print(np.array(r))  # array([False, True])
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].