Python API wraper for sxcu.net
Project description
SXCU Python API Wrapper
A friendly API wrapper around https://sxcu.net.
Installation
The package is published on PyPI and can be installed by running:
pip install sxcu
Basic Use
Easily query the sxcu.net from you Python code. The data returned from the sxcu.net API is mapped to python resources:
>>> import sxcu
>>> con = sxcu.SXCU()
>>> con.upload_image("foo.jpg")
{'url': 'https://sxcu.net/2kW7IT', 'del_url': 'https://sxcu.net/d/2kW7IT/455c7e40-9e3b-43fa-a95a-ac17dd920e55', 'thumb': 'https://sxcu.net/t/2kW7IT.jpeg'}
Ready for more? Look at our whole documentation on Read The Docs.
Contributing
Please refer to CONTRIBUTING.md file for more information on how to contribute to this project.
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
sxcu-1.0.1.tar.gz
(9.5 kB
view details)
Built Distribution
sxcu-1.0.1-py3-none-any.whl
(9.2 kB
view details)
File details
Details for the file sxcu-1.0.1.tar.gz
.
File metadata
- Download URL: sxcu-1.0.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.2 CPython/3.8.6 Linux/5.4.0-1026-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb44f70ef144c3a488eb14e0bff70f429bb0f66d168255078496523ace500bf4 |
|
MD5 | 1bed9f6ccaefe43766e384f6ddf54afb |
|
BLAKE2b-256 | db0cea2a260ae9026dddd5c7a72ea2b8119badf6dd04b2665bb2caf81b6f8318 |
File details
Details for the file sxcu-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: sxcu-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.2 CPython/3.8.6 Linux/5.4.0-1026-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16014d29de5a78da7d65e52465d8d2bf5fb9f63801e25a695ae98f1378a2325 |
|
MD5 | b5ec9c38e1a17e76cc8be111d7042af7 |
|
BLAKE2b-256 | 64c1fd0bd92e33629196c3d9247bac44ca1fa5f9149f255b558014315086f9bf |