Transferring data between PCs library
Project description
FileSocket
Library for file transfer and remote PC control
Links
- Client GitHub
- Server GitHub - Client needs it to establish connection to PC
Quick usage
from pathlib import Path
from filesocket import sign_in, show_all_pc, ManagedClient, ManagingClient
# Sign in
sign_in("login", "password")
# Create managed client
client = ManagedClient(port=7999, require_token='token')
client.run()
# Get managed pc id
all_pc = show_all_pc()
# Create managing client
client = ManagingClient(device_id=all_pc[0].id, device_secure_token='token')
client.run(text_ui=False)
# Send cmd command
client.cmd_command('ipconfig')
# Send file
client.send_file(Path("local/path/to/file/to/send"), Path("path/where/to/put"))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
filesocket-0.1.8-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for filesocket-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd0cc0aa4bba60641a1b5e8894dd775fe7ec2e1f46b83b99a27465dbb6027dfe |
|
MD5 | cc50d5eb4bb4f2fa4f3cd404eacd1e0f |
|
BLAKE2b-256 | ac4f6d08585c861a2b57a87d3d73ede06e0cdd61ae44c32a901492dade4abc4f |