Skip to content
/ pyzxz Public

A lightweight Python client library for uploading files and text to [0x0.st](https://0x0.st), a simple and free file hosting service.

License

Notifications You must be signed in to change notification settings

cvcvka5/pyzxz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A lightweight Python client library for uploading files and text to [0x0.st](https://0x0.st), a simple and free file hosting service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages