A Python implementation of a PCM ring buffer
Project description
pypcmringbuffer
概要
python用PCMリングバッファモジュールです。
インストールの方法
pip install pypcmringbuffer
使い方
リングキュークラス
from pypcmringbuffer import PyPcmRingQueue
# 最大10要素をキューイングできるキューインスタンスを作成
queue = PyPcmRingQueue(10)
queue.enqueue([0,1,2,3])
print(len(queue)) # 4
pcm = queue.dequeue(3)
print(pcm) # [0, 1, 2]
print(len(queue)) # 1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypcmringbuffer-0.0.3.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypcmringbuffer-0.0.3.tar.gz.
File metadata
- Download URL: pypcmringbuffer-0.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
774fa1fffdae4bc8403fb6207a0ace6f727d7cdf63af018d2e810be283ae4c4b
|
|
| MD5 |
3c180a0e84b74e7a3a835aa4b213068a
|
|
| BLAKE2b-256 |
a41fc858696ace5ed62d4de2e91304a05e016a87f324c263c294ca382981ef85
|
File details
Details for the file pypcmringbuffer-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pypcmringbuffer-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3af15ff54a1740967e263dad67008bcafc1072a9397232d55d60227a41d27cb
|
|
| MD5 |
1a2c903a4f8e29e5944e52314b5c666d
|
|
| BLAKE2b-256 |
9cccf7b2ed093d76c38daa1424b11d8cd78f74e3350b4b2e64510d8dfa10e996
|