Skip to main content

Python

replicators

PyPi Package

description

This is a personal package used to hold code patterns used for multithreading and multiprocessing.

usage

pip install replicator

pyenv install 3.8.0
pyenv virtualenv 3.8.0 app_3.8
pyenv activate app_3.8

import replicators.multiprocess as mult

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)

Release files for replicators 1.2.1

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

Source distribution (sdist)

Source distribution for replicators 1.2.1
File Size Uploaded
replicators-1.2.1.tar.gz 2.3 kB Details

Built distribution (wheel)

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

Total release size: 5.8 kB

Release files / replicators-1.2.1.tar.gz

Download URL replicators-1.2.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3d9759cec306d2073505f218ac9f151e384045a5427afd44de12ac8afe824d96
BLAKE2b-256 checksum
How to use checksums
3d2eea1f99b7f80bc95d13650452b29a7cba43bf8095a6cbb150b62db078d238
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0

Release files / replicators-1.2.1-py3-none-any.whl

Download URL replicators-1.2.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70baac10410700312ae5510eafa3c3f3c4ea181138f2da95fdffa5b8b231c16a
BLAKE2b-256 checksum
How to use checksums
b6cd9e4b8ab181d5a256bc598cc2f263af5d6bb2da40cb755f9a14287843f800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

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