CUCKOO LIBRARY
Usage
Requirements: Python 3.10.0 or newer, pytest
Installation
uv add cuckoo-library
# or
pip install cuckoo-library
Example
from cuckoo_library.model.communication import local_task_compute_time
from cuckoo_library.model.transmission import distance_2d
compute_time = local_task_compute_time(100, 10)
distance = distance_2d(0, 0, 3, 4)
print(compute_time) # 10.0
print(distance) # 5.0
Build
Create a wheel package in dist/:
python -m pip wheel . --no-deps --wheel-dir dist #Recommendation
#or
python -m build
Testing
pytest
#or
python -m pytest tests -q
Metadata
Release files for cuckoo-library 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 | |
|---|---|---|---|
| cuckoo_library-1.0.0.tar.gz | 17.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cuckoo_library-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.1 kB
Release files / cuckoo_library-1.0.0.tar.gz
| Download URL | cuckoo_library-1.0.0.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac02cdbdd7d6b16d36c7628016362e5c9fc0a786b0cc38b86f2b0941680e89d7
|
|
BLAKE2b-256 checksum How to use checksums |
dd5e9d975c7f5853f5097c812d261f0571f6b264674eb61a8f1ad491ae1d694c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / cuckoo_library-1.0.0-py3-none-any.whl
| Download URL | cuckoo_library-1.0.0-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ec30eeb5d82b9ad1105a83ab813978009c2aa2822534731315fb4eb2f52e319
|
|
BLAKE2b-256 checksum How to use checksums |
6e0d72bb57beff8e5584ad509558defe07e53253c5cc55e70f2a067404135be2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|