Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

No project description provided

Project description

Toutiao Base Class for Python.

Installation

pip install pytt-base

Usage

In [1]: from pytt_base import BaseToutiao

In [7]: class XXX(BaseToutiao):
   ...:     pass
   ...:

In [3]: xxx = XXX()

In [4]: xxx.DEVELOPER_DOMAIN
Out[4]: 'https://developer.toutiao.com'

In [6]: xxx._requests
Out[6]: <bound method XXX._requests of <__main__.XXX object at 0x7f9248260d10>>

In [7]:

Project details


Download files

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

Files for pytt-base, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pytt_base-1.0.1-py2.py3-none-any.whl (2.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pytt-base-1.0.1.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page