Slacktivate is a Python library and Command-Line Interface to assist in the provisioning of a Slack workspace.
Project description
Slacktivate
Slacktivate is a Python library and Command-Line Interface to assist in the provisioning of a Slack workspace, using both the Slack API and the Slack SCIM API.
Prerequisites: Having Owner Access and Getting an API Token
In order to use the SCIM API, you need to be an owner of the workspace, and obtain an API token with admin
scope.
As explained in the official Slack SCIM API documentation, the easiest way to obtain a valid token for the purposes of SCIM provisioning is as follows:
- As a Workspace/Organization Owner, create a new app for your workspace (see here for the documentation).
- Add the
admin
OAuth scope to the "User Token Scopes" section. - Install the app to your workspace (see here for the documentation).
- Use the generated token (if you are provided with multiple tokens, use the "OAuth Access Token" not the "Bot User OAuth Access Token").
Note that you can easily reinstall your app with different permissions if it turns out you did not select all the necessary permissions.
License
This project is licensed under the LGPLv3 license, with the understanding that importing a Python modular is similar in spirit to dynamically linking against it.
-
You can use the library/CLI
slacktivate
in any project, for any purpose, as long as you provide some acknowledgement to this original project for use of the library (for open source software, just explicitly includingslacktivate
in the dependency such as apyproject.toml
orPipfile
is acknowledgement enough for me!). -
If you make improvements to
slacktivate
, you are required to make those changes publicly available.
This license is compatible with the license of all the dependencies as
documented in this project's own pyproject.toml
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for slacktivate-0.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8017b2471a1c4167a4b034a77be261c3f9b106c93d29506ca709e5dd531734f5 |
|
MD5 | 9efd76f690d5e89b6b8e075f1ff88401 |
|
BLAKE2b-256 | aa70fbe59a906ab32aa9dc6132b0d3ad18b4464a75ba65471c63d2082c73eee6 |