Skip to main content

A Python library to manage WordPress sites via the REST API

Project description

Woppy

Woppy is a Python library to manage WordPress sites via the REST API.

Installation

pip install woppy


## Usage


```python
from woppy import Woppy

woppy = Woppy('https://your-wordpress-site.com', 'your-username', 'your-password')

# Create a new post
new_post = woppy.create_post('My New Post', 'This is the content of my new post')

# Update an existing post
updated_post = woppy.update_post(new_post['id'], title='Updated Title')

# Get categories
categories = woppy.get_categories()

# Create a new category
new_category = woppy.create_category('New Category', 'This is a new category')

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

woppy-0.1.3.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

woppy-0.1.3-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file woppy-0.1.3.tar.gz.

File metadata

  • Download URL: woppy-0.1.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for woppy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0dbe17abfbba9381bbb62a6ff70af24174fb363c822bc656dcd5df7114b23b4b
MD5 7065e12c5c59944be92341531176bfb1
BLAKE2b-256 9c475e5703a619aa42171ada554c17b096e56ffcb2dd0b8448497054d9782724

See more details on using hashes here.

File details

Details for the file woppy-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: woppy-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for woppy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d674b3ed78f43c3748ce0dd2a25a84558129e35d6da1c87f4a4c6920e0f6217c
MD5 79cce0a9d2bb31fb02f35719ebcbac2d
BLAKE2b-256 0b000317f48cf8b6d69523c866c1441232d4343cb4280291edaf49dbe1733367

See more details on using hashes here.

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