abstraction for concurrency and multithreading
Project description
replicator
description
This is a personal package used to hold code patterns used for multithreading and multiprocessing.
usage
pip install replicator
data_frame: pd.DataFrame = pd.DataFrame(
columns=["This",
"is",
"a",
"test",
"to",
"check",
"a_function"],
data=[[5, 2, "b", 3, 4, 5, 3],
[7, 2, "b", 3, 4, 5, 3],
[8, 2, "b", 3, 4, 5, 3],
[3, 2, "b", 3, 4, 5, 3],
[2, 2, "b", 3, 4, 5, 3],
[8, 2, "b", 3, 4, 5, 3],
[2, 2, "b", 3, 4, 5, 3],
[8, 2, "b", 3, 4, 5, 3],
[19, 2, "b", 3, 4, 5, 3],
[53, 2, "b", 3, 4, 5, 3],
[11, 2, "b", 3, 4, 5, 3],
[16, 2, "b", 3, 4, 5, 3]])
data: list = list(data_frame.T.to_dict().values())
mult.multiprocess_me(1, print, data, False)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
replicators-1.0.1.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for replicators-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa35744d37569bb8d1283706356b8088037c46161cb7442c771a57204dd7e3bd |
|
MD5 | c6290f3df592394aeb1fa6036273025c |
|
BLAKE2b-256 | 4d1fb9bb890bc3080333c68d78ec99fce86d582e9d0e2f4269e8f6751180be9e |