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
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
pysymvea-0.1.0.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e5f1f3ac5ea5b81202090497671e0a95745f09e9dc2b34d4751b724d99bb32a
|
|
| MD5 |
710feebba433379b319c739f1d1012d6
|
|
| BLAKE2b-256 |
0e509c174a429c241c37fd64584fe8be24bd1e07dfaae2b82dee9a7ccf71b341
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e6f4fe631e8e4990ea7a07440a5fef2e96baa6acaa1e93be7add355a7f9574b
|
|
| MD5 |
669f4184c05e646f5cb0bda214455520
|
|
| BLAKE2b-256 |
0446366727f6d9fdc578ce5dfbbbf81ffedad315f8086efa2b6b469852de2b5c
|