Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AutoSlack

AutoSlack is a simple module designed to automate some tasks for http://slack.com. Currently it includes an invite method for automatically inviting persons to a Slack community.

Installation

pip install autoslack

(you could also simply add autoslack to your requirements.txt, setup.py or buildout file)

Usage

To use this you will need to generate a token by visiting https://api.slack.com/web#authentication, the token is passed to the autoslack.invite() method.

https://github.com/PythonJamaica/autoslack/raw/master/slacktoken.png

The invite() method returns feedback from the Slack API in json format

import autoslack
output = autoslack.invite(group="SLACKCOMMUNITYNAME",
                token="XXXXXXX",
                firstname="XXXXXXXX",
                lastname="XXXXXXX",
                emailaddress="XXXXXXX",
                channels=['XXXXX','XXXXX']
                )
print(output)

A script like the one above would give output similar to this

{u'ok': True}

Metadata

Release files for autoslack 0.0.1.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoslack 0.0.1.dev1
File Size Uploaded Provenance Actions
autoslack-0.0.1.dev1.tar.gz 3.6 kB Without provenance Details for autoslack-0.0.1.dev1.tar.gz

Release files / autoslack-0.0.1.dev1.tar.gz

Download URL autoslack-0.0.1.dev1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7161187273f1271a1621271ddbbdc8c56381a8723f0cbb09afc9d745b7a04cd2
BLAKE2b-256 checksum
How to use checksums
dfad2c5c8b538c0390d5aafccb0d808fe8b0252b2a122109dec0114908bb2f6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for autoslack 0.0.1.dev1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page