Skip to main content

DWLOAD server implemented in Python

Project description

DwLoadServer

DWLOAD server implemented in Python (OpenSource, GPL v3 or above).

It’s in unuseable, experimental state and currently nothing more then some tests scripts.

current state

Currently the server can only send files to the DWLOAD client.

installation

The is a virtualenv bootstrap file, created with bootstrap_env, for easy installation.

Get the bootstrap file:

/home/FooBar$ wget https://raw.githubusercontent.com/DWLOAD/DwLoadServer/master/boot_dwload_server.py

There are tree types of installation:

option

desciption

pypi

use Python Package Index (for all normal user!)

git_readonly

use git to get the sourcecode (for developer without write access)

dev

use git with write access

e.g.:

/home/FooBar$ python3 boot_dwload_server.py ~/dwload_server_env --install_type pypi

This creates a virtualenv in ``~/dwload_server_env`` and used the packages from the Python Package Index.

startup

Setup server root directory. This is the directory for the files that are interchange with the client.

/home/FooBar$ cd ~/dwload_server_env/
/home/FooBar/dwload_server_env$ mkdir root

You have to put the DWEEB files into the root dir. e.g. dwload-demo-files from: https://github.com/DWLOAD/DWLOAD

To start the server:

/home/FooBar$ cd ~/dwload_server_env/
/home/FooBar/dwload_server_env$ ./bin/python -m dwload_server.dwload_server --port /dev/ttyUSB0 --root_dir ./root

Display CLI help:

/home/FooBar/dwload_server_env$ ./bin/python -m dwload_server.dwload_server --help

TODO

  • compare checksum

  • maybe use a config.ini file?!?

History

  • 12.11.2014 - send a file works rudimentary

  • 30.09.2014 - Idea was born: Forum post 11893

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

dwload_server-0.1.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Supported by

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