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.
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| writefreely-py-1.2.0.tar.gz | 10.1 kB | Without provenance | Details for writefreely-py-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| writefreely_py-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for writefreely_py-1.2.0-py3-none-any.whl |
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
|
Security for writefreely-py 1.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.