Ploomber-core is a foundational Python library providing common utilities and functionality reused across projects within the Ploomber ecosystem. It includes modules for deprecations, telemetry, exceptions, and validations. As a core component, it supports the main Ploomber library, which is a framework for building modular data pipelines, integrating with Jupyter, and deploying to various platforms like Airflow and Kubernetes. The library is actively maintained, with a current version of 0.2.27, and the broader Ploomber project follows semantic versioning with frequent minor releases.
pip install ploomber-coreVerified import paths — ran on the pinned version, not inferred.
Demonstrates importing a core utility from ploomber-core and initializing its telemetry component, showing how to respect the `PLOOMBER_DO_NOT_TRACK` environment variable.
Wrap your script's main execution logic (especially when using `dag.build()` or `ploomber build` from a script) within `if __name__ == '__main__':`.
Ensure each task generates at least one product. If a task truly has no direct output, consider merging its logic with an upstream task that does produce output, or use the `on_finish` hook for side effects that don't need tracking.
Monitor `FutureWarning` messages during development and consult the changelog before upgrading to new major versions to adapt to API changes.
Encapsulate the main execution block of your script within `if __name__ == '__main__':` to properly initialize child processes.
Implement robust pipeline testing using Ploomber's `on_finish` hooks to validate data quality and expectations immediately after each task execution. This catches issues closer to their source.
Ensure `ploomber-core` is updated to a version compatible with your `ploomber` installation. Use `pip install --upgrade ploomber ploomber-core` or consult the `ploomber` changelog for specific version requirements.
No dependency data recorded yet.