Api wrapper for pastecord.com
Project description
pastecord
Api wrapper for pastecord.com
usage
Create a new pastecord document:
from pastecord import create_document
document = create_document('print("Hello World!")')
print(document)
# Document('wivewoniki')
print(document.url)
# https://pastecord.com/wivewoniki
print(document.read())
# print("Hello World!")
Save a pastecord document:
from pastecord import Document
d = Document('https://pastecord.com/wivewoniki')
d.save('document.txt')
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
pastecord-1.0.0.tar.gz
(3.6 kB
view details)
File details
Details for the file pastecord-1.0.0.tar.gz
.
File metadata
- Download URL: pastecord-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c21dfc427b93df7d4ed2a1724be187f33957f7841cfb65996f45119bd5da430 |
|
MD5 | 503e2d6ee02c25588fbc621ee1cf5eb5 |
|
BLAKE2b-256 | 200db7b2361b11b8f84e7c026c60f586bf1bbd05b9f81df7bfd3ed65ab0ca4af |