Skip to main content

A collection of Prefect Tasks for different varieties of profiling

Project description

prefect-memory-profiling

Welcome!

A collection of Prefect Tasks for different varieties of profiling

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prefect-memory-profiling-0a7.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prefect_memory_profiling-0a7-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file prefect-memory-profiling-0a7.tar.gz.

File metadata

  • Download URL: prefect-memory-profiling-0a7.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for prefect-memory-profiling-0a7.tar.gz
Algorithm Hash digest
SHA256 9df8ef4f5fe472ddc76f90bb293ed53ed6e1b3173a7b4fc00e51ee1e83194b39
MD5 866239611667daa75f7e2b3d2292c612
BLAKE2b-256 0e44b8cc8ef23a5a92ca9e494e73d7e43705e0e9b506ed0606b7c20038a3cb06

See more details on using hashes here.

File details

Details for the file prefect_memory_profiling-0a7-py3-none-any.whl.

File metadata

File hashes

Hashes for prefect_memory_profiling-0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 4e3f2737f2360edaa0a1cb81ec64376c7f1cc5cada6847e147f2024f1b95dbf8
MD5 b5f3d5869b14c1e2efcd6b7868eb9fc3
BLAKE2b-256 095cf83e90cb88017ffbbd51f5464ba9d2c6501cf9446fdd866439756e439d82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page