Python Typecho Client (XMLRPC)
Project description
PyTypecho
Python Typecho Client (XMLRPC).
Introduction
Requirements
- Python >= 3.7
Install
pip install pytypecho
Usage
from pytypecho import Typecho
te = Typecho('http://127.0.0.1/index.php/action/xmlrpc', username='admin', password='admin')
print(te.get_posts())
Documents
Status
Functions
- Post
- get Post/Posts
- new Post (Not fully tested!)
- edit Post
- delete Post
- Page
- get Page/Pages
- new Page (Not fully tested!)
- edit Page
- delete Page
- Category
- get Categories
- new Category
- delete Category(Not work)
- Tag
- get Tags
- Attachment
- get attachment/attachments
- new attachment
- Comment
- get comment(Not work)/comments
- new comment
- edit comment
- delete comment
Others
- Tests
- Documentations
License
PyTypecho is released under the MIT License. See LICENSE for more information.
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
pytypecho-2.0.0.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pytypecho-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b841f9e3e7f193a584e0df47257e37c6b1fedf9dea7cb508ef2557d16396ff68 |
|
MD5 | 67d573cccab8021f66ec2bf4e0e89732 |
|
BLAKE2b-256 | 0b065e19d9db26e7e4ed49afbbef01d077dbbdf69b99360befd453f1e395b7be |