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.post1.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.post1-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ravestate-0.1.post1.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.post1.tar.gz
Algorithm Hash digest
SHA256 36c6c81271ab7b02e3da53773ea018c5145b3edd3c87eae0de1d3684f9e568e8
MD5 99d9864092e27d13aff9f35d99a14946
BLAKE2b-256 304d222bbd6763457f86955c9630971fc1add5eefbb24e27b38bcb71a1d4346e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ravestate-0.1.post1-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.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 73779e27daddf12b6cd0e5ac9e220d6ad71cb8e1260d5d03fae7979a1716d8a3
MD5 bef7d6fba1c217cba53ad2cd8e049940
BLAKE2b-256 0b1bd2992c5afdd6b7576270e45175c538bb434dde8052a736a0d997357905fe

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