Skip to main content

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


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-1.0.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssi_pingme-1.0.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file ssi_pingme-1.0.0.tar.gz.

File metadata

  • Download URL: ssi_pingme-1.0.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for ssi_pingme-1.0.0.tar.gz
Algorithm Hash digest
SHA256 df7d8d620a0a7a3c07e704a6dcbf415b8b3b993a97bab2266139d19ee232bec1
MD5 d1a19d1fbb0463826840b42aaf131185
BLAKE2b-256 6d0b3d7d2c3320ca975d2c46e42eba1c98386d661d88a5dcac62c12a2b07b902

See more details on using hashes here.

File details

Details for the file ssi_pingme-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ssi_pingme-1.0.0-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

Hashes for ssi_pingme-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efedf6c0432285126e7a89a1cd079a442205e0d161fa90b6595ffffe3e4b4e6d
MD5 8c1aa4395c4f92cd15d737b51a5a6270
BLAKE2b-256 e377992857ac4610febfa5f9958db4f242c8c069039cf198f8a9381c98ebf9d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page