WriteFreely
A Python package that wraps the WriteFreely API, for use in your Python projects.
Install
pip install writefreely-py
Quick Start
import writefreely as wf
# default WriteFreely instance is "https://write.as"
c = wf.client(user="foo", password="bar")
# create a post
post = c.create_post(title="Hello World!", body="Hello from **Python**")
print(f"See your post at: {c.host}/{post['slug']}")
# discard current session
c.logout()
Too see what extra parameters some functions accept and response structure, check: https://developers.write.as/docs/api/
Examples
Check the examples folder for more code examples.
Release files for writefreely-py 1.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 | |
|---|---|---|---|
| writefreely-py-1.2.0.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| writefreely_py-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / writefreely-py-1.2.0.tar.gz
| Download URL | writefreely-py-1.2.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e30c8cf7dbc7b12f753ffa81c62e77e4d82f1fc9d5f76b599d05364b26cacb16
|
|
BLAKE2b-256 checksum How to use checksums |
761564fed5aeec46d06b0de2d269e4f31a3057c84ca04651e56c6c31cd5625d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Release files / writefreely_py-1.2.0-py3-none-any.whl
| Download URL | writefreely_py-1.2.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec4c07385edccbca3628e9430a5667eded2b6ef7d3541a07e1f621adfb613590
|
|
BLAKE2b-256 checksum How to use checksums |
9b1ec62407b8a412ca5a6b3b6eefe9e5741e13dc42c0db1bf17db21c1d2a53dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|