Skip to main content

ADK

A Develop Kit, for easy coding.

Develop Tools:

RPC

  • Console Commands: adk/adk.d config/start, details see "adk -h" for help
  • RPC config: adk.set_rpc_config, adk.get_rpc_config, adk.rpc_connect_args
  • adk.TaskManager, implemented methods ['set', 'get', 'clear', 'get_work_que', 'get_res_que', 'run']
  • adk.start_rpc_server, base class is multiprocessing.managers.BaseManager
  • adk.start_rpc_worker, get task from queue(get_work_que()), put result to queue(get_res_que())
  • adk.rpc_client, get rpc client. ['set', 'get', 'clear'] for cache data, 'run' for submit task to server
  • adk.clt, a rpc client instance like above, for convenience

Utils

  • adk.TaskQue, Task Queue with key-value mapping, priority, speed limit, timeout and callbacks.
  • adk.PriQue, Priority Queue with mutex lock and speed limit.
  • adk.PriDict, Priority Dict with mutex lock and speed limit.

Data types:

Priority containers

extension of heap, main methods are: push, pop, peek

  • adk.PriorityQueue, Priority Queue, push(data, priority)
  • adk.SimplePriorityQueue, Priority Queue, push(priority)
  • adk.PriorityDict, Priority Dict, push(key, data, priority)
  • adk.SimplePriorityDict, Priority Dict, push(key, priority)

Metadata

Release files for adk 0.0.5

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

Source distribution (sdist)

Source distribution for adk 0.0.5
File Size Uploaded
adk-0.0.5.tar.gz 17.6 kB Details

Built distribution (wheel)

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

Total release size: 38.0 kB

Release files / adk-0.0.5.tar.gz

Download URL adk-0.0.5.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2ebee524e50d6130e292bca063ac7965436085945cba70ac6f42b976352d4eba
BLAKE2b-256 checksum
How to use checksums
474e9a0aa6b08a3847d8a34b3efc690e10f81f332acd5b8ab2575e44b099bf2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Release files / adk-0.0.5-py3-none-any.whl

Download URL adk-0.0.5-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9b69ca8e43a4336e8bb361062c7121e72b0883821653169867b29b80abb17fc
BLAKE2b-256 checksum
How to use checksums
d0a3ce50cb03b9c24f97c03481772698448f40c9a7f85a7febc046d242b2a674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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