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.13.tar.gz
(16.8 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.13.tar.gz.
File metadata
- Download URL: ssi_pingme-0.0.13.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b89d544780cdf6ac14645c447075ff51a2895815bacccce670af0ac91c0a7ba1
|
|
| MD5 |
c4f7ca7aa171265cf84d5c5e3b0f76df
|
|
| BLAKE2b-256 |
c6b9f2bfd9026af9715866793c9b2731c9cd77780acfcbf6acf33361f10ef4a0
|
File details
Details for the file ssi_pingme-0.0.13-py3-none-any.whl.
File metadata
- Download URL: ssi_pingme-0.0.13-py3-none-any.whl
- Upload date:
- Size: 18.3 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 |
79281ed23088b96e50d294859c0ce730d344149b7adb0e356078f2de90cc57b2
|
|
| MD5 |
e074c09adb7d8cef2b3643eae278c778
|
|
| BLAKE2b-256 |
93f509146e8a7e6892bd39b969989c5a118a44f7fb6f77d5da6e50fa46f2af93
|