{ "info": { "author": "Paul Traina", "author_email": "bulk+pypi@pst.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Communications :: Chat", "Topic :: Office/Business :: Groupware" ], "description": "Slack Bulk File Delete\n======================\n\nFor free tier memberships, Slack has a limit of 5gb for file uploads, this\nprogram wipes out old files.\n\nInstallation\n------------\n\n pip3 install slack-bulkdelete\n\nwill create a new command `slack-bulkdelete`\n\nConfiguration\n-------------\n\nCreate a configuration file with the Slack API token for a personal\naccount that has administrative privileges. (Bot accounts will not work.)\n\nAcquire a WEB API token for the Group Manager account.\n``https://api.slack.com/docs/oauth-test-tokens``\n\nThe API token is of the form `xoxp-nnnnnnnnnn-nnnnnnn-nnnnnnnnn-aaaaaa`.\n\nPut the token, in quotes, in `$HOME/.slack_api_token` or the configuration\nfile you specify on the command line. This file is a json format file, but\nonly has the one entry.\n\nUse\n---\n\nBefore letting it run for real, try using `--dry-run` to see what files\nwill be deleted and saved.\n\n::\n\n usage: __init__.py [-h] [-C CONFIG_PATH] [-n] [-u USERS] [-a MAX_AGE]\n [-s MIN_SIZE] [-p]\n\n optional arguments:\n -h, --help show this help message and exit\n -C CONFIG_PATH, --config-path CONFIG_PATH\n configuration info (default: ~/.slack_api_token)\n -n, --dry-run just simulate the deletes\n -u USERS, --user USERS\n limit delete to user\n -a MAX_AGE, --max-age MAX_AGE\n maximum age in days (default: 30)\n -s MIN_SIZE, --min-size MIN_SIZE\n minimum size (in kb) of file to delete (default: 200)\n -p, --pinned include pinned files (you don't want this!)\n\n\nNotes\n-----\n\nPython 3 has some issues with Unicode encoding if the ``LANG``\nenvironment variable is not set properly before the interepreter\nexecutes code. Make sure that ``LANG`` is set to a utf-8 encoding such\nas ``C.utf-8`` or ``EN_us.utf-8``.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/pleasantone/slack-bulkdelete", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "slack-bulkdelete", "package_url": "https://pypi.org/project/slack-bulkdelete/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/slack-bulkdelete/", "project_urls": { "Homepage": "https://gitlab.com/pleasantone/slack-bulkdelete" }, "release_url": "https://pypi.org/project/slack-bulkdelete/1.1.0/", "requires_dist": [ "slacker", "check-manifest; extra == 'dev'", "coverage; extra == 'test'" ], "requires_python": "", "summary": "keep your team under the file upload limit", "version": "1.1.0" }, "last_serial": 2982822, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "add757eab1d1f0fd1bf6d1576c21e022", "sha256": "6f825ac554793a6d7292b1095c3b66bfbce196c2ed97bb2c34c1f12029fbea47" }, "downloads": -1, "filename": "slack-bulkdelete-1.0.1.tar.gz", "has_sig": false, "md5_digest": "add757eab1d1f0fd1bf6d1576c21e022", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16573, "upload_time": "2016-04-30T05:53:00", "url": "https://files.pythonhosted.org/packages/5e/b0/9fccb6ed6f51eff3e44d266c8228a2593b8db883f665f470275f13602b3b/slack-bulkdelete-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "2ed399fe78f316314630f2f4afabc418", "sha256": "1019e4d26e2a1057ea50cb452984755700f16bf85fcc88146a86dfdea389625f" }, "downloads": -1, "filename": "slack-bulkdelete-1.0.2.tar.gz", "has_sig": false, "md5_digest": "2ed399fe78f316314630f2f4afabc418", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16576, "upload_time": "2016-05-07T02:34:27", "url": "https://files.pythonhosted.org/packages/10/ba/776e49bb9a637a02774d35583c347b4de333faef92da9a860cdf53c89097/slack-bulkdelete-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "51c518df056281696c132d477a6a26fe", "sha256": "b3df623abdd19016ceba0c40834fbab2e5ac12d1cc5897f2f64c00f5e4cfeb4e" }, "downloads": -1, "filename": "slack_bulkdelete-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "51c518df056281696c132d477a6a26fe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6283, "upload_time": "2017-06-27T18:58:16", "url": "https://files.pythonhosted.org/packages/32/a7/893549369ea0c9603c4a7e5af4248d1791d9d11ed54067ad78d5d7c76c12/slack_bulkdelete-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2b1b0b195e76c3395fbb68d3812506cc", "sha256": "8c3a7b5c70733df383816a257243db79f4b4b416a4b4dbda532900aa2d9fdc98" }, "downloads": -1, "filename": "slack-bulkdelete-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2b1b0b195e76c3395fbb68d3812506cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17132, "upload_time": "2017-06-27T18:58:19", "url": "https://files.pythonhosted.org/packages/c5/9e/cee6db79f56ba4d399d4388b92a80c91befc6f80af3a1e57fbcfb86484ab/slack-bulkdelete-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "51c518df056281696c132d477a6a26fe", "sha256": "b3df623abdd19016ceba0c40834fbab2e5ac12d1cc5897f2f64c00f5e4cfeb4e" }, "downloads": -1, "filename": "slack_bulkdelete-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "51c518df056281696c132d477a6a26fe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6283, "upload_time": "2017-06-27T18:58:16", "url": "https://files.pythonhosted.org/packages/32/a7/893549369ea0c9603c4a7e5af4248d1791d9d11ed54067ad78d5d7c76c12/slack_bulkdelete-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2b1b0b195e76c3395fbb68d3812506cc", "sha256": "8c3a7b5c70733df383816a257243db79f4b4b416a4b4dbda532900aa2d9fdc98" }, "downloads": -1, "filename": "slack-bulkdelete-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2b1b0b195e76c3395fbb68d3812506cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17132, "upload_time": "2017-06-27T18:58:19", "url": "https://files.pythonhosted.org/packages/c5/9e/cee6db79f56ba4d399d4388b92a80c91befc6f80af3a1e57fbcfb86484ab/slack-bulkdelete-1.1.0.tar.gz" } ] }