afar 0.0.1
pip install afar==0.0.1
Newer version available (0.6.1)
Released:
Run code on a dask worker via a context manager
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Erik Welch
- Requires: Python >=3.7
Classifiers
- Development Status
- License
- Operating System
- Programming Language
Project description
Afar
One man's magic is another man's engineering
Robert A. Heinlein
afar
explores new syntax around context managers. For example:
import afar
with afar.run() as results, locally:
x = 1
y = x + 1
>>> results.x
1
>>> results.y
2
Soon, we will be able to run code on a remote dask worker with syntax like:
with afar.run() as result, remotely:
import dask_cudf
df = dask_cudf.read_parquet("s3://...")
result = df.sum().compute()
For motivation, see https://github.com/dask/distributed/issues/4003
This code is highly experimental and magical!
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Erik Welch
- Requires: Python >=3.7
Classifiers
- Development Status
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file afar-0.0.1.tar.gz
.
File metadata
- Download URL: afar-0.0.1.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
28d1060d4b889ab763d34e8ac259643c9a7f38bad17894e135da24463da3caeb
|
|
MD5 |
68cf2c4d0b7aad0e507fd8075f80fafa
|
|
BLAKE2b-256 |
639d7cf0c31bed89921e69fc6cbdb9f42d728267b73199d008f9a7dac73d9876
|
File details
Details for the file afar-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: afar-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b0513c0c96cd9572f0d0e4f87b2105d7c23ace0c5ce8f2cef40b35b46e01a8c5
|
|
MD5 |
1f0f2b96f5b821e38784aabd480146c1
|
|
BLAKE2b-256 |
7c31d4ef19fe00687c9591a5a61c3fc027a13ae6b5cb3780714d765ff99217bb
|