discourse
A Python wrapper of the Discourse API
This package allows Python developers to write software that makes use of the Discourse API. Functions available in the API are mirrored in this package as closely as possible, translating JSON responses to Python objects. You can find the current documentation for the Discourse API here:
Installing
pip install discourse
Quick Start
import discourse
client = discourse.Client(
host='http://127.0.0.1:3000/',
api_username='discourse1',
api_key='714552c6148e1617aeab526d0606184b94a80ec048fc09894ff1a72b740c5f19',
)
latest = client.get_latest_topics('default')
for topic in latest:
print(topic.title)
Full documentation for this package is not yet available. One of the milestones is complete documentation coverage, including currently undocumented portions of the Discourse API. For now, I encourage you to read the source code and use the Discourse API docs, it should be fairly straightforward.
Pull requests welcome!
Metadata
Release files for discourse 0.1.2
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 |
|---|---|---|---|---|
| discourse-0.1.2.tar.gz | 6.7 kB | Without provenance | Details for discourse-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| discourse-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for discourse-0.1.2-py3-none-any.whl |
Total release size: 28.4 kB
Release files / discourse-0.1.2.tar.gz
| Download URL | discourse-0.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
706b8194119168d3a4c193023e8eadfb348b08bf1e8b86468f229c9fa4278100
|
|
BLAKE2b-256 checksum How to use checksums |
712e634a9d0e56115785be4a109bb6f56eb7f9ff38400bd39b0e54e023cb5113
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4
|
Release files / discourse-0.1.2-py3-none-any.whl
| Download URL | discourse-0.1.2-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe7c5c002f89f283ca41237b62bdaba0a3be45fa78c0c68dc446b2eb0eaa0d2a
|
|
BLAKE2b-256 checksum How to use checksums |
a23d725825efa727479ef54aa3a018394589b63b631ee2636a59fa6ae885d02d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4
|
Security for discourse 0.1.2
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.