Skip to main content

A Python client for 0x0.st file hosting service.

Project description

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

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

pyzxz-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyzxz-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file pyzxz-0.1.0.tar.gz.

File metadata

  • Download URL: pyzxz-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for pyzxz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 40359b4a1a4a9e49ae79a230b151d66b6fad3a90c3d5e45703ba1192186f6e31
MD5 4084d8d84b0a3e1fcf57096911afde06
BLAKE2b-256 8c02e9d28d8dd955a4b5df7a0b7c39d6b007ebecf8b37db3f8aab1861fad9303

See more details on using hashes here.

File details

Details for the file pyzxz-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyzxz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for pyzxz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91739e4b5659b20c4d68377fd904f0dbc7aadf98c546a81bbba5614a12698816
MD5 e9a77f2ed1208f59e2cad7400060dac6
BLAKE2b-256 95d0471e91c0810e9e3f6d89e757b92b25363b05154af687731a8a887650025a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page