Metadata-Version: 2.1
Name: prefect-saturn
Version: 0.4.1
Summary: Client library for running Prefect Cloud flows in Saturn Cloud
Home-page: https://saturncloud.io/
Maintainer: Saturn Cloud Developers
Maintainer-email: open-source@saturncloud.io
License: BSD 3-clause
Project-URL: Documentation, http://docs.saturncloud.io
Project-URL: Source, https://github.com/saturncloud/prefect-saturn
Project-URL: Issue Tracker, https://github.com/saturncloud/prefect-saturn/issues
Description: # prefect-saturn
        
        ![GitHub Actions](https://github.com/saturncloud/prefect-saturn/workflows/GitHub%20Actions/badge.svg) [![PyPI Version](https://img.shields.io/pypi/v/prefect-saturn.svg)](https://pypi.org/project/prefect-saturn)
        
        `prefect-saturn` is a Python package that makes it easy to run [Prefect Cloud](https://www.prefect.io/cloud/) flows on a Dask cluster with [Saturn Cloud](https://www.saturncloud.io/).
        
        ## Getting Started
        
        ```python
        import prefect
        from prefect import Flow, task
        from prefect_saturn import PrefectCloudIntegration
        
        
        @task
        def hello_task():
            logger = prefect.context.get("logger")
            logger.info("hello prefect-saturn")
        
        
        flow = Flow("sample-flow", tasks=[hello_task])
        
        project_name = "sample-project"
        integration = PrefectCloudIntegration(
            prefect_cloud_project_name=project_name
        )
        flow = integration.register_flow_with_saturn(flow)
        
        flow.register(
            project_name=project_name,
            labels=["saturn-cloud"]
        )
        ```
        
        ## Installation
        
        `prefect-saturn` is available on PyPi.
        
        ```shell
        pip install prefect-saturn
        ```
        
        `prefect-saturn` can be installed directly from GitHub
        
        ```shell
        pip install git+https://github.com/saturncloud/prefect-saturn.git@main
        ```
        
        ## Contributing
        
        See [`CONTRIBUTING.md`](./CONTRIBUTING.md) for documentation on how to test and contribute to `prefect-saturn`.
        
Keywords: saturn cloud prefect prefect
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: BSD License
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: System :: Distributed Computing
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev
