qools
Utility tools from Qarium
Installation
pip install qools
Quick Start
from qools import funcutils
@funcutils.called_once
def init_connection():
print("Connecting...")
return "connected"
# First call — executes the function
result = init_connection() # Connecting...
# Subsequent calls — return cached result without execution
result = init_connection() # (no output, returns "connected")
API
funcutils
Submodule-style import: from qools import funcutils.
| Name | Description |
|---|---|
called_once(f) |
Thread-safe decorator. Ensures the function is called only once; subsequent calls return the cached result. |
DEFAULT_TIMEOUT |
Constant 5 |
DEFAULT_DELAY |
Constant 0.5 |
Documentation
Full documentation: https://qarium.github.io/qools/
Metadata
Release files for qools 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qools-1.0.0.tar.gz | 10.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qools-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / qools-1.0.0.tar.gz
| Download URL | qools-1.0.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc53113b58bbf671ed1f15a4af5c2c181a8e8585adf38788adc2a993c1be491d
|
|
BLAKE2b-256 checksum How to use checksums |
f4b4b3d520bedb16e246eda554021a600695d06b5d9d2dec10b9553d7b5cfcf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / qools-1.0.0-py3-none-any.whl
| Download URL | qools-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d3e31f29a643fcae8d9de123e274a3817d5ff4be04310fede927536797f318c
|
|
BLAKE2b-256 checksum How to use checksums |
797f480f7d72a816f116f2963ce4874f1251284cd8b14d8c66e55d4c169d4c36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for qools 1.0.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.