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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file pytt-base-1.0.1.tar.gz.

File metadata

  • Download URL: pytt-base-1.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.10

File hashes

Hashes for pytt-base-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c627299e5e3c3a20425f7b9ebc341d0813758a1ff66a5f6b87ad60d1302f2197
MD5 138b23ebd16a7bf1cf111cb71d843c9e
BLAKE2b-256 41d4b13b73024e0761b826c18f04b90cf4c4a1b6a6ddda2f100f1fd9f030d5ca

See more details on using hashes here.

File details

Details for the file pytt_base-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pytt_base-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.10

File hashes

Hashes for pytt_base-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 28a011c5b1513151205f2de8c86ab251f95ff7ada4468d810fa1b599b47e6612
MD5 b6ab7063226bb04fb7999573856e5d82
BLAKE2b-256 c50b65bebda668b92bc790000346dd04cdd7b69730aad709096e698e5da5206e

See more details on using hashes here.

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