Skip to main content

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

ReadTheDocs

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)

Uploaded Source

Built Distribution

pytypecho-2.0.0-py3-none-any.whl (7.6 kB view hashes)

Uploaded 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