Easily Install your Wordpress blog in your Django project
This package allows to communicate easily with any wordpress project that is using wordpress core >= 4.7.0.
Even though the WP REST API package is already on the 2 version; it is still on beta so it was decided that this package will only support v1 until v2 is out of beta.
Documentation
The full documentation is at https://django-wordpress-api.readthedocs.org.
Quickstart
Install Django Wordpres API:
pip install django-wordpress-api
Then use it in a project:
import wordpress_api
Features
Connect to an external wordpress application
Retrieves all the blog posts ordered by pages
Filter blog posts using several of the available filters in WP REST API
Search blog posts using a keyword
order the blog posts by several attributes like author, title, type, etc; ascending and descending order (default order is descending date)
Retrieve posts with a different type than “post”
Four Views to display the blog page, The Post detail, The Posts filtered by category and the Posts filtered by tag; All of this with the search by keyword option
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install -r requirements.txt (myenv) $ pip install -r requirements_test.txt (myenv) $ python manage.py test
Credits
Tools used in rendering this package:
History
0.1.0 (2016-09-02)
First release on PyPI.
Metadata
Release files for django-wordpress-api 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-wordpress-api-0.2.0.tar.gz | 14.5 kB | Without provenance | Details for django-wordpress-api-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_wordpress_api-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for django_wordpress_api-0.2.0-py2.py3-none-any.whl |
Total release size: 28.0 kB
Release files / django-wordpress-api-0.2.0.tar.gz
| Download URL | django-wordpress-api-0.2.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb822d052c2d120d4a28994122b03a8f0b5335c171cd97934d6c2e28df359f8f
|
|
BLAKE2b-256 checksum How to use checksums |
2766a428d10ad53fa5dca74a74364624e084583b96b559527840657c6344f49b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / django_wordpress_api-0.2.0-py2.py3-none-any.whl
| Download URL | django_wordpress_api-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
04a6d80fbe07d7185f8cdecefbc35bcec972443cc6a8ed9ae81be498b34feb3e
|
|
BLAKE2b-256 checksum How to use checksums |
cd6194ad02342474368e6264e6ec6be89654f41f16edd7f545beebafb7303d42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for django-wordpress-api 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.