<div align="center"><img alt="logo" src="./docs/_static/images/icon.png" width="70" /></div>
<h1 align="center">contentrules.slack</h1>
<div align="center">
[![PyPI](https://img.shields.io/pypi/v/contentrules.slack)](https://pypi.org/project/contentrules.slack/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/contentrules.slack)](https://pypi.org/project/contentrules.slack/)
[![PyPI - Wheel](https://img.shields.io/pypi/wheel/contentrules.slack)](https://pypi.org/project/contentrules.slack/)
[![PyPI - License](https://img.shields.io/pypi/l/contentrules.slack)](https://pypi.org/project/contentrules.slack/)
[![PyPI - Status](https://img.shields.io/pypi/status/contentrules.slack)](https://pypi.org/project/contentrules.slack/)
[![PyPI - Plone Versions](https://img.shields.io/pypi/frameworkversions/plone/contentrules.slack)](https://pypi.org/project/contentrules.slack/)
[![Code analysis checks](https://github.com/collective/contentrules.slack/actions/workflows/code-analysis.yml/badge.svg)](https://github.com/collective/contentrules.slack/actions/workflows/code-analysis.yml)
[![Tests](https://github.com/collective/contentrules.slack/actions/workflows/tests.yml/badge.svg)](https://github.com/collective/contentrules.slack/actions/workflows/tests.yml)
![Code Style](https://img.shields.io/badge/Code%20Style-Black-000000)
[![GitHub contributors](https://img.shields.io/github/contributors/collective/contentrules.slack)](https://github.com/collective/contentrules.slack)
[![GitHub Repo stars](https://img.shields.io/github/stars/collective/contentrules.slack?style=social)](https://github.com/collective/contentrules.slack)
</div>
**contentrules.slack** is a package providing a [Plone](https://plone.org/) content rules action to post a message on Slack.
# Installation
This package supports Plone sites using Volto and ClassicUI.
For proper Volto support, the requirements are:
* plone.restapi >= 8.34.0
* Volto >= 16.10.0
Add **contentrules.slack** to the Plone installation using `pip`:
```bash
pip install contentrules.slack
```
or add it as a dependency on your package's `setup.py`
```python
install_requires = [
"contentrules.slack",
"Plone",
"plone.restapi",
"setuptools",
],
```
Start Plone and go to the `Content Rules` Control Panel.
No additional configuration is needed for Volto support.
## Source Code and Contributions
If you want to help with the development (improvement, update, bug-fixing, ...) of `contentrules.slack` this is a great idea!
- [Issue Tracker](https://github.com/collective/contentrules.slack/issues)
- [Source Code](https://github.com/collective/contentrules.slack/)
- [Documentation](https://collective.github.io/contentrules.slack)
We appreciate any contribution and if a release is needed to be done on PyPI, please just contact one of us.
## Development
You need a working `python` environment (system, `virtualenv`, `pyenv`, etc) version 3.8 or superior.
Then install the dependencies and a development instance using:
```bash
make build
```
To run tests for this package:
By default, we use the latest Plone version in the `6.x` series.
## Translations
This product has been translated into:
- English (Érico Andrei)
- Português do Brasil (Rudá Porto)
- Deutsch (Yael Biran)
- Español (Álvaro Hurtado Mochón)
## License
The project is licensed under GPLv2.
## One Last Thing
Originally Made in Berlin, with love, by your friends @ Briefy and Pendect.
Now maintained by the [Plone Collective](https://github.com/collective)
# Contributors
- Érico Andrei, @ericof
- Rudá Porto, @rudaporto
- Álvaro Hurtado Mochón, @alvarohurtado84
- Yael Biran
# Changelog
## 2.0.2 (2023-04-04)
- Use `requests` instead of `httpx`, as the former is already distributed with Plone.
[ericof]
- Update Sphinx theme used in the documentation
[ericof]
## 2.0.1 (2023-03-10)
- Use [`pytest_plone`](https://pypi.org/project/pytest-plone/)
[ericof]
- Deploy documentation to https://collective.github.io/contentrules.slack
[ericof]
## 2.0.0 (2023-02-07)
- Use `pytest` instead of `unittest`
[ericof]
- Drop dependency on `ftw.slacker`
[ericof]
- Drop support to Plone 5.2
[ericof]
- Support to Plone 6.0, Python 3.8 to 2.11
[ericof]
- Update documentation
[ericof]
## 1.0.1 (2020-04-25)
- Fix "TypeError: expected string or bytes-like object" when one attribute of action is not set.
[ericof]
## 1.0.0 (2019-11-28)
- Add Plone 5.2 / Python 3 support.
[ericof]
- Drop Python 2.7 support.
[ericof]
## 1.0.0a1 (2017-10-17)
- Initial release.
[ericof]
Raw data
{
"_id": null,
"home_page": "https://pypi.python.org/pypi/contentrules.slack",
"name": "contentrules.slack",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8.0",
"maintainer_email": "",
"keywords": "Python Plone Slack ContentRules Pendect",
"author": "Pendect Tech",
"author_email": "opensource@pendect.com",
"download_url": "https://files.pythonhosted.org/packages/17/8a/8975b78a6eb03aed17af577fc8475b83787b5e5909a05369ae48b5eb2aca/contentrules.slack-2.0.2.tar.gz",
"platform": null,
"description": "\n<div align=\"center\"><img alt=\"logo\" src=\"./docs/_static/images/icon.png\" width=\"70\" /></div>\n\n<h1 align=\"center\">contentrules.slack</h1>\n\n<div align=\"center\">\n\n[![PyPI](https://img.shields.io/pypi/v/contentrules.slack)](https://pypi.org/project/contentrules.slack/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/contentrules.slack)](https://pypi.org/project/contentrules.slack/)\n[![PyPI - Wheel](https://img.shields.io/pypi/wheel/contentrules.slack)](https://pypi.org/project/contentrules.slack/)\n[![PyPI - License](https://img.shields.io/pypi/l/contentrules.slack)](https://pypi.org/project/contentrules.slack/)\n[![PyPI - Status](https://img.shields.io/pypi/status/contentrules.slack)](https://pypi.org/project/contentrules.slack/)\n\n\n[![PyPI - Plone Versions](https://img.shields.io/pypi/frameworkversions/plone/contentrules.slack)](https://pypi.org/project/contentrules.slack/)\n\n[![Code analysis checks](https://github.com/collective/contentrules.slack/actions/workflows/code-analysis.yml/badge.svg)](https://github.com/collective/contentrules.slack/actions/workflows/code-analysis.yml)\n[![Tests](https://github.com/collective/contentrules.slack/actions/workflows/tests.yml/badge.svg)](https://github.com/collective/contentrules.slack/actions/workflows/tests.yml)\n![Code Style](https://img.shields.io/badge/Code%20Style-Black-000000)\n\n[![GitHub contributors](https://img.shields.io/github/contributors/collective/contentrules.slack)](https://github.com/collective/contentrules.slack)\n[![GitHub Repo stars](https://img.shields.io/github/stars/collective/contentrules.slack?style=social)](https://github.com/collective/contentrules.slack)\n\n</div>\n\n**contentrules.slack** is a package providing a [Plone](https://plone.org/) content rules action to post a message on Slack.\n\n\n# Installation\n\nThis package supports Plone sites using Volto and ClassicUI.\n\nFor proper Volto support, the requirements are:\n\n* plone.restapi >= 8.34.0\n* Volto >= 16.10.0\n\nAdd **contentrules.slack** to the Plone installation using `pip`:\n\n```bash\npip install contentrules.slack\n```\n\nor add it as a dependency on your package's `setup.py`\n\n```python\n install_requires = [\n \"contentrules.slack\",\n \"Plone\",\n \"plone.restapi\",\n \"setuptools\",\n ],\n```\n\nStart Plone and go to the `Content Rules` Control Panel.\n\nNo additional configuration is needed for Volto support.\n\n\n## Source Code and Contributions\n\nIf you want to help with the development (improvement, update, bug-fixing, ...) of `contentrules.slack` this is a great idea!\n\n- [Issue Tracker](https://github.com/collective/contentrules.slack/issues)\n- [Source Code](https://github.com/collective/contentrules.slack/)\n- [Documentation](https://collective.github.io/contentrules.slack)\n\n\nWe appreciate any contribution and if a release is needed to be done on PyPI, please just contact one of us.\n\n## Development\n\nYou need a working `python` environment (system, `virtualenv`, `pyenv`, etc) version 3.8 or superior.\n\nThen install the dependencies and a development instance using:\n\n```bash\nmake build\n```\n\nTo run tests for this package:\nBy default, we use the latest Plone version in the `6.x` series.\n\n## Translations\n\nThis product has been translated into:\n\n- English (\u00c9rico Andrei)\n- Portugu\u00eas do Brasil (Rud\u00e1 Porto)\n- Deutsch (Yael Biran)\n- Espa\u00f1ol (\u00c1lvaro Hurtado Moch\u00f3n)\n\n## License\n\nThe project is licensed under GPLv2.\n\n## One Last Thing\n\nOriginally Made in Berlin, with love, by your friends @ Briefy and Pendect.\n\nNow maintained by the [Plone Collective](https://github.com/collective)\n\n\n# Contributors\n\n- \u00c9rico Andrei, @ericof\n- Rud\u00e1 Porto, @rudaporto\n- \u00c1lvaro Hurtado Moch\u00f3n, @alvarohurtado84\n- Yael Biran\n\n\n# Changelog\n\n## 2.0.2 (2023-04-04)\n\n\n- Use `requests` instead of `httpx`, as the former is already distributed with Plone.\n [ericof]\n\n- Update Sphinx theme used in the documentation\n [ericof]\n\n## 2.0.1 (2023-03-10)\n\n\n- Use [`pytest_plone`](https://pypi.org/project/pytest-plone/)\n [ericof]\n\n- Deploy documentation to https://collective.github.io/contentrules.slack\n [ericof]\n\n\n\n## 2.0.0 (2023-02-07)\n\n- Use `pytest` instead of `unittest`\n [ericof]\n\n- Drop dependency on `ftw.slacker`\n [ericof]\n\n- Drop support to Plone 5.2\n [ericof]\n\n- Support to Plone 6.0, Python 3.8 to 2.11\n [ericof]\n\n- Update documentation\n [ericof]\n\n\n## 1.0.1 (2020-04-25)\n\n- Fix \"TypeError: expected string or bytes-like object\" when one attribute of action is not set.\n [ericof]\n\n\n## 1.0.0 (2019-11-28)\n\n- Add Plone 5.2 / Python 3 support.\n [ericof]\n\n- Drop Python 2.7 support.\n [ericof]\n\n\n## 1.0.0a1 (2017-10-17)\n\n- Initial release.\n [ericof]\n\n\n",
"bugtrack_url": null,
"license": "GPL version 2",
"summary": "Slack content rule action for Plone.",
"version": "2.0.2",
"split_keywords": [
"python",
"plone",
"slack",
"contentrules",
"pendect"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "436669799381e268beff85abcef9c82052d70834bc7d61435591b09f684bc0e5",
"md5": "1e44416e8d10d6063922e4b0eab731d0",
"sha256": "fea1730c8966006cd60bb897a452804a8abed840635b48111acab7b666e9a2fc"
},
"downloads": -1,
"filename": "contentrules.slack-2.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1e44416e8d10d6063922e4b0eab731d0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.0",
"size": 30237,
"upload_time": "2023-04-04T12:46:31",
"upload_time_iso_8601": "2023-04-04T12:46:31.953106Z",
"url": "https://files.pythonhosted.org/packages/43/66/69799381e268beff85abcef9c82052d70834bc7d61435591b09f684bc0e5/contentrules.slack-2.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "178a8975b78a6eb03aed17af577fc8475b83787b5e5909a05369ae48b5eb2aca",
"md5": "d0dcc3fedd8b04f600757b0f4286d8d5",
"sha256": "2d08b1f42a31908cb59327a74b138a94056c17594aec586c11fd8fc25ebb4dee"
},
"downloads": -1,
"filename": "contentrules.slack-2.0.2.tar.gz",
"has_sig": false,
"md5_digest": "d0dcc3fedd8b04f600757b0f4286d8d5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.0",
"size": 1817859,
"upload_time": "2023-04-04T12:46:34",
"upload_time_iso_8601": "2023-04-04T12:46:34.830542Z",
"url": "https://files.pythonhosted.org/packages/17/8a/8975b78a6eb03aed17af577fc8475b83787b5e5909a05369ae48b5eb2aca/contentrules.slack-2.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-04 12:46:34",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "contentrules.slack"
}