Skip to main content

get the device ID

Project description

[![Build Status](https://travis-ci.org/botswana-harvard/edc-device.svg?branch=develop)](https://travis-ci.org/botswana-harvard/edc-device)

# edc-device

Installation

pip install edc-device

Add some or all to settings. For example:

# device identifer of this machine DEVICE_ID = 99 # hostname prefix used by all producers PRODUCER_PREFIX = ‘bcpp’ # list of IDs reserved for server nodes SERVER_DEVICE_ID_LIST = [97, 98, 99] # list of IDs reserved for middleman nodes MIDDLEMAN_DEVICE_ID_LIST = [94, 95, 96]

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

edc_device-0.0.0a0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file edc_device-0.0.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for edc_device-0.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebabea5823821635af3cea9dbaf251504ab04a15e710e7bf8301b0698bfb998f
MD5 a4e1f0f73c00bf3e8b3d378e4e66e4e6
BLAKE2b-256 85607de6e044dffe7104e287dbeffbc66d490d37baac26c4321880159fa3d3d5

See more details on using hashes here.

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