Metadata-Version: 2.2
Name: ssi_pingme
Version: 1.0.0
Summary: TODO
Home-page: https://github.com/$GIT_USER_NAME/pingme
Author: $GIT_USER_NAME
Author-email: kimleeng@gmail.com
License: MIT License
Keywords: nbdev jupyter notebook python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastcore
Requires-Dist: pydantic-settings
Requires-Dist: pydantic
Requires-Dist: uvicorn
Requires-Dist: python-dotenv
Requires-Dist: pandas
Requires-Dist: requests
Requires-Dist: fastapi
Requires-Dist: httpx
Requires-Dist: envyaml
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# ssi_pingme


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

# Dev mode

``` sh
#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

``` sh
pip install ssi_pingme
```

## How to use

To run as a webservice, be sure the config_file has the webhook param!

``` python
!pingme_start_webservice -h
```

    zsh:1: command not found: start_pingme_webservice

``` python
!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

``` python
!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

``` python
!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
