A skeleton command line program in Python.
A Slack command line program in Python.
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.
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
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!
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|slackline-0.1.0-py2.py3-none-any.whl (6.3 kB) Copy SHA256 hash SHA256||Wheel||py2.py3|
|slackline-0.1.0.tar.gz (5.6 kB) Copy SHA256 hash SHA256||Source||None|