pnut.io API library for python
Project description
PNUTpy aims to be an easy-to-use Python library for interacting with the pnut.io API.
Installation
To install, simply:
$ pip install pnutpy
Quick Start
In order to use PNUTpy, You’ll need an access token. If you don’t already have one, first create an app, and then generate an access token for your app.
import pnutpy
pnutpy.api.add_authorization_token(<Access Token Here>)
# Create a post
post, meta = pnutpy.api.create_post(data={'text':'Hello pnut.io from pnutpy!'})
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
pnutpy-0.5.4.tar.gz
(13.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pnutpy-0.5.4-py3-none-any.whl
(11.1 kB
view details)
File details
Details for the file pnutpy-0.5.4.tar.gz.
File metadata
- Download URL: pnutpy-0.5.4.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea0a7eb27e97c28a2848efb767abbd3ae4de4935f5c23998399b7ebce235a20f
|
|
| MD5 |
533c0cbaf4e048f8d0d98d20414842d7
|
|
| BLAKE2b-256 |
6ffac1e81c81834c540e948b3fd3738d18724658da04b0bd7c906e67489f5a99
|
File details
Details for the file pnutpy-0.5.4-py3-none-any.whl.
File metadata
- Download URL: pnutpy-0.5.4-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ed7b409395cbfd434dd333a25f22c32045c0bc6380d3d03c0b7f66f5be30863
|
|
| MD5 |
e16033f8dcf1f502421895443d2b532e
|
|
| BLAKE2b-256 |
e310e2d750428b99ff73affd8e9abeeda174b33f349272505863e1ec5e6d9c80
|