Skip to main content

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 function
  • build_url function

Updated

  • post function returns only post id

[0.0.1] - 2018-11-13

Added

  • post function

Release files for writeas-anon 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for writeas-anon 0.1.0
File Size Uploaded
writeas-anon-0.1.0.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for writeas-anon 0.1.0
File Interpreter ABI Platform
writeas_anon-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / writeas-anon-0.1.0.tar.gz

Download URL writeas-anon-0.1.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
76ed5557177bfc607d43f474888fa7e0c4c17f47abdb7b4d367530e8ebc071a7
BLAKE2b-256 checksum
How to use checksums
29fe629791517f51977512799d4d49d0e6c213a6167eddf3687a89deee73f160
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / writeas_anon-0.1.0-py3-none-any.whl

Download URL writeas_anon-0.1.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acde503dad04e3891be7a7677f1652af9281d2708e6cb51755a29c689ac402bf
BLAKE2b-256 checksum
How to use checksums
0424bad9e0398ebc1d0e9397b00acf80b3b65d32c857d5a1edad78c98b96a8df
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page