Skip to main content

A skeleton command line program in Python.

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slackline-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slackline-0.1.0-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file slackline-0.1.0.tar.gz.

File metadata

  • Download URL: slackline-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for slackline-0.1.0.tar.gz
Algorithm Hash digest
SHA256 228e0ed6f1825f44c8f121e4e406e99d0881490e4b12a1e5bec24afd50e22ceb
MD5 4c3056134444ec2d9ca1fe42fa9d010c
BLAKE2b-256 33c1093c3d9fb1e238856d99d17a231560d42d565c29161dbea40db2ad5db261

See more details on using hashes here.

File details

Details for the file slackline-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for slackline-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a960c9e00cc3c18a788e5e0a3e0a93d894cbcf25406740173d9c16fcbdc301a0
MD5 a1041ac5723bb8bd4a0dedb7bc1f491e
BLAKE2b-256 3328cf17104de93731d4bf7249904781fb85be9da06fde349073cc7b6712d696

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page