Skip to main content

A Python module providing functions for the representation of DTNs based on time-varying network graphs. Supports Python 2.7 and Python 3.4+.

Project description

dtn-tvg-util

A Python module providing functions for the representation of DTNs based on time-varying network graphs. Supports Python 2.7 and Python 3.4+.

Requirements

  • Python 2.7 or 3.4+
  • a build toolchain for your platform plus the python-dev package to install the Python dependencies
  • to place Ring Road ground stations, libgeos-dev and libgdal-dev

Getting Started

For just using this module, install it via pip:

pip install dtn-tvg-util

For the development setup, you should first create a virtual environment and install with pip install -e

python3 -m venv --without-pip .venv
curl -sS https://bootstrap.pypa.io/get-pip.py | .venv/bin/python
source .venv/bin/activate
pip install -e .

Some example tools can be found in tvgutil.tools. These scripts allow to generate and convert time-varying graph representations of Ring Road [1] scenarios.

For using the Ring Road scenario generators, you have to install some further dependencies:

pip install "dtn-tvg-util[ring_road]"
# OR
pip install -e ".[ring_road]"

For ground station placement (via tvgutil/tools/create_gs_list.py), also install the gs_placement extras by adding [ring_road,gs_placement] to the pip install command.

Testing

Unit tests for the core functionality are provided in test/. They are based on the Python unittest package. Use a test runner of your choice to execute them, e.g. pytest or nose.

pip install nose
python -m nose test

License

This code is licensed under the MIT license. See LICENSE for details.

References

[1] Ring Road Networks (RRN) are Disruption-tolerant Networks (DTN) for communication, based on the deployment of low-cost LEO satellites. For more information, see the following paper: S. C. Burleigh and E. J. Birrane, “Toward a Communications Satellite Network for Humanitarian Relief,” in International Conference on Wireless Technologies for Humanitarian Relief, Amritapuri, India, 2011.

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

dtn-tvg-util-0.1.5.tar.gz (30.9 kB view details)

Uploaded Source

File details

Details for the file dtn-tvg-util-0.1.5.tar.gz.

File metadata

  • Download URL: dtn-tvg-util-0.1.5.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for dtn-tvg-util-0.1.5.tar.gz
Algorithm Hash digest
SHA256 922a56370fdbd28075e7f4b62684bbd6c38b44e424c15eceaed449dc8a81f505
MD5 7c4389027506db683b8435457ccf3c9d
BLAKE2b-256 01feea7817203e0be45ab2f4f62c0e0b4a860723bbea8009f48ab34d7a2e20f5

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