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.7.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

woppy-0.1.7-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: woppy-0.1.7.tar.gz
  • Upload date:
  • Size: 2.1 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.7.tar.gz
Algorithm Hash digest
SHA256 d116fb520881e61a699c432d580ceaa29069c12bb72ad94d18e0f4f7bf47b6a7
MD5 62c19e7666d1ed831a9f5bea2c18a9a8
BLAKE2b-256 52d80ce2125d97186c5b00a434a180db0e17eaabf1301be4162ee6dde2463335

See more details on using hashes here.

File details

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

File metadata

  • Download URL: woppy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cbbb9a3f778cce16a4f965a52a9a7293829a2544518c240ef9786b645f34563e
MD5 819353155f1a5f965529e16158557de1
BLAKE2b-256 b7d84d500ec6057aa1bef7630942cec45e292ca7f94150cb24523253700894b3

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