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

  • <input type="checkbox" checked="" disabled="" /> Post
    • <input type="checkbox" checked="" disabled="" /> get Post/Posts
    • <input type="checkbox" checked="" disabled="" /> new Post (Not fully tested!)
    • <input type="checkbox" checked="" disabled="" /> edit Post
    • <input type="checkbox" checked="" disabled="" /> delete Post
  • <input type="checkbox" checked="" disabled="" /> Page
    • <input type="checkbox" checked="" disabled="" /> get Page/Pages
    • <input type="checkbox" checked="" disabled="" /> new Page (Not fully tested!)
    • <input type="checkbox" checked="" disabled="" /> edit Page
    • <input type="checkbox" checked="" disabled="" /> delete Page
  • <input type="checkbox" checked="" disabled="" /> Category
    • <input type="checkbox" checked="" disabled="" /> get Categories
    • <input type="checkbox" checked="" disabled="" /> new Category
    • <input type="checkbox" checked="" disabled="" /> delete Category(Not work)
  • <input type="checkbox" checked="" disabled="" /> Tag
    • <input type="checkbox" checked="" disabled="" /> get Tags
  • <input type="checkbox" checked="" disabled="" /> Attachment
    • <input type="checkbox" checked="" disabled="" /> get attachment/attachments
    • <input type="checkbox" checked="" disabled="" /> new attachment
  • <input type="checkbox" checked="" disabled="" /> Comment
    • <input type="checkbox" checked="" disabled="" /> get comment(Not work)/comments
    • <input type="checkbox" checked="" disabled="" /> new comment
    • <input type="checkbox" checked="" disabled="" /> edit comment
    • <input type="checkbox" checked="" disabled="" /> delete comment

Others

  • <input type="checkbox" checked="" disabled="" /> Tests
  • <input type="checkbox" checked="" disabled="" /> 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.

Files for pytypecho, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pytypecho-2.0.0-py3-none-any.whl (7.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytypecho-2.0.0.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page