TODO
Project description
ssi_pingme
Dev mode
#Create the dev environment in ./.venv then activate it so you're working in it
conda env create -p ./.venv --file conda.dev.env.yaml
conda activate ./.venv
#Need to add kernel to jupyterhub for processing on server, ipykernel is part of conda.dev.env.yaml
python -m ipykernel install --user --name=Pingme
#After this change your kernel to Pingme via JupyterHub (top right of a notebook)
#Now we need to create the repo locally
nbdev_export
#with it created we can install the dev env
pip install -e '.[dev]'
#optional test to ensure it worked
core_hello_world test #to test everything works
#now we can do nbdev_prepare
nbdev_prepare
If releasing to conda be sure to add the channel povilasmat to your conda for envyaml
Install
pip install ssi_pingme
How to use
To run as a webservice, be sure the config_file has the webhook param!
!pingme_start_webservice -h
zsh:1: command not found: start_pingme_webservice
!pingme_webhook_default -h
usage: pingme_webhook_default [-h] [--config_file CONFIG_FILE]
options:
-h, --help show this help message and exit
--config_file CONFIG_FILE
!pingme_webhook_simple -h
usage: pingme_webhook_simple [-h] [--config_file CONFIG_FILE] title text
positional arguments:
title
text
options:
-h, --help show this help message and exit
--config_file CONFIG_FILE
!pingme_webhook_card -h
usage: pingme_webhook_card [-h] [--config_file CONFIG_FILE] card
positional arguments:
card
options:
-h, --help show this help message and exit
--config_file CONFIG_FILE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssi_pingme-0.0.14.tar.gz
(17.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssi_pingme-0.0.14.tar.gz.
File metadata
- Download URL: ssi_pingme-0.0.14.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c1b3cc9359cd97d90ac82eb411c5baf45452177def553ac66aee5cedee3cc7c
|
|
| MD5 |
091f262519f8d8e2b38f7a20899526bd
|
|
| BLAKE2b-256 |
7a52de2abed5819d26238b4d3b50603ea2cd19de14c3a27752a4a2c06dff4e6d
|
File details
Details for the file ssi_pingme-0.0.14-py3-none-any.whl.
File metadata
- Download URL: ssi_pingme-0.0.14-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10afab9bc2b3534aa0dc1cd62a029a9e5d95b61ed883669004bcf4ffd61f2b78
|
|
| MD5 |
120c15155eb0ee6e6a0ee496145092b9
|
|
| BLAKE2b-256 |
3b27eab5dd1f259e67aa8288f09bd5e176e91369545ea4d2b3a8d76ee335cde6
|