Skip to main content

The official command line client for RIPE Atlas

Project description

RIPE Atlas Tools (Magellan)

Documentation Status Build Status PYPI Version Python Versions Python Implementations Python Format Requirements Status

The official command-line client for RIPE Atlas.

Full Documentation

Everything is up on ReadTheDocs

How Does it Work?

Presently, the setup is pretty crude. You can create a ping or traceroute measurement with limited options from the command line:

$ ripe-atlas measure ping --target example.com

# or you can omit --target for most measurement types
$ ripe-atlas measure ping example.com

$ ripe-atlas measure ping --packets 7 --size 42 --target example.com

$ ripe-atlas measure traceroute --target example.com

$ ripe-atlas measure traceroute --packets 2 --target example.com

$ ripe-atlas measure dns --query-argument example.com

# or you can omit --query-argument for DNS measuremetns
$ ripe-atlas measure dns example.com

$ ripe-atlas measure dns --use-probe-resolver --query-type AAAA --query-argument example.com

This will create a one-off measurement and then wait for the results to roll in, formatting them as they do.

You can also use it to connect to a stream of formatted data. This command will start streaming out all of the results from one of our oldest measurements:

$ ripe-atlas stream 1001

Or you can generate a simple report:

$ ripe-atlas report 1001

Configuration is done by way of a config file, and modifying it can be done from the command line:

$ ripe-atlas configure --set authorisation.create=MY_API_KEY

Can I Contribute?

Absolutely. Please read our guide on how to contribute.

Colophon

This project was code-named by means of a poll. In order to conform to the RIPE Atlas theme, it had to be named for an explorer, and so the winning suggestion was for Magellan, “in memory of those times when RTT was ~3 years”.

Release History

2.3.0 (released 2018-11-23)

Features and changes

  • Add result date and time to traceroute, NTP and SSL renderers

  • Add support for specifying measurement tags on measurement creation

  • Add option (–go-web) to open measurement URL in browser

  • Nicer presentation of 403 errors from the API

  • Official supported Python versions changed to 2.7, 3.4, 3.5, 3.6 and 3.7

Bug Fixes

  • Fix cousteau/sagan dependencies

2.2.3 (released 2017-01-17)

Bug Fixes

  • Fix for distribution issues that prevented the command-line scripts from working

2.2.2 (released 2017-10-12)

Features and changes

2.1 (released 2016-04-21)

New Features

  • Add a simple NTP renderer

Changes

  • Use new cousteau (1.4) & sagan(1.2) versions.

Bug Fixes

  • Fix for some unicode problems when using colors

  • Fix issue #177, with gdbm problem.

2.0.2 (released 2016-10-21)

New Features

  • Add aliases to measurements IDs

  • Add –traceroute-show-asns to traceroute renderer

Bug Fixes

  • Stream command was not passing the correct API key. After API became stricter this command started failing.

  • Handle missing geometry for probes.

  • Fix issues for AS-paths with only 1 probe

  • Various fixes for tests

2.0.1 (released 2016-04-20)

Changes

  • Corrected references in the docs to obsolete command names.

  • Fixed broken 2.0.0 egg.

2.0.0 (released 2016-04-20)

Changes

  • Renamed and merged some commands for clarity, preserving the old names as deprecated aliases.

  • Improved help text and usage output.

  • Support for bash auto-completion.

1.2.3 (released 2016-03-08)

Changes

  • Usage of newest Cousteau/Sagan library.

  • Support of API keys for fetching results on report command.

  • Default radius for probes filtering is changed to 15.

  • Several changes for supporting Windows.

1.2.2 (released 2016-01-13)

New Features

  • Cleaner and more consistent implementation of the renderer plugable architecture.

  • Usage of newest Cousteau library.

1.2.1 (released 2015-12-15)

Bug Fixes

  • Restored some required template files.

1.2.0 (released 2015-12-15)

Output Changes

  • #119: Support HTTP results.

  • #122: Allow packagers to set the user agent.

1.1.1 (released 2015-11-25)

Output Changes

  • #103: Removed header from the report command.

Bug Fixes

  • #105: Measurement report and stream broken on Python3.4.

1.1.0 (released 2015-11-12)

New features

  • Support for the creation of NTP, SSLCert, and HTTP measurements.

  • Additional argument in report command to filter results by probe ASN.

  • Additional renderer that shows the different destination ASNs and some additional stats about them.

Bug Fixes

  • Various fixes.

Changes

  • Better testing.

  • Additional documentation.

1.0.0 (released 2015-11-02)

  • Initial release.

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 Distributions

ripe.atlas.tools-3.0.0a1-py3-none-any.whl (117.5 kB view details)

Uploaded Python 3

ripe.atlas.tools-3.0.0a1-py2-none-any.whl (117.5 kB view details)

Uploaded Python 2

File details

Details for the file ripe.atlas.tools-3.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: ripe.atlas.tools-3.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 117.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.10

File hashes

Hashes for ripe.atlas.tools-3.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 535d7f74d302126642e5eb63c57fac796ee622015a22bcc18b98c388cdac3bcf
MD5 c234b4e96c026a60249a379088c649af
BLAKE2b-256 9580708b29c2a3327718617697da85cc25d89daf996e5647a5d3ab0acb63be23

See more details on using hashes here.

File details

Details for the file ripe.atlas.tools-3.0.0a1-py2-none-any.whl.

File metadata

  • Download URL: ripe.atlas.tools-3.0.0a1-py2-none-any.whl
  • Upload date:
  • Size: 117.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.10

File hashes

Hashes for ripe.atlas.tools-3.0.0a1-py2-none-any.whl
Algorithm Hash digest
SHA256 eaa8e33871c42c3654e6d48e6b7821452982309ae8ccd6e15b10944ad91960c2
MD5 ec6fd08e9f8455902f346a3cbabced9f
BLAKE2b-256 8ca488c889600834d601994deef7674b694615375a87d965c44148647bf0b868

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