Skip to main content

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

Release files for pypcmringbuffer 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypcmringbuffer 0.0.4
File Size Uploaded
pypcmringbuffer-0.0.4.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pypcmringbuffer 0.0.4
File Interpreter ABI Platform
pypcmringbuffer-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / pypcmringbuffer-0.0.4.tar.gz

Download URL pypcmringbuffer-0.0.4.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d869f3d117c0e52c8bf6038894ed4870a4ef71d1be309ebfd10bfcc1c4aea8db
BLAKE2b-256 checksum
How to use checksums
8b7a44614b674871eda19525669a3931a3c75cbb78a7dd4c448db130ded0e1cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / pypcmringbuffer-0.0.4-py3-none-any.whl

Download URL pypcmringbuffer-0.0.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00477a6f953f5566f21a0f3eee65108be7ba76f16b03feb110ae7c33413dcf2d
BLAKE2b-256 checksum
How to use checksums
2284b5dd13a3db5f06ca4166e1990e545f43a20eaa4c5f577f80be0540b0e527
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page