prefect-azure-dyvenia


Nameprefect-azure-dyvenia JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/Trymzet/prefect-azure
SummaryPrefect tasks and subflows for interacting with Azure
upload_time2024-08-26 13:45:47
maintainerNone
docs_urlNone
authorPrefect Technologies, Inc.
requires_python>=3.7
licenseApache License 2.0
keywords prefect
VCS
bugtrack_url
requirements prefect
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # prefect-azure

## Welcome!

prefect-azure is a collection of prebuilt Prefect tasks that can be used to quickly construct Prefect flows.

## 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](https://orion-docs.prefect.io/).

### Installation

Install `prefect-azure` with `pip`

```bash
pip install prefect-azure
```

To use Blob Storage:
```bash
pip install "prefect-azure[blob_storage]"
```

To use Cosmos DB:
```bash
pip install "prefect-azure[cosmos_db]"
```

To use ML Datastore:
```bash
pip install "prefect-azure[ml_datastore]"
```


### Write and run a flow

```python
from prefect import flow

from prefect_azure import AzureBlobStorageCredentials
from prefect_azure.blob_storage import blob_storage_download

@flow
def example_blob_storage_download_flow():
    connection_string = "connection_string"
    blob_storage_credentials = AzureBlobStorageCredentials(
        connection_string=connection_string,
    )
    data = blob_storage_download(
        blob="prefect.txt",
        container="prefect",
        azure_credentials=blob_storage_credentials,
    )
    return data

example_blob_storage_download_flow()
```

## Resources

If you encounter and bugs while using `prefect-azure`, feel free to open an issue in the [prefect-azure](https://github.com/PrefectHQ/prefect-azure) repository.

If you have any questions or issues while using `prefect-azure`, you can find help in either the [Prefect Discourse forum](https://discourse.prefect.io/) or the [Prefect Slack community](https://prefect.io/slack)

## Development

If you'd like to install a version of `prefect-azure` for development, clone the repository and perform an editable install with `pip`:

```bash
git clone https://github.com/PrefectHQ/prefect-azure.git

cd prefect-azure/

pip install -e ".[dev]"

# Install linting pre-commit hooks
pre-commit install
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Trymzet/prefect-azure",
    "name": "prefect-azure-dyvenia",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "prefect",
    "author": "Prefect Technologies, Inc.",
    "author_email": "help@prefect.io",
    "download_url": "https://files.pythonhosted.org/packages/d9/0e/3cb1aaef01ec4127701e25a7e77ad8dae3bf3dbcce07203176275a74f498/prefect_azure_dyvenia-0.1.0.tar.gz",
    "platform": null,
    "description": "# prefect-azure\n\n## Welcome!\n\nprefect-azure is a collection of prebuilt Prefect tasks that can be used to quickly construct Prefect flows.\n\n## Getting Started\n\n### Python setup\n\nRequires an installation of Python 3.7+\n\nWe recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.\n\nThese tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the [Prefect documentation](https://orion-docs.prefect.io/).\n\n### Installation\n\nInstall `prefect-azure` with `pip`\n\n```bash\npip install prefect-azure\n```\n\nTo use Blob Storage:\n```bash\npip install \"prefect-azure[blob_storage]\"\n```\n\nTo use Cosmos DB:\n```bash\npip install \"prefect-azure[cosmos_db]\"\n```\n\nTo use ML Datastore:\n```bash\npip install \"prefect-azure[ml_datastore]\"\n```\n\n\n### Write and run a flow\n\n```python\nfrom prefect import flow\n\nfrom prefect_azure import AzureBlobStorageCredentials\nfrom prefect_azure.blob_storage import blob_storage_download\n\n@flow\ndef example_blob_storage_download_flow():\n    connection_string = \"connection_string\"\n    blob_storage_credentials = AzureBlobStorageCredentials(\n        connection_string=connection_string,\n    )\n    data = blob_storage_download(\n        blob=\"prefect.txt\",\n        container=\"prefect\",\n        azure_credentials=blob_storage_credentials,\n    )\n    return data\n\nexample_blob_storage_download_flow()\n```\n\n## Resources\n\nIf you encounter and bugs while using `prefect-azure`, feel free to open an issue in the [prefect-azure](https://github.com/PrefectHQ/prefect-azure) repository.\n\nIf you have any questions or issues while using `prefect-azure`, you can find help in either the [Prefect Discourse forum](https://discourse.prefect.io/) or the [Prefect Slack community](https://prefect.io/slack)\n\n## Development\n\nIf you'd like to install a version of `prefect-azure` for development, clone the repository and perform an editable install with `pip`:\n\n```bash\ngit clone https://github.com/PrefectHQ/prefect-azure.git\n\ncd prefect-azure/\n\npip install -e \".[dev]\"\n\n# Install linting pre-commit hooks\npre-commit install\n```\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Prefect tasks and subflows for interacting with Azure",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/Trymzet/prefect-azure"
    },
    "split_keywords": [
        "prefect"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d34f653cbea6d21d0a94942aed7017dc91ef4a0e35bd9119480b80ef02d59cd0",
                "md5": "d27f5bcdedfd5e29eb75ca211983032c",
                "sha256": "b0c0a9f6636e5fdfff7d5cd04e8e71191c7e455fa6db44b83b582fe492a7b0a7"
            },
            "downloads": -1,
            "filename": "prefect_azure_dyvenia-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d27f5bcdedfd5e29eb75ca211983032c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 22717,
            "upload_time": "2024-08-26T13:45:45",
            "upload_time_iso_8601": "2024-08-26T13:45:45.913906Z",
            "url": "https://files.pythonhosted.org/packages/d3/4f/653cbea6d21d0a94942aed7017dc91ef4a0e35bd9119480b80ef02d59cd0/prefect_azure_dyvenia-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d90e3cb1aaef01ec4127701e25a7e77ad8dae3bf3dbcce07203176275a74f498",
                "md5": "4c17c2e90247f63c2516825c7b9acfe3",
                "sha256": "c29a2e472e016b414372658acdc589a9e6b4a125540a8dd69f0b22dc477b1a70"
            },
            "downloads": -1,
            "filename": "prefect_azure_dyvenia-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4c17c2e90247f63c2516825c7b9acfe3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 41147,
            "upload_time": "2024-08-26T13:45:47",
            "upload_time_iso_8601": "2024-08-26T13:45:47.785400Z",
            "url": "https://files.pythonhosted.org/packages/d9/0e/3cb1aaef01ec4127701e25a7e77ad8dae3bf3dbcce07203176275a74f498/prefect_azure_dyvenia-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-26 13:45:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Trymzet",
    "github_project": "prefect-azure",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "prefect",
            "specs": [
                [
                    ">=",
                    "2.0b9"
                ]
            ]
        }
    ],
    "lcname": "prefect-azure-dyvenia"
}
        
Elapsed time: 0.27807s