slacki
Star it if you like it!
- Slacki is Python package for reading and posting in slack groups.
Installation
- Install slacki from PyPI (recommended). slacki is compatible with Python 3.6+ and runs on Linux, MacOS X and Windows.
- A new environment can be created as following:
conda create -n env_slacki python=3.8
conda activate env_slacki
pip install slacki
Import slacki package
from slacki import slacki
Example:
# Import library
from slacki import slacki
from slacki import slacki
sc = slacki(channel='new_channel', token='xoxp-123234234235-123234234235-123234234235-adedce74748c3844747aed48499bb')
# Get some info about the channels
channels = sc.get_channels()
# Get some info about the users
users = sc.get_users()
# Send messages
queries=['message 1','message 2']
sc.post(queries)
# Snoozing
sc.snooze(minutes=1)
# Post file
sc.post_file(file='./data/slack.png', title='Nu ook met figuren uploaden :)')
# listen (retrieve only last message)
out = sc.retrieve_posts(n=3, retrieve_names=True)
Citation
Please cite slacki in your publications if this is useful for your research. Here is an example BibTeX entry:
@misc{erdogant2020slacki,
title={slacki},
author={Erdogan Taskesen},
year={2020},
howpublished={\url{https://github.com/erdogant/slacki}},
}
References
Maintainer
Metadata
Release files for slacki 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| slacki-1.1.1.tar.gz | 9.7 kB | Without provenance | Details for slacki-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| slacki-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for slacki-1.1.1-py3-none-any.whl |
Total release size: 20.0 kB
Release files / slacki-1.1.1.tar.gz
| Download URL | slacki-1.1.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
929d8118cc9586e515512a0c49a12b928e741b79dec8df25833cf28b9cc67cd1
|
|
BLAKE2b-256 checksum How to use checksums |
d510f3c59f81240388319749de0c782368e0f021b33ea5b69a51679a8602addb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / slacki-1.1.1-py3-none-any.whl
| Download URL | slacki-1.1.1-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a7254ef6f4068f098511bfb5e8e0358e9523521a4b5622645d32a4db98617d9
|
|
BLAKE2b-256 checksum How to use checksums |
4e02af92d379f186dcb211122650d1546beb6afa6775cbae10998fdaa262f6fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for slacki 1.1.1
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.