Skip to main content
# python_slack_print

## About

python_slack_print is a simple printer for both stdout and slack channel

## Examples

```python
from slack_print import SlackPrint

sp = SlackPrint('<your-slack-access-token>', '#general')

# Print
sp.print('hello world')

# Upload a file
sp.upload('hello.txt')
```

## Installation

```
$ pip install python_slack_print
```

## Tip

### Replace your print() with sp.print()

You can replace your print() with sp.print() with UNIX command.
Below is one of the simplest ways. (There must be a better way.)

```
sed -i -e "s/print(/sp.print(/g" <file-to-be-replaced>
```

Release files for python-slack-print 1.0.5

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

Source distribution (sdist)

Source distribution for python-slack-print 1.0.5
File Size Uploaded
python_slack_print-1.0.5.tar.gz 1.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-slack-print 1.0.5
File Interpreter ABI Platform
python_slack_print-1.0.5-py3.6.egg Legacy Egg format - - Details

Total release size: 4.9 kB

Release files / python_slack_print-1.0.5.tar.gz

Download URL python_slack_print-1.0.5.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4b2e03b8a4515cb79c57e04185f3385ed5d7caf2719b3775d5a241ea44c5bfd0
BLAKE2b-256 checksum
How to use checksums
1b9d660a5182dbb503ec7379c2185166d23e7d1056723768b12430c3e736cc96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python_slack_print-1.0.5-py3.6.egg

Download URL python_slack_print-1.0.5-py3.6.egg
Size 3.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
a05feadda33096e17d78acd312d6a338365ec89cf2a49152ed8dcdd8d75f3d40
BLAKE2b-256 checksum
How to use checksums
dd78d2edbf6f152666b95f27b9ee68df743db7afce51c208cb02af3eba34cef2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

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