Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telejson-installer-0.1.0.1.tar.gz (6.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page