slackoff


Nameslackoff JSON
Version 1.2 PyPI version JSON
download
home_pagehttps://pypi.org/project/slackoff
SummaryAutomatically sign out of Slack workspaces on macOS.
upload_time2024-04-08 22:28:24
maintainerNone
docs_urlNone
authorJace Browning
requires_python<4.0,>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Overview

Slackoff is a quick way to sign out of a company Slack workspace at the end of the day to improve one's work-life balance. It can also be used to sign out of "fun" Slack workspaces to avoid distractions during normal working hours.

[![Build Status](https://img.shields.io/github/actions/workflow/status/jacebrowning/slackoff/main.yml?branch=main)](https://github.com/jacebrowning/slackoff/actions)
[![Coverage Status](https://img.shields.io/codecov/c/gh/jacebrowning/slackoff)](https://codecov.io/gh/jacebrowning/slackoff)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/jacebrowning/slackoff.svg)](https://scrutinizer-ci.com/g/jacebrowning/slackoff)
[![PyPI License](https://img.shields.io/pypi/l/slackoff.svg)](https://pypi.org/project/slackoff)
[![PyPI Version](https://img.shields.io/pypi/v/slackoff.svg)](https://pypi.org/project/slackoff)
[![PyPI Downloads](https://img.shields.io/pypi/dm/slackoff.svg?color=orange)](https://pypistats.org/packages/slackoff)

## Setup

### Requirements

* macOS (for AppleScript)
* Slack for Mac
* Python 3.10+

### Installation

Install this tool globally with [pipx](https://pipxproject.github.io/pipx/) (or pip):

```sh
$ pipx install slackoff
```
or add it to your [Poetry](https://python-poetry.org/docs/) project:

```sh
$ poetry add slackoff
```

## Usage

After installation, automatically sign out of a Slack workspace:

```sh
$ slackoff My Company Workspace
```

or sign back in:

```sh
$ slackoff
```

Slackoff will remember the last workspace used and attempt to toggle appropriately.

### Additional Options

To explicitly attempt to sign in or out, include the corresponding flag:

```sh
$ slackoff --signin
$ slackoff --signout
```

View the help for more options:

```sh
$ slackoff --help
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/slackoff",
    "name": "slackoff",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Jace Browning",
    "author_email": "jacebrowning@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f6/c9/b949877c1d988c1edf816608ae0bd2100a093e564cec6659eaea01e461e5/slackoff-1.2.tar.gz",
    "platform": null,
    "description": "# Overview\n\nSlackoff is a quick way to sign out of a company Slack workspace at the end of the day to improve one's work-life balance. It can also be used to sign out of \"fun\" Slack workspaces to avoid distractions during normal working hours.\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/jacebrowning/slackoff/main.yml?branch=main)](https://github.com/jacebrowning/slackoff/actions)\n[![Coverage Status](https://img.shields.io/codecov/c/gh/jacebrowning/slackoff)](https://codecov.io/gh/jacebrowning/slackoff)\n[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/jacebrowning/slackoff.svg)](https://scrutinizer-ci.com/g/jacebrowning/slackoff)\n[![PyPI License](https://img.shields.io/pypi/l/slackoff.svg)](https://pypi.org/project/slackoff)\n[![PyPI Version](https://img.shields.io/pypi/v/slackoff.svg)](https://pypi.org/project/slackoff)\n[![PyPI Downloads](https://img.shields.io/pypi/dm/slackoff.svg?color=orange)](https://pypistats.org/packages/slackoff)\n\n## Setup\n\n### Requirements\n\n* macOS (for AppleScript)\n* Slack for Mac\n* Python 3.10+\n\n### Installation\n\nInstall this tool globally with [pipx](https://pipxproject.github.io/pipx/) (or pip):\n\n```sh\n$ pipx install slackoff\n```\nor add it to your [Poetry](https://python-poetry.org/docs/) project:\n\n```sh\n$ poetry add slackoff\n```\n\n## Usage\n\nAfter installation, automatically sign out of a Slack workspace:\n\n```sh\n$ slackoff My Company Workspace\n```\n\nor sign back in:\n\n```sh\n$ slackoff\n```\n\nSlackoff will remember the last workspace used and attempt to toggle appropriately.\n\n### Additional Options\n\nTo explicitly attempt to sign in or out, include the corresponding flag:\n\n```sh\n$ slackoff --signin\n$ slackoff --signout\n```\n\nView the help for more options:\n\n```sh\n$ slackoff --help\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Automatically sign out of Slack workspaces on macOS.",
    "version": "1.2",
    "project_urls": {
        "Documentation": "https://slackoff.readthedocs.io",
        "Homepage": "https://pypi.org/project/slackoff",
        "Repository": "https://github.com/jacebrowning/slackoff"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d087a4eb1840ca380e9c0f1c8caebc8e5fd53058ef363b5db340ac2d89a587bf",
                "md5": "6543d32fe2d477d4ea34566e539787c3",
                "sha256": "b831f727e4844ffba4d607759ea470830bdd193e77cb640487c12f60ed9278d5"
            },
            "downloads": -1,
            "filename": "slackoff-1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6543d32fe2d477d4ea34566e539787c3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 10036,
            "upload_time": "2024-04-08T22:28:22",
            "upload_time_iso_8601": "2024-04-08T22:28:22.823602Z",
            "url": "https://files.pythonhosted.org/packages/d0/87/a4eb1840ca380e9c0f1c8caebc8e5fd53058ef363b5db340ac2d89a587bf/slackoff-1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f6c9b949877c1d988c1edf816608ae0bd2100a093e564cec6659eaea01e461e5",
                "md5": "7122461b9ba19b6b556703415c43569b",
                "sha256": "ec200432830603d97de0aa87fd7d27d17fd580df4621cbf4867d19fdfb037b6d"
            },
            "downloads": -1,
            "filename": "slackoff-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7122461b9ba19b6b556703415c43569b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 8185,
            "upload_time": "2024-04-08T22:28:24",
            "upload_time_iso_8601": "2024-04-08T22:28:24.116670Z",
            "url": "https://files.pythonhosted.org/packages/f6/c9/b949877c1d988c1edf816608ae0bd2100a093e564cec6659eaea01e461e5/slackoff-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-08 22:28:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jacebrowning",
    "github_project": "slackoff",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "slackoff"
}
        
Elapsed time: 0.23894s