Skip to main content

A Slack command line program in Python.

Purpose

A simple command line application for sending Slack messages. My use case is to automate sending certain Slack app commands through triggers created with (Hammerspoon)[www.hammerspoon.org], but there’s nothing stopping it from being used for other use cases.

Usage

If you’ve cloned this project, and want to install the library (and all development dependencies), the command you’ll want to run is:

$ pip install -e .[test]

If you’d like to run all tests for this project (assuming you’ve written some), you would run the following command:

$ python setup.py test

This will trigger py.test, along with its popular coverage plugin.

Lastly, if you’d like to cut a new release of this CLI tool, and publish it to the Python Package Index (PyPI), you can do so by running:

$ python setup.py sdist bdist_wheel
$ twine upload dist/*

This will build both a source tarball of your CLI tool, as well as a newer wheel build (and this will, by default, run on all platforms).

The twine upload command (which requires you to install the twine tool) will then securely upload your new package to PyPI so everyone in the world can use it!

Release files for slackline 0.1.0

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

Source distribution (sdist)

Source distribution for slackline 0.1.0
File Size Uploaded
slackline-0.1.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slackline 0.1.0
File Interpreter ABI Platform
slackline-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 11.9 kB

Release files / slackline-0.1.0.tar.gz

Download URL slackline-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
228e0ed6f1825f44c8f121e4e406e99d0881490e4b12a1e5bec24afd50e22ceb
BLAKE2b-256 checksum
How to use checksums
33c1093c3d9fb1e238856d99d17a231560d42d565c29161dbea40db2ad5db261
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / slackline-0.1.0-py2.py3-none-any.whl

Download URL slackline-0.1.0-py2.py3-none-any.whl
Size 6.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a960c9e00cc3c18a788e5e0a3e0a93d894cbcf25406740173d9c16fcbdc301a0
BLAKE2b-256 checksum
How to use checksums
3328cf17104de93731d4bf7249904781fb85be9da06fde349073cc7b6712d696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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