Python Makefile
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
docs
go/src/github.com
ninchat
tests
.gitignore
.gitmodules
.travis.yml
LICENSE
Makefile
README.md
build_cffi.py
requirements.txt
setup.py

README.md

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