Post anonymously to write.as
Project description
Write as anon
As simple as possible package to post on write.as.
At current version you can only post as anonymous, and retrieve posts. Update, delete and any other operation are not supported (yet).
Created to learn how to publish package on PyPi
Installation
As simple as:
pip install writeas-anon
Usage
from writeas_anon import post, build_url
text = '''# Hello world!
I've created a simple package called `writeas_anon`. You can find it [here](https://gitlab.com/chgrzegorz/writeas-anon)
I hope you will find this useful 😃'''
post_id = post(text)
print(build_url(post_id))
https://write.as/1mky7cnx4ozq9.m
——————
Change log
[0.1.0] - 2018-11-18
Added
get
functionbuild_url
function
Updated
post
function returns only post id
[0.0.1] - 2018-11-13
Added
post
function
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
writeas-anon-0.1.0.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file writeas-anon-0.1.0.tar.gz
.
File metadata
- Download URL: writeas-anon-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ed5557177bfc607d43f474888fa7e0c4c17f47abdb7b4d367530e8ebc071a7 |
|
MD5 | 57bfed00257dadde5f869a9b81c5dade |
|
BLAKE2b-256 | 29fe629791517f51977512799d4d49d0e6c213a6167eddf3687a89deee73f160 |
File details
Details for the file writeas_anon-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: writeas_anon-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acde503dad04e3891be7a7677f1652af9281d2708e6cb51755a29c689ac402bf |
|
MD5 | c3b50f2e348f6fdca3230d953ac85396 |
|
BLAKE2b-256 | 0424bad9e0398ebc1d0e9397b00acf80b3b65d32c857d5a1edad78c98b96a8df |