Skip to main content

Ravestate is a reactive library for real-time natural language dialog systems.

Project description

                                 _ __    _ __     
    _ ___ ____  __  ______  ______/ /_____/ /___     
 _ _ /  \/ __ \/ / / /__  \/ ___\, / __ \, /__  \  
_ _ / /\/ /_/ /\ \/ / /_/ /\__, / / /_/ / / /_/ /     
  _ \/ _\__/\/ _\__/ ,___/\____/\/\__/\/\/ ,___/
 _____          _ _\____/             _ _\____/                    
/_   _\
 0>  0> 
\__⊽__/  (C) Roboy 2018
   ⋂                                           

About

Ravestate is a reactive library for real-time natural language dialog systems.

Dependencies

portaudio on macOS

In order to install PyAudio with pip, you need to install portaudio first using:

brew install portaudio

Installation

Via PIP

The easiest way to install ravestate is through pip:

pip install ravestate

For developers

First, install dependencies:

pip install -r requirements.txt

# To run tests, install pytest, mocking, fixtures...
pip install -r requirements-dev.txt

Then, you may open the repository in any IDE, and mark the modules folder as a sources root.

Running Hello World

Ravestate applications are defined by a configuration, which specifies the ravestate modules that should be loaded.

To run the basic hello world application, run ravestate with a config file or command line arguments:

Running with command line spec

You can easily run a combination of ravestate modules in a shared context, by listing them as arguments to the rasta command, which is installed with ravestate:

rasta ravestate_conio ravestate_hello_world

Run rasta -h to see more options!

Running with config file(s)

You may specify a series of config files to configure ravestate context, when specifying everything through the command line becomes too laborious:

# In file hello_world.yml
module: core
config:
  import:
    - ravestate_conio
    - ravestate_hello_world

Then, run rasta with this config file:

rasta -f hello_world.yml

Running tests

If you have installed the dependencies from requirements-dev.txt you may run the ravestate test suite as follows:

./run_tests.sh

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

ravestate-0.1.post2.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

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

ravestate-0.1.post2-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file ravestate-0.1.post2.tar.gz.

File metadata

  • Download URL: ravestate-0.1.post2.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for ravestate-0.1.post2.tar.gz
Algorithm Hash digest
SHA256 b65c1ceaf699e8de2c7ad1b06674fd4ba08a3dbc2aed143a266739c0ae838dff
MD5 f996812fc4026b1b1afe28ea6917389c
BLAKE2b-256 c7634c95c39b82578b226734220eaba7ef5dfd615587411864dad3cef2750237

See more details on using hashes here.

File details

Details for the file ravestate-0.1.post2-py3-none-any.whl.

File metadata

  • Download URL: ravestate-0.1.post2-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for ravestate-0.1.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 c20d23e39cd8da7de0a5fa2d9f0e312c9a64057bcbd7def4233a3fd7eb3a8465
MD5 6f596275d077fe241165dc6e9e222969
BLAKE2b-256 e6b9d2b9ecbe5d09e06f25154aae321dfd25f264dc0f6b247c62555021e487fd

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