django-slappy
This is a django app that allows you to run python interactively in slack. It requires an existing server running django.
Features
Variable Persistence
Shared Scope
allows interactivity between users
Multi-liners
Fool Proof
Long running code will be terminated
Exit prevention
Installation
Need an already running django site
pip install django-slappy
-
Add "django_slappy" to your INSTALLED_APPS setting like this
INSTALLED_APPS = [ ... 'django_slappy', ]
-
Include the URLconf in your project urls.py like this
path('slappy/', include('django_slappy.urls'))
-
Create a slack app and add command with url 'http://your-server/slappy/'
-
Install to workspace. Slack will give you an OAUTH secret. Paste to your
settings.pylike followingSLACK_OAUTH_SECRET = "abab-1231231231232-sfasfasdf-12312312"A better practice is to use environment variable.
Note
Of course you'll expose your server to remote-exploitation.
Make sure your have nice people in your workspace, otherwise prepare to get your entire server deleted
Metadata
Release files for django-slappy 0.0.2
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 |
|---|---|---|---|---|
| django-slappy-0.0.2.tar.gz | 6.6 kB | Without provenance | Details for django-slappy-0.0.2.tar.gz |
Release files / django-slappy-0.0.2.tar.gz
| Download URL | django-slappy-0.0.2.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7fa63da34ad9dbdc8dbabd3428ec72d58323e39a636070cfdb8e736e6b534e4
|
|
BLAKE2b-256 checksum How to use checksums |
55daec38e67954a12b592f0072dce806c86ac42c3c790c63ff3edf8b00d47bba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for django-slappy 0.0.2
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.