Project Description
Project description
Python Telejson
###############
Install and use Telejson eaisily for Python projects.
Installation
############
Installing from Pypi:
pip install telejson
Installing latest Hg version:
pip install -e hg+https://Nekmo@bitbucket.org/Nekmo/python-telejson#egg=telejson
Usage
#####
Create new Telejson instance:
telejson = Telejson()
Start telejson instance:
telejson.start()
That's all!! To use Pytg2 with Telejson easily:
sender = self.telejson.get_sender()
def handler(msg):
if msg.text == u'ping':
sender.send_msg(msg.sender.cmd, u"Pong!")
self.telejson.handler(handler)
And yes, that's it! Please read the documentation of Pytg2. https://bitbucket.org/luckydonald/pytg2/overview It is to
him that you have to thank. This is just a wrapper.
###############
Install and use Telejson eaisily for Python projects.
Installation
############
Installing from Pypi:
pip install telejson
Installing latest Hg version:
pip install -e hg+https://Nekmo@bitbucket.org/Nekmo/python-telejson#egg=telejson
Usage
#####
Create new Telejson instance:
telejson = Telejson()
Start telejson instance:
telejson.start()
That's all!! To use Pytg2 with Telejson easily:
sender = self.telejson.get_sender()
def handler(msg):
if msg.text == u'ping':
sender.send_msg(msg.sender.cmd, u"Pong!")
self.telejson.handler(handler)
And yes, that's it! Please read the documentation of Pytg2. https://bitbucket.org/luckydonald/pytg2/overview It is to
him that you have to thank. This is just a wrapper.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for telejson-installer-0.1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df258fa921474a795416290319b38c38bd92d4f094c4529a10348b3b5812f37b |
|
MD5 | b197fa8d92808a1d2536d9bf2d9d49d7 |
|
BLAKE2b-256 | 6d1724c7589b7d81a0c8634fee9d9c7bfdbfaa61a7deefcf7362b18d55237f20 |