JustPaste.py: Simple JustPaste.py API Wrapper for Python
Disclaimer:
Justpaste.py API requires captcha for creating new notes for accounts that have not purchased their Premium service. Once purchased, captchas will disappear even after the premium expires.
Installation:
pip install -U justpaste.py
Usage:
from justpaste import Justpaste
jp = Justpaste("<your email>", "<your password>")
# create new article
article = jp.new_article(
title="Title of article",
body="<p>Hello World</p>",
privacy="public",
tags=["test"],
hide_views=True
)
# edit existing article
edited = jp.edit_article(
article,
title="New Title",
body="<p>Hello, World!</p>"
privacy="hidden"
)
# delete article (move to trash)
jp.delete_article(edited)
# get a user's public articles
user = user_from_url("...")
user.public_articles # previews
[load_articles_from_preview(preview) for preview in user.public_articles] # full articles
Metadata
Release files for JustPaste.py 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 |
|---|---|---|---|---|
| justpaste_py-2.0.tar.gz | 27.4 kB | Without provenance | Details for justpaste_py-2.0.tar.gz |
Release files / justpaste_py-2.0.tar.gz
| Download URL | justpaste_py-2.0.tar.gz |
|---|---|
| Size | 27.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41acdf61343ee89bbff516d0120cdfd91ebd9173c31b34f6d4e929019cefcdd2
|
|
BLAKE2b-256 checksum How to use checksums |
95276b53b0a52a5bc463f5c43880816892bb3dfc8ee573a37c1aec2881ca5eee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.2
|
Security for JustPaste.py 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.