Skip to content

ninchat/ninchat-python

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

status

Overview

  • Python library for Ninchat API integrations
  • nincat utility

Requirements

Installation

$ pip install git+https://github.com/ninchat/ninchat-python.git

Source checkout:

$ git clone --recurse-submodules https://github.com/ninchat/ninchat-python.git
$ cd ninchat-python
ninchat-python$ sudo apt install python3-cryptography python3-cffi golang-go || sudo pip install -r requirements.txt
ninchat-python$ sudo python3 setup.py install

Nincat usage

$ nincat -h
$ nincat --create-user marv
$ nincat --join 0gu1nf0c
$ echo hello world | nincat 0gu1nf0c
$ nincat --set-email joe.user+bot@example.com
$ nincat -l
<frank> good morning

Running from source tree:

ninchat-python$ export PYTHONPATH=:build/lib.linux-x86_64-3.6  # or something
ninchat-python$ bin/nincat