Skip to main content

Python client for Symvea server

Project description

PySymvea - Python Client

Python client for Symvea server.

Installation

pip install -e .

Usage

# Upload file
pysymvea upload myfile.txt

# Download file  
pysymvea download myfile.txt

# Verify file
pysymvea verify myfile.txt

# Connect to different server
pysymvea --host 192.168.1.100:24096 upload myfile.txt

Programmatic Usage

from pysymvea import SymveaClient

client = SymveaClient("127.0.0.1", 24096)
client.connect()

# Upload
with open("file.txt", "rb") as f:
    data = f.read()
original_size, compressed_size = client.upload("file.txt", data)

# Download
data = client.download("file.txt")

# Verify
is_valid = client.verify("file.txt")

client.close()

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

pysymvea-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

pysymvea-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysymvea-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for pysymvea-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e5f1f3ac5ea5b81202090497671e0a95745f09e9dc2b34d4751b724d99bb32a
MD5 710feebba433379b319c739f1d1012d6
BLAKE2b-256 0e509c174a429c241c37fd64584fe8be24bd1e07dfaae2b82dee9a7ccf71b341

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysymvea-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for pysymvea-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e6f4fe631e8e4990ea7a07440a5fef2e96baa6acaa1e93be7add355a7f9574b
MD5 669f4184c05e646f5cb0bda214455520
BLAKE2b-256 0446366727f6d9fdc578ce5dfbbbf81ffedad315f8086efa2b6b469852de2b5c

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