Skip to main content

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

Updated

  • post function returns only post id

[0.0.1] - 2018-11-13

Added

  • post function

Project details


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)

Uploaded Source

Built Distribution

writeas_anon-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for writeas-anon-0.1.0.tar.gz
Algorithm Hash digest
SHA256 76ed5557177bfc607d43f474888fa7e0c4c17f47abdb7b4d367530e8ebc071a7
MD5 57bfed00257dadde5f869a9b81c5dade
BLAKE2b-256 29fe629791517f51977512799d4d49d0e6c213a6167eddf3687a89deee73f160

See more details on using hashes here.

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

Hashes for writeas_anon-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acde503dad04e3891be7a7677f1652af9281d2708e6cb51755a29c689ac402bf
MD5 c3b50f2e348f6fdca3230d953ac85396
BLAKE2b-256 0424bad9e0398ebc1d0e9397b00acf80b3b65d32c857d5a1edad78c98b96a8df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page