{ "info": { "author": "Austin Pray", "author_email": "austin@austinpray.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Communications :: Chat", "Topic :: Office/Business", "Topic :: System :: Networking" ], "description": "python-slacktools\n=================\n\nA toolbelt for working with the various `Slack APIs`_ in python.\n\n|Documentation Status| |Build Status| |Code Coverage| |PyPI - Version| |PyPI - Python Version|\n\n.. |Build Status| image:: https://travis-ci.com/austinpray/python-slacktools.svg?branch=master\n :target: https://travis-ci.com/austinpray/python-slacktools\n.. |Documentation Status| image:: https://readthedocs.org/projects/python-slacktools/badge/?version=latest\n :target: https://python-slacktools.readthedocs.io/en/latest/?badge=latest\n.. |PyPI - Version| image:: https://badge.fury.io/py/slacktools.svg\n :target: https://pypi.org/project/slacktools/\n.. |PyPI - Python Version| image:: https://img.shields.io/pypi/pyversions/Django.svg\n :target: https://pypi.org/project/slacktools/\n.. |Code Coverage| image:: https://codecov.io/gh/austinpray/python-slacktools/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/austinpray/python-slacktools\n\n\nInstall\n-------\n\nInstall slacktools with `PyPI `_\n\n.. code-block:: bash\n\n pip install slacktools\n\nThis library is tested against Python 3.4+. `Open an issue`__ if you need this library to work on an older version.\n\n__ https://github.com/austinpray/python-slacktools/issues/new\n\nFeatures\n--------\n\n- `Authorization utils`_ to verify ``X-Slack-Signature``\n- `Message text utils`_ to do things like:\n - Format slack control sequences like ``<@USERIDXX>`` and ````\n with proper escaping\n - Extract mentions and grab user ids from mentions\n - Properly escape message text\n- `Message sending functions`_ with partial application to reduce boilerplate\n and improve testability\n- `Silly stuff`_\n\nCheck out `the docs`_ for more info and `API documentation`_.\n\nTests\n-----\n\nRunning the tests is simple enough:\n\n.. code-block:: bash\n\n python setup.py test\n\nOr just ``pytest`` will do the trick. This will run the tests in the ``tests/``\ndirectory as well as as bunch of docstring tests in the ``src/`` directory.\n\nThe Makefile also has some good test commands that will spin up a docker container:\n\n- ``make test`` will run the tests in python 3.7.\n- ``make test-all`` will run a series of tests from python 3.7 down to 3.4.\n- ``make test-{{PY_VERSION}}`` where ``PY_VERSION`` can be `any tagged version\n of the official python docker image`__ will run tests under that python\n version. Ex: ``make test-3.5`` will run under Python 3.5.\n\n__ https://hub.docker.com/_/python/\n\nRoadmap\n-------\n\n- Wider python support? This lib only `supports python 3 <.travis.yml>`_ right\n now. However, if someone needs it, I can add python 2 compatibility.\n- Friendly message builder API?\n- Build deep links into clients\n\nIn the Wild\n-----------\n\n`austinpray/kizuna`_ is a silly chatbot that `uses this library `_.\n\n\n.. _Slack APIs: https://api.slack.com/\n.. _Slack: https://api.slack.com/\n.. _the docs: https://python-slacktools.readthedocs.io\n.. _API documentation: https://python-slacktools.readthedocs.io/en/latest/api.html\n\n.. _Authorization utils: https://python-slacktools.readthedocs.io/en/latest/api.html#module-slacktools.authorization\n.. _Message text utils: https://python-slacktools.readthedocs.io/en/latest/api.html#module-slacktools.message\n.. _Message sending functions: https://python-slacktools.readthedocs.io/en/latest/api.html#module-slacktools.chat\n.. _Silly stuff: https://python-slacktools.readthedocs.io/en/latest/api.html#module-slacktools.arguments\n.. _austinpray/kizuna: https://github.com/austinpray/kizuna\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/austinpray/python-slacktools", "keywords": "slack slack-web slack-rtm slacktools chat chatbots bots chatops", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "slacktools", "package_url": "https://pypi.org/project/slacktools/", "platform": "", "project_url": "https://pypi.org/project/slacktools/", "project_urls": { "Homepage": "https://github.com/austinpray/python-slacktools" }, "release_url": "https://pypi.org/project/slacktools/0.0.5/", "requires_dist": [ "typing; python_version < \"3.5\"" ], "requires_python": "", "summary": "Toolbelt for Slack API clients for Web API and RTM API", "version": "0.0.5" }, "last_serial": 4260106, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "dcd6f6dc1179d4c7a94759c672e84b8c", "sha256": "50d98984c98eddabcc9d6bfe848e1e888ca9b3f39bb4d4bfc7a5acbb569edf77" }, "downloads": -1, "filename": "slacktools-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "dcd6f6dc1179d4c7a94759c672e84b8c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3284, "upload_time": "2018-09-08T20:14:36", "url": "https://files.pythonhosted.org/packages/a7/5f/1237e607dee437705777e4ea1244aa657c771ec40cf2a591bdc3bf783407/slacktools-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cfd0ebf130d208869143123f7f8aefd8", "sha256": "013f4a334fc91ccaaf438012d838312ed0d3407f80b3f42a62a754693e6754c6" }, "downloads": -1, "filename": "slacktools-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cfd0ebf130d208869143123f7f8aefd8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2660, "upload_time": "2018-09-08T20:14:37", "url": "https://files.pythonhosted.org/packages/a3/95/240ed89aee4cdfedf3a0e23ab094b17f71c976e225b6307eb0581d65a4ed/slacktools-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "2d62caa0dbdda2e4b4806b350d39ae92", "sha256": "2a85fc56a97f9d1d3cf25c696233e6a23bc3488dedc51e6837e47627e5f90545" }, "downloads": -1, "filename": "slacktools-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2d62caa0dbdda2e4b4806b350d39ae92", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3313, "upload_time": "2018-09-08T20:46:31", "url": "https://files.pythonhosted.org/packages/55/c6/3a6740e85652b537d1a9980ed51bcb735d24143eb917c34e3d4dbe652619/slacktools-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "494b88042b38583e74dcc4cd7ce02f11", "sha256": "1fd95d1976cc9e9c12deff456a486877f27c3ae1c3dc6af171629a65a07ae8f6" }, "downloads": -1, "filename": "slacktools-0.0.2.tar.gz", "has_sig": false, "md5_digest": "494b88042b38583e74dcc4cd7ce02f11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2694, "upload_time": "2018-09-08T20:46:33", "url": "https://files.pythonhosted.org/packages/76/6e/0434db984e3ba1acb4fe35bb22bff76f63e126cb6251b45784643df52597/slacktools-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "3c3c5f78ee04f51c45c46cfe29ca9923", "sha256": "c7f7525c6de9fd1640bff9eb7df493bd40677f2b7d7dc5ba85e6744ceaed39e7" }, "downloads": -1, "filename": "slacktools-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "3c3c5f78ee04f51c45c46cfe29ca9923", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6953, "upload_time": "2018-09-10T14:06:15", "url": "https://files.pythonhosted.org/packages/6b/28/410b69036d833bf2476482361f80824baf4dbb4145ea8ae1b72411cf0071/slacktools-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a4a98082004d0cd1d5b944b160a3acd9", "sha256": "b8b219e6c693964280ac7bee5a70599ea786e87bf509e69e1eef69c50bd054ef" }, "downloads": -1, "filename": "slacktools-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a4a98082004d0cd1d5b944b160a3acd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4263, "upload_time": "2018-09-10T14:06:18", "url": "https://files.pythonhosted.org/packages/48/90/c41efd438543d19a8e20e8ec06edec571a136605d9bf1a3db2c5e27637b7/slacktools-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "1ba09cff26e5da65908ecf8874e32d10", "sha256": "adba8290a67261f406f9413a862b201ced6d0e6a9c2661ca606967b22da2acf9" }, "downloads": -1, "filename": "slacktools-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "1ba09cff26e5da65908ecf8874e32d10", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7548, "upload_time": "2018-09-10T15:38:36", "url": "https://files.pythonhosted.org/packages/63/5e/6d95f7e487713ce8ca2c4b3e3e218e42c95ff738a119b7e4e274e4fd6e52/slacktools-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b35c8fd41a0a10fc47020c65cdec99a3", "sha256": "4208d25439034f05f9228089a56dcad8d78bdd2123d4bc7ea305b6bc4a77a9a0" }, "downloads": -1, "filename": "slacktools-0.0.4.tar.gz", "has_sig": false, "md5_digest": "b35c8fd41a0a10fc47020c65cdec99a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4992, "upload_time": "2018-09-10T15:38:39", "url": "https://files.pythonhosted.org/packages/a9/a4/e929193a98cc68062aa3530e94e2cbb6d2994cab5dfde029b9a950209f62/slacktools-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "cd7a505e4feb6a0df6a97a551c8b69a8", "sha256": "1586d90799df68e6d72ff17b1e05a983cd82efde96295975c923ef1e5e64ea96" }, "downloads": -1, "filename": "slacktools-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "cd7a505e4feb6a0df6a97a551c8b69a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2580, "upload_time": "2018-09-11T06:06:02", "url": "https://files.pythonhosted.org/packages/88/f3/7d1c7350413ce2b588f3a4dff92f3b8a116e423652fff5c216452731303a/slacktools-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91ce0e59850ed9daf50ef278e30f7b55", "sha256": "8c705fd16a11468b7a67607ae1cb7f96c34b841be43babe23ed313c70a70be04" }, "downloads": -1, "filename": "slacktools-0.0.5.tar.gz", "has_sig": false, "md5_digest": "91ce0e59850ed9daf50ef278e30f7b55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3110, "upload_time": "2018-09-11T06:06:03", "url": "https://files.pythonhosted.org/packages/46/c7/37300ce6cf3bc9b0eb40f62798c9ba5da76599a07fff477af713a3af0283/slacktools-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd7a505e4feb6a0df6a97a551c8b69a8", "sha256": "1586d90799df68e6d72ff17b1e05a983cd82efde96295975c923ef1e5e64ea96" }, "downloads": -1, "filename": "slacktools-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "cd7a505e4feb6a0df6a97a551c8b69a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2580, "upload_time": "2018-09-11T06:06:02", "url": "https://files.pythonhosted.org/packages/88/f3/7d1c7350413ce2b588f3a4dff92f3b8a116e423652fff5c216452731303a/slacktools-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91ce0e59850ed9daf50ef278e30f7b55", "sha256": "8c705fd16a11468b7a67607ae1cb7f96c34b841be43babe23ed313c70a70be04" }, "downloads": -1, "filename": "slacktools-0.0.5.tar.gz", "has_sig": false, "md5_digest": "91ce0e59850ed9daf50ef278e30f7b55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3110, "upload_time": "2018-09-11T06:06:03", "url": "https://files.pythonhosted.org/packages/46/c7/37300ce6cf3bc9b0eb40f62798c9ba5da76599a07fff477af713a3af0283/slacktools-0.0.5.tar.gz" } ] }