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.
Telejson website: https://bitbucket.org/luckydonald/tg-for-pytg2.git
###############
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.
Telejson website: https://bitbucket.org/luckydonald/tg-for-pytg2.git
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d2c41f31a1bf09b13a1b55a3971e63dd913dbfeb9ba66d5c8c167ecbfb7a4c0 |
|
MD5 | b75f9e7632c583c018194b0eb7b3b528 |
|
BLAKE2b-256 | 3d9ae63edd3aa9c769e0837537ae9eec7c5fd6826e591ed5e4ae21561a8c75ec |