Skip to main content

Basker

Basker is a simple wrapper around multiprocessing.Process, giving users a nicer API as well as task results.

I wrote Basker for educational purposes, but it is also suited for actual use. If you are interested in the story behind Basker you can read it on my blog

Installation

$ pip install basker

Example

In the following snippet, calling example starts a background process and returns a unbocked.Result instance. This result can be retrieved with unbocked.Result.get

import basker

@basker.task
def example():
    return 5 * 5

if __name__ == "__main__":
    result = example()
    print(result.get(timeout=1))

Metadata

Release files for basker 1.0.0

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

Source distribution (sdist)

Source distribution for basker 1.0.0
File Size Uploaded Provenance
basker-1.0.0.tar.gz 2.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 5.6 kB

Release files / basker-1.0.0.tar.gz

Download URL basker-1.0.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f0d8592b0ea6cd48924c5e3d2854303890f9ea93bc2cec35cd3ba027a32d633f
BLAKE2b-256 checksum
How to use checksums
b004b87d24773fb73157847f0ac8851de08cf4a30d4383db5bee873b16dbdf80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.1

Release files / basker-1.0.0-py3-none-any.whl

Download URL basker-1.0.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82acbdc8f057be064cd561effd43138f013fcc59a3eae6281544536f1745c208
BLAKE2b-256 checksum
How to use checksums
9899176ce0f5a4c91ed0c798d63060b24a7e542ac2602a010b22738d3613f90e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.1

Security for basker 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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