Skip to main content


Project description

BuildLink CoverageLink LicenseLink IssuesLink



$ sudo apt-get install python3-pip
$ sudo pip3 install dataserv-client
$ dataserv-client version


Download and install Python 3.4 TODO add pycrypto instructions

$ pip install dataserv-client
$ version

Command line interface usage

Argument ordering

$ <program arguments> COMMAND <command arguments>

Argument ordering example

$ --address=1Dnpy4qd5XSsiAgwX8EqYbR2DLV2kB1Kha --max_size=2147483648 build --cleanup

Show programm help, optional arguments and commands

$ --help
usage: [-h] [--address ADDRESS] [--url URL]
                          [--max_size MAX_SIZE] [--store_path STORE_PATH]
                          <command> ...

Dataserve client command-line interface.

optional arguments:
  -h, --help            show this help message and exit
  --address ADDRESS     Required bitcoin address.
  --url URL             Url of the farmer (default:
  --max_size MAX_SIZE   Maximum data size in bytes. (default: 1073741824).
  --store_path STORE_PATH
                        Storage path. (default: /home/storj/.storj/store).
  --debug               Show debug information.

    version             Print version number.
    register            Register a bitcoin address with farmer.
    ping                Ping farmer with given address.
    poll                Continuously ping farmer with given address.
    build               Fill the farmer with data up to their max.

Show command help and optional arguments

$ <COMMAND> --help

version command

Show version number

$ version

register command

Register address with default farmer.

$ --address=<BITCOIN_ADDRESS> register

Register address with custom farmer.

$ --url=<CUSTOM_FARMER_URL> --address=<BITCOIN_ADDRESS> register

ping command

Ping address:

$ --address=<BITCOIN_ADDRESS> ping

poll command

Poll address:

$ --address=<BITCOIN_ADDRESS> poll

build command


$ --address=<BITCOIN_ADDRESS> build

Build with custom max data size and store path

$ --store_path=<PATH_TO_FOLDER> --max_size=<MAX_DATA_SIZE_IN_BYTES> --address=<BITCOIN_ADDRESS> build

Build and cleanup files afterwards

$ --address=<BITCOIN_ADDRESS> build --cleanup

Build custom shard height

$ --address=<BITCOIN_ADDRESS> build --height=<NUMBER_OF_SHARDS>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dataserv-client-1.0.10.tar.gz (8.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page