semvec/pypi-packages huggingface dataset:
tracardi-text-classification 0.6.0
It connects to the service that classifies given sentence
Requires Python: >=3.8
Keywords: tracardi,plugin

# Text Classification

This plugin classifies provided text.

# Configuration

```json
{
  "source": {
    "name": "Text classification",
    "id": "e7a3979e-7f31-452b-a571-8ca613de77fb"
  },
  "language": "en",
  "model": "press",
  "title": "The iPhone 13 isn’t a game changer",
  "text": "The iPhone 13 isn’t a game changer for Apple’s series of smartphones, but it’s an ..."
}
```

* *source.id* - Id that points to resource with an access token. See below for resource configuration schema.
* *language* - language of the text to classify. (en|sp|it|pt|ct|fr)
* *title* - optional title of the text
* *text* - text to classify

## Resource configuration

```json
{
  "token": "dgrhfcd6hhdj706..."
}
```

# Output

*Example*

```json
{
  "categories": [
    {
      "code": "13016000",
      "label": "science and technology - electronics",
      "abs_relevance": "0.2833175",
      "relevance": "100"
    }
  ]
}
```
tracardi-mongodb-connector 0.6.0
The purpose of this plugin is to connect to mongo and retrieve data.
Requires Python: >=3.8
Keywords: tracardi,plugin

# Mongo connector

This plugin connects to mongo and queries this database.

# Configuration

```json
{
  "source": {
    "name": "MongoDB",
    "id": "fbabb00e-a724-40bf-b889-bd8d6a7f25e2"
  },
  "database": "my_database",
  "collection": "my_collection",
  "query": "{}"
}
```

* *database* - database name.
* *collection* - mongodb collection.
* *query* - mongodb query.

# Input

This node does not process input payload.

# Output

Query result.
tracardi-event-scheduler 0.6.0
This plugin schedules event at given time.
Requires Python: >=3.8
Keywords: tracardi,plugin

# Event scheduler

This action will schedule an event to be triggered after given time.

# Configuration

```json
{
  "event_type": "<event-type>",
  "properties": {},
  "postpone": "+1m"
}
```

* *event_type* - type name of event type. e.g. 'page-view', 'purchase-order'.
* *properties* - event properties. This is a regular object with key value pairs. 
* *postpone* - for how long would you like the event to be postponed. For exmaple 1m means trigger event one minute after the action was executed.

# Input

This node does not process input data

# Output

Postponed task details. It will include the event iself with , context,profile, etc.
oneNeuron-pypi.py-chittariraghu 0.0.1
its an implementation of perceptron
Requires Python: >=3.7

# oneNeuron_pypi
oneNeuron_pypi


#Reference-
[official python docs](https://packaging.python.org/tutorials/packaging-projects/)

[github docs for github actions](https://docs.github.com/en/actions/guides/
building-and-testing-python#publishing-to-package-registries)
websocket-ping 1.0.1
Small package to connect to and then send ping message to a websocket endpoint.  Used for a quick test of ws servers.
Requires Python: >=3.8

## ping_ws.py usage

### setup
#### To install pip package
```
pip install websocket-ping
```

#### For dev version
```
python -m venv .venv
source .venv/bin/activate
pip install -r requirements_ws_ping.txt
```


### cli interface
-w flag is for the websocket endpoint
-d is the duration to test if the connection is maintained (in seconds)
```
python -m ping_ws.ping_ws -w wss://host/ws/ping/ -d [int]
```

### examples
```
# Failure to connect - server rejecting connection
(.venv) $ python -m ping_ws.ping_ws -w wss://host/ws/ping/
Connection to wss unsuccessful: server rejected WebSocket connection: HTTP 502


# Success on connection
(.venv) $ python -m ping_ws.ping_ws -w ws://localhost:8000/ws/ping/
Successfully connected to ws://localhost:8000/ws/ping/, response to ping: pong
Maintained connection to ws://localhost:8000/ws/ping/, response to ping: pong
Success!


```