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
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
pytt-base-1.0.0.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file pytt-base-1.0.0.tar.gz
.
File metadata
- Download URL: pytt-base-1.0.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fd349dedd61daf05571b5c7d4c22f5224b8b19f47253a1f4195b3cd9b24ecd7 |
|
MD5 | cea2b40dc0b915d5ba8a743f9f0ee410 |
|
BLAKE2b-256 | 51d1d2ad11e18a2dd2ad23f42cae3ebbe6d3e905f9ed7f997d7c55e2f8291bac |
File details
Details for the file pytt_base-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytt_base-1.0.0-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.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffb9d44b163edb1be81796f6674d8fe6adb08afb6a5fe5d87f3437af32b85645 |
|
MD5 | 431db4b932a2eab2b55d2c0199d971cc |
|
BLAKE2b-256 | ebe6d100fcaf087512c65f7f9f1f570796bd1fbb8d58cb823ae319de851bae8c |