Skip to main content

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.

Source Distribution

pytt-base-1.0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

pytt_base-1.0.1-py2.py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 2 Python 3

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