semvec/pypi-packages huggingface dataset:
simpleChatbotIntents 0.0.4
Simple interface for working with intents and chatbots. A built upon version of NeuralNine's package
Keywords: python,neural,machine learning,chatbots,chat,artificial intelligence,virtual assistant


# neuralintents

Still in a buggy alpha state.

## Setting Up A Basic Assistant

```python

from neuralintents import GenericAssistant

assistant = GenericAssistant('intents.json', model_name="test_model")
assistant.train_model()
assistant.save_model()

done = False

while not done:
    message = input("Enter a message: ")
    if message == "STOP":
        done = True
    else:
        assistant.request(message)
```

## Binding Functions To Requests

```python
from neuralintents import GenericAssistant

def function_for_greetings():
    print("You triggered the greetings intent!")
    # Some action you want to take

def function_for_stocks():
    print("You triggered the stocks intent!")
    # Some action you want to take

mappings = {'greeting' : function_for_greetings, 'stocks' : function_for_stocks}

assistant = GenericAssistant('intents.json', intent_methods=mappings ,model_name="test_model")
assistant.train_model()
assistant.save_model()

done = False

while not done:
    message = input("Enter a message: ")
    if message == "STOP":
        done = True
    else:
        assistant.request(message)
```
## Sample intents.json File
```json
{"intents": [
  {"tag": "greeting",
    "patterns": ["Hi", "How are you", "Is anyone there?", "Hello", "Good day", "Whats up", "Hey", "greetings"],
    "responses": ["Hello!", "Good to see you again!", "Hi there, how can I help?"],
    "context_set": ""
  },
  {"tag": "goodbye",
    "patterns": ["cya", "See you later", "Goodbye", "I am Leaving", "Have a Good day", "bye", "cao", "see ya"],
    "responses": ["Sad to see you go :(", "Talk to you later", "Goodbye!"],
    "context_set": ""
  },
  {"tag": "stocks",
    "patterns": ["what stocks do I own?", "how are my shares?", "what companies am I investing in?", "what am I doing in the markets?"],
    "responses": ["You own the following shares: ABBV, AAPL, FB, NVDA and an ETF of the S&P 500 Index!"],
    "context_set": ""
  }
]
}
```
flask-optional-routes 1.4.1
This package allows you to specify optional routes in a url path
Requires Python: >=3.6

# flask_optional_routes

## This package allows you to specify optional routes in a url path.<br><br>

## How it works
Simply place a '?' delimiter at the end of a path segment and <br>
this code will automatically add rules for all possible routes.<br><br>

## How to install
* Method 1: Use PIP
```
pip install flask_optional_routes
```

* Method 2: 
Download from Github<br><br>

## Usage Example1
```python
from flask import Flask

from flask_optional_routes import OptionalRoutes


app = Flask(__name__)
optional = OptionalRoutes(app)

@optional.routes('/<user_id>/<user_name>?/')
def foobar(user_id, user_name=None):
    return 'it worked!'

if __name__ == "__main__":
    app.run(host='0.0.0.0', port=5000)
```

Using @optional.routes('/<user_id>/<user_name>?/') <br>
the following urls will show the same endpoint:
* /1/
* /1/john/


## Usage Example2
```python
from flask import Flask

from flask_optional_routes import OptionalRoutes


app = Flask(__name__)
optional = OptionalRoutes(app)

@optional.routes('/a/b?/c/d?/')
def foobar():
    return 'it worked!'

if __name__ == "__main__":
    app.run(host='0.0.0.0', port=5000)
```

Using @optional.routes('/a/b?/c/d?/') <br>
the following urls will show the same endpoint:
* /a/c/
* /a/b/c/
* /a/c/d/
* /a/b/c/d/
paf-sapgui-eltrans-zfmta-rar 0.1.5
SAP GUI - Elements Transaction ZFMTA-RAR
Requires Python: >=3.9, <4
Keywords: as,asit,paf,gui,sap,sapgui,elements,transaction

# PAF - SAP GUI - Component - Elements

Providing functionality for the paf-framework at Axel Springer. 

The following modules are included:
- sessions
- transactions
- window
paf-sapgui-component-fields 0.1.3
SAP GUI - Component Fields
Requires Python: >=3.9, <4
Keywords: as,asit,paf,gui,sap,sapgui,component

# PAF - SAP GUI - Component - CareView

Providing functionality for the paf-framework at Axel Springer. 

The following modules are included:
There are no sub packages