Skip to main content

Van - Fanfou SDK

https://travis-ci.org/j178/van.svg?branch=master Documentation Status https://badge.fury.io/py/van.svg https://img.shields.io/badge/python-3.5-blue.svg https://img.shields.io/badge/license-MIT-blue.svg https://badges.gitter.im/fanfou-cli2/Lobby.svg

详细文档请前往 ➔ Readthedocs

Example

from van import Fan

fan = Fan(consumer_key, consumer_secret)
fan.xauth(username,password)
# or use oauth
# url = fan.authorization_url()
# visit the authorization url and copy the redirect url
# fan.oauth(redirect url)
fan.update_status('你好啊,李银河!')

Installation

van 只支持 Python3, 请前往官网下载安装 Python 3.5 以上版本。

如果你是开发者,你也可以帮助我兼容 Python2

之后可以使用 pip 安装:

pip3 install van

或者下载源码安装:

git clone https://github.com/j178/van
cd van
pip3 install . --user

申请应用

要使用 van 你还需要在饭否中申请一个应用:

  1. 在 http://fanfou.com/apps 中创建新应用

  2. 应用名称、主页、描述等信息可以随意填写

  3. 记录下 Consumer Key 和 Consumer Secret

Metadata

Release files for van 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for van 0.0.6
File Size Uploaded Provenance
van-0.0.6.tar.gz 26.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for van 0.0.6
File Interpreter ABI Platform
van-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 40.2 kB

Release files / van-0.0.6.tar.gz

Download URL van-0.0.6.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7afb4f2bae86d898f7f7e4f596279d6c741a17600560770be7779c7aa8988df0
BLAKE2b-256 checksum
How to use checksums
a569d3eaeb9ad78c88d6b10b449496f6a0dd0f0df27dea6b3b0c2817f0c40d2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / van-0.0.6-py3-none-any.whl

Download URL van-0.0.6-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b1ffa76bb9ef48e78dbf3d73c2bf75949b7e9170c906949d79d6c623826ed35
BLAKE2b-256 checksum
How to use checksums
1fa138c68002b0e8fca3018fed6cfbb4a39c9e4aff0bfeed8b102f9df1b25a4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for van 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page