A collection of Prefect Tasks for different varieties of profiling
Project description
prefect-memory-profiling
Welcome!
A collection of Prefect Tasks for memory profiling in Prefect 1.0
Getting Started
Python setup
Requires an installation of Python 3.7+.
We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.
These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the Prefect documentation.
Installation
Install prefect-memory-profiling
with pip
:
pip install prefect-memory-profiling
Write and run a flow
from prefect import flow
from prefect_memory_profiling.tasks import (
goodbye_prefect_memory_profiling,
hello_prefect_memory_profiling,
)
@flow
def example_flow():
hello_prefect_memory_profiling
goodbye_prefect_memory_profiling
example_flow()
Resources
If you encounter any bugs while using prefect-memory-profiling
, feel free to open an issue in the prefect-memory-profiling repository.
If you have any questions or issues while using prefect-memory-profiling
, you can find help in either the Prefect Discourse forum or the Prefect Slack community.
Development
If you'd like to install a version of prefect-memory-profiling
for development, clone the repository and perform an editable install with pip
:
git clone https://github.com/zzstoatzz/prefect-memory-profiling.git
cd prefect-memory-profiling/
pip install -e ".[dev]"
# Install linting pre-commit hooks
pre-commit install
Project details
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
Hashes for prefect-memory-profiling-0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c328d5c0260a8a17ea8e163b785173c0f562bd450004a60209967b1534d3abab |
|
MD5 | a3c63fea626f448dedc071f845f48e2a |
|
BLAKE2b-256 | 2153110f1da51220435dd457df6f2fc70ffbea3230ca3d3f37736e7f30838936 |
Hashes for prefect_memory_profiling-0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49e8264a0d724495510c7f71f9a73c94bf96d8e2e942e382a928804759ff8d65 |
|
MD5 | acff55bd0f9e1f8ede3a395997dd5b33 |
|
BLAKE2b-256 | 895e8f63f0361296b1ae648c7a81a538d429c0cb4770387ef9189c7139942cd8 |