pyzxz
pyzxz is a lightweight Python client library for uploading files and text to 0x0.st, a simple and free file hosting service.
Features
- Upload files from disk
- Upload in-memory bytes
- Upload plain text
- Check 0x0.st availability
Installation
pip install pyzxz
Usage
from pyzxz import ZeroXZero
# Upload a local file
url = ZeroXZero.upload("path/to/file.txt")
print("Uploaded file URL:", url)
# Upload bytes from memory
url = ZeroXZero.upload_from_bytes(b"hello world", "hello.txt")
print("Uploaded bytes URL:", url)
# Upload a text string as a file
url = ZeroXZero.upload_text("Hello from pyzxz!")
print("Uploaded text URL:", url)
# Check if 0x0.st is online
is_online = ZeroXZero.is_available()
print("0x0.st online?", is_online)
License
MIT License © 2025
Metadata
Release files for pyzxz 0.1.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 | |
|---|---|---|---|
| pyzxz-0.1.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyzxz-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / pyzxz-0.1.0.tar.gz
| Download URL | pyzxz-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40359b4a1a4a9e49ae79a230b151d66b6fad3a90c3d5e45703ba1192186f6e31
|
|
BLAKE2b-256 checksum How to use checksums |
8c02e9d28d8dd955a4b5df7a0b7c39d6b007ebecf8b37db3f8aab1861fad9303
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Release files / pyzxz-0.1.0-py3-none-any.whl
| Download URL | pyzxz-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91739e4b5659b20c4d68377fd904f0dbc7aadf98c546a81bbba5614a12698816
|
|
BLAKE2b-256 checksum How to use checksums |
95d0471e91c0810e9e3f6d89e757b92b25363b05154af687731a8a887650025a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|