Skip to main content

# CustomQueue

  • CustomeQueue 继承自queue.Queue

  • 只是新增一个push方法 - push(new_item) - 当该队列满的时候,会将队列中最先入队列的元素old_item取出来,会将new_item放入队列 - 然后返回old_item - 当队列不满的时候,直接将new_item入队列,然后返回None - 理论上这个方法不阻塞,也不会抛出异常

Metadata

Release files for push-queue 1.1.0

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

Source distribution (sdist)

Source distribution for push-queue 1.1.0
File Size Uploaded Provenance Actions
push_queue-1.1.0.tar.gz 1.9 kB Without provenance Details for push_queue-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for push-queue 1.1.0
File Interpreter ABI Platform Actions
push_queue-1.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for push_queue-1.1.0-py2.py3-none-any.whl

Total release size: 4.4 kB

Release files / push_queue-1.1.0.tar.gz

Download URL push_queue-1.1.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8aa97a08f4c8482a5686a40f0eea2cd3ac3d09d6197aba1d49cf6e9fb0d8c49c
BLAKE2b-256 checksum
How to use checksums
830dec3f28166e8fd20185ad9ae4be836d092adead1a638bb734aae0f852d8e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release files / push_queue-1.1.0-py2.py3-none-any.whl

Download URL push_queue-1.1.0-py2.py3-none-any.whl
Size 2.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b23f3ef71e5315576ac06f6b40b6ef74ee6d4214ac060c61710e4071f72d7ec9
BLAKE2b-256 checksum
How to use checksums
5c50b7249bdf659a3e6c27b64aad3497c6f7a5a17496164084dac017de2e15e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for push-queue 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

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