# prefect-monday
<p align="center">
<a href="https://pypi.python.org/pypi/prefect-monday/" alt="PyPI version">
<img alt="PyPI" src="https://img.shields.io/pypi/v/prefect-monday?color=0052FF&labelColor=090422"></a>
<a href="https://github.com/PrefectHQ/prefect-monday/" alt="Stars">
<img src="https://img.shields.io/github/stars/PrefectHQ/prefect-monday?color=0052FF&labelColor=090422" /></a>
<a href="https://pepy.tech/badge/prefect-monday/" alt="Downloads">
<img src="https://img.shields.io/pypi/dm/prefect-monday?color=0052FF&labelColor=090422" /></a>
<a href="https://github.com/PrefectHQ/prefect-monday/pulse" alt="Activity">
<img src="https://img.shields.io/github/commit-activity/m/PrefectHQ/prefect-monday?color=0052FF&labelColor=090422" /></a>
<br>
<a href="https://prefect-community.slack.com" alt="Slack">
<img src="https://img.shields.io/badge/slack-join_community-red.svg?color=0052FF&labelColor=090422&logo=slack" /></a>
<a href="https://discourse.prefect.io/" alt="Discourse">
<img src="https://img.shields.io/badge/discourse-browse_forum-red.svg?color=0052FF&labelColor=090422&logo=discourse" /></a>
</p>
## Welcome!
Prefect integrations interacting with monday.com.
The tasks within this collection were created by a code generator using the service's GraphQL schema.
## 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-monday` with `pip`:
```bash
pip install prefect-monday
```
Then, register to [view the block](https://orion-docs.prefect.io/ui/blocks/) on Prefect Cloud:
```bash
prefect block register -m prefect_monday.credentials
```
### Query personal account info
Note, to use the `load` method, you must already have a block document [saved through code](https://orion-docs.prefect.io/concepts/blocks/#saving-blocks) or [saved through the UI](https://orion-docs.prefect.io/ui/blocks/).
```python
from prefect import flow
from prefect_monday.credentials import MondayCredentials
from prefect_monday.me import query_me
@flow
def query_me_flow():
monday_credentials = MondayCredentials.load("BLOCK_NAME")
result = query_me(monday_credentials)
return result
query_me_flow()
```
### Query available boards
```python
from prefect import flow
from prefect_monday.credentials import MondayCredentials
from prefect_monday.boards import query_boards
@flow
def query_boards_flow():
monday_credentials = MondayCredentials.load("BLOCK_NAME")
boards = query_boards(monday_credentials=monday_credentials)
return boards
query_boards_flow()
```
### Create new workspace
```python
from prefect import flow
from prefect_monday.credentials import MondayCredentials
from prefect_monday.mutations import create_workspace
from prefect_monday.schemas import graphql_schema
@flow
def create_workspace_flow():
monday_credentials = MondayCredentials.load("BLOCK_NAME")
workspace = create_workspace(
"integrations-test-workspace",
graphql_schema.WorkspaceKind.open,
monday_credentials=monday_credentials
)
return workspace
create_workspace_flow()
```
## Resources
If you encounter any bugs while using `prefect-monday`, feel free to open an issue in the [prefect-monday](https://github.com/PrefectHQ/prefect-monday) repository.
If you have any questions or issues while using `prefect-monday`, you can find help in either the [Prefect Discourse forum](https://discourse.prefect.io/) or the [Prefect Slack community](https://prefect.io/slack).
Feel free to ⭐️ or watch [`prefect-monday`](https://github.com/PrefectHQ/prefect-monday) for updates too!
## Development
If you'd like to install a version of `prefect-monday` for development, clone the repository and perform an editable install with `pip`:
```bash
git clone https://github.com/PrefectHQ/prefect-monday.git
cd prefect-monday/
pip install -e ".[dev]"
# Install linting pre-commit hooks
pre-commit install
```
Raw data
{
"_id": null,
"home_page": "https://github.com/PrefectHQ/prefect-monday",
"name": "prefect-monday",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "prefect",
"author": "Prefect Technologies, Inc.",
"author_email": "help@prefect.io",
"download_url": "https://files.pythonhosted.org/packages/eb/3d/65b5a29de10874998a215018517bdb2f92c06e829db4571cee8f9525eed5/prefect-monday-0.2.2.tar.gz",
"platform": null,
"description": "# prefect-monday\n\n<p align=\"center\">\n <a href=\"https://pypi.python.org/pypi/prefect-monday/\" alt=\"PyPI version\">\n <img alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/prefect-monday?color=0052FF&labelColor=090422\"></a>\n <a href=\"https://github.com/PrefectHQ/prefect-monday/\" alt=\"Stars\">\n <img src=\"https://img.shields.io/github/stars/PrefectHQ/prefect-monday?color=0052FF&labelColor=090422\" /></a>\n <a href=\"https://pepy.tech/badge/prefect-monday/\" alt=\"Downloads\">\n <img src=\"https://img.shields.io/pypi/dm/prefect-monday?color=0052FF&labelColor=090422\" /></a>\n <a href=\"https://github.com/PrefectHQ/prefect-monday/pulse\" alt=\"Activity\">\n <img src=\"https://img.shields.io/github/commit-activity/m/PrefectHQ/prefect-monday?color=0052FF&labelColor=090422\" /></a>\n <br>\n <a href=\"https://prefect-community.slack.com\" alt=\"Slack\">\n <img src=\"https://img.shields.io/badge/slack-join_community-red.svg?color=0052FF&labelColor=090422&logo=slack\" /></a>\n <a href=\"https://discourse.prefect.io/\" alt=\"Discourse\">\n <img src=\"https://img.shields.io/badge/discourse-browse_forum-red.svg?color=0052FF&labelColor=090422&logo=discourse\" /></a>\n</p>\n\n\n## Welcome!\n\nPrefect integrations interacting with monday.com.\n\nThe tasks within this collection were created by a code generator using the service's GraphQL schema.\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-monday` with `pip`:\n\n```bash\npip install prefect-monday\n```\n\nThen, register to [view the block](https://orion-docs.prefect.io/ui/blocks/) on Prefect Cloud:\n\n```bash\nprefect block register -m prefect_monday.credentials\n```\n\n### Query personal account info\n\nNote, to use the `load` method, you must already have a block document [saved through code](https://orion-docs.prefect.io/concepts/blocks/#saving-blocks) or [saved through the UI](https://orion-docs.prefect.io/ui/blocks/).\n\n```python\nfrom prefect import flow\n\nfrom prefect_monday.credentials import MondayCredentials\nfrom prefect_monday.me import query_me\n\n@flow\ndef query_me_flow():\n monday_credentials = MondayCredentials.load(\"BLOCK_NAME\")\n result = query_me(monday_credentials)\n return result\n\nquery_me_flow()\n```\n\n### Query available boards\n\n```python\nfrom prefect import flow\n\nfrom prefect_monday.credentials import MondayCredentials\nfrom prefect_monday.boards import query_boards\n\n@flow\ndef query_boards_flow():\n monday_credentials = MondayCredentials.load(\"BLOCK_NAME\")\n boards = query_boards(monday_credentials=monday_credentials)\n return boards\n\nquery_boards_flow()\n```\n\n### Create new workspace\n\n```python\nfrom prefect import flow\n\nfrom prefect_monday.credentials import MondayCredentials\nfrom prefect_monday.mutations import create_workspace\nfrom prefect_monday.schemas import graphql_schema\n\n@flow\ndef create_workspace_flow():\n monday_credentials = MondayCredentials.load(\"BLOCK_NAME\")\n workspace = create_workspace(\n \"integrations-test-workspace\",\n graphql_schema.WorkspaceKind.open,\n monday_credentials=monday_credentials\n )\n return workspace\n\ncreate_workspace_flow()\n```\n\n## Resources\n\nIf you encounter any bugs while using `prefect-monday`, feel free to open an issue in the [prefect-monday](https://github.com/PrefectHQ/prefect-monday) repository.\n\nIf you have any questions or issues while using `prefect-monday`, you can find help in either the [Prefect Discourse forum](https://discourse.prefect.io/) or the [Prefect Slack community](https://prefect.io/slack).\n\nFeel free to \u2b50\ufe0f or watch [`prefect-monday`](https://github.com/PrefectHQ/prefect-monday) for updates too!\n\n## Development\n\nIf you'd like to install a version of `prefect-monday` for development, clone the repository and perform an editable install with `pip`:\n\n```bash\ngit clone https://github.com/PrefectHQ/prefect-monday.git\n\ncd prefect-monday/\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 integrations interacting with Monday",
"version": "0.2.2",
"project_urls": {
"Homepage": "https://github.com/PrefectHQ/prefect-monday"
},
"split_keywords": [
"prefect"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "279516dc234a9187b130cb922a148858951a3ce50d62c2bd20f9717c8c91b33d",
"md5": "01564b62dd0af43a21bf42737d695ab9",
"sha256": "4d3139d1de7b5d7d5ea7dbacd9c4280270c88ba9be02b95220512aee163ef9ef"
},
"downloads": -1,
"filename": "prefect_monday-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "01564b62dd0af43a21bf42737d695ab9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 76150,
"upload_time": "2023-11-29T19:55:33",
"upload_time_iso_8601": "2023-11-29T19:55:33.207269Z",
"url": "https://files.pythonhosted.org/packages/27/95/16dc234a9187b130cb922a148858951a3ce50d62c2bd20f9717c8c91b33d/prefect_monday-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eb3d65b5a29de10874998a215018517bdb2f92c06e829db4571cee8f9525eed5",
"md5": "7aa8ac97ffc9adb91a476f2c1dbeffe6",
"sha256": "9e70f0a80ad7dc3d2741e45622f87a28bb7faff65d781908c517e82278e61f3e"
},
"downloads": -1,
"filename": "prefect-monday-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "7aa8ac97ffc9adb91a476f2c1dbeffe6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 59951,
"upload_time": "2023-11-29T19:55:35",
"upload_time_iso_8601": "2023-11-29T19:55:35.088077Z",
"url": "https://files.pythonhosted.org/packages/eb/3d/65b5a29de10874998a215018517bdb2f92c06e829db4571cee8f9525eed5/prefect-monday-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-29 19:55:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "PrefectHQ",
"github_project": "prefect-monday",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "prefect-monday"
}