- Python library for Ninchat API integrations
nincat
utility
- Python 2.7 or 3.4+
- cffi and Go compiler (for API client)
- cryptography or PyCrypto (for secure metadata)
$ 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 -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