Skip to main content

RIPE Atlas Cousteau

Documentation PYPI Version Python Versions Python Implementations Python Format

A Python wrapper around the RIPE ATLAS API.

Installation

$ pip install ripe.atlas.cousteau

Docs

Complete documentation can be found on Read the Docs.

Name

But why Cousteau? The RIPE Atlas team decided to name all of its modules after explorers, and this is not an exception :)

Releases History

2.3.0 (release 2026-05-20)

New features:

  • Add support for region and countries probe source types

Changes:

  • Pin GitHub Actions to full-length commit SHAs in CI workflows

  • Replace exec()-based version loading with multiline regex parsing in setup.py and docs/conf.py

  • Upgrade requests to ~=2.34.2

2.2.0 (release 2025-12-08)

Changes:

  • Upgrade dependencies to requests~=2.32.0 and websocket-client~=1.9.0

2.1.1 (release 2025-11-25)

Changes:

2.1.0 (release 2025-11-03)

New features:

  • Add support for lookback_days in latest results

Changes:

  • Drop support for old Python versions (>= 3.10 supported)

  • Fixed documentation links

2.0.0 (release 2023-01-20)

Changes:

  • The AtlasStream class has been updated to use the new WebSocket interface

  • AtlasStream objects can now be iterated as an alternative to using callbacks

  • There used to be both start_stream() and subscribe() methods which did the same thing, except that start_stream() had extra validation. This extra validation has been added to subscribe(), and start_stream() is now an alias to it.

  • bind_channel() was renamed to bind(), although it is maintained as an alias, and there is a corresponding unbind() to remove a callback

  • Deprecated event aliases were dropped, you have to use full event names like “atlas_result” and “atlas_metadata” when binding

1.5.1 (release 2022-05-23)

Bug Fixes:

  • Make it possible to instantiate AtlasMeasurement directly by passing in a “type” value in the spec

1.5.0 (released 2022-02-23)

Changes:

  • Drop support for old Python versions (>= 3.6 supported)

  • Documentation fixes

  • Use python-socketio instead of socketIO-client for streaming

  • Include an ‘unsubscribe’ method on AtlasStream, as well as constants for currently available event names

  • Update testing framework to use pytest

1.4.2 (released 2018-03-22)

New features:

  • Add support for tagging and untagging measurements

1.4.1 (released 2018-01-08)

Changes:

  • Minor fixes

1.4 (released 2017-04-21)

New features:

  • Expose bill_to option for measurement creation

  • Enable User-Agent for stream connections

Changes:

  • Update stream channel names to new naming scene in the background

Bug Fixes:

  • Fix bug where stream was not reconnected after a disconnect

  • Fix unicode cases on the stream spotted by @JonasGroeger

1.3 (released 2016-10-21)

Changes:

  • Improved streaming support:

  • Introduced support for proxies and additional headers

  • Timezone aware objects for measurement meta data

1.2 (released 2016-03-02)

Changes:

  • Backwards incompatible field changes on the Measurement object:

  • destination_address -> target_ip

  • destination_asn -> target_asn

  • destination_name -> target

1.1 (released 2016-02-09)

New features:

  • Start supporting Anchors listing API.

  • Brand new documentation hosted on readthedocs.

Changes:

  • Various refactorings to clean up codebase.

1.0.7 (released 2016-01-13)

Changes:

  • Backwards compatible change of the format we expect for measurement type to handle upcoming change in the API.

Bug Fixes:

  • Fix bug when creating stream for probes connection channel. Updating also wrong documentation.

1.0.6 (released 2015-12-15)

Changes:

  • Add copyright text everywhere for debian packaging.

1.0.5 (released 2015-12-14)

Changes:

  • Add tests to the package itself.

  • Make user-agent changeable by the user.

  • Various refactorings.

1.0.4 (released 2015-11-06)

Changes:

  • Handle both string/dictionary as input for probe_ids filter for Result and LatestResult requests.

1.0.2 (released 2015-10-26)

Bug Fixes:

  • Fix bug where key parameter was added to the url even if it was empty.

  • Fix bug where we didn’t try to unjson 4xx responses even if they could contain json structure.

1.0.1 (released 2015-10-23)

Changes:

  • Now we conform to new API feature that allows for specifying tags when adding probes to existing measurements

Bug Fixes:

  • Fix bug we didn’t allow user to specify single tag include/exclude.

1.0 (released 2015-10-21)

New features:

  • Add support for include/exclude tags in changing sources requests.

  • Add support for latest results API call.

  • Implement HTTP measurement creation.

  • Support for python 3 (<=3.4).

  • Support for pypy/pypy3.

  • Support for wheels format.

Changes:

  • Migrate all Atlas requests to use requests library and refactor a lot of code to have a cleaner version.

  • Create an API v2 translator to address several option name changing. A deprecation warning will be given.

Bug Fixes:

  • Fix bug where python representation of measurements without a stop time was exploding.

  • Make sure start/stop timestamps in measurement create request are always in UTC.

0.10.1 (released 2015-10-06)

New features:

  • Implement support for object return in the request generators for probe/measurement.

Changes:

  • Probe/Measurement python representation takes meta data from v2 API as well. Now everything should point to v2 API.

0.10 (released 2015-10-01)

New features:

  • add object representation of meta data for a probe or a measurement.

Changes:

  • Abandon v1 RIPE ATLAS API and use only v2.

Bug Fixes:

  • Fix bug that prevented users from specifying all possible source types when they tried to add more probes to existing measurements.

  • Cover case where a user specified really long list of probes/measurements in the ProbeRequest/MeasurementRequest that was causing ‘HTTP ERROR 414: Request-URI Too Long’. Additionally, now if API returns error raise an exception instead of stopping iteration.

0.9.2 (released 2015-09-21)

Changes:

  • Small refactor of Stream class and manually enforce websockets in SocketIO client

0.9.1 (released 2015-09-03)

Bug Fixes:

  • Fix bug related to binding result atlas stream.

0.9 (released 2015-09-01)

New features:

  • add support for fetching real time results using RIPE Atlas stream server.

  • this version and on will be available on PYPI.

0.8 (released 2015-08-31)

New features:

  • add support for NTP measurements.

0.7 (released 2015-06-03)

New features:

  • add support for fetching probes/measurements meta data using python generators.

0.6 (released 2014-06-17)

New features:

  • add support for querying results based on start/end time, msm_id and probe id.

Changes:

  • add http agent according to package version to all requests.

0.5 (released 2014-05-22)

Changes:

  • change package structure to comply with the new structure of atlas packages

  • add continuous integration support

  • add tests

  • enable travis

  • enable code health checks

  • add required files for uploading to github

0.4 (released 2014-03-31)

New features:

  • add support for stopping a measurement.

0.3 (released 2014-02-25)

New features:

  • add simple support for HTTP GET queries.

0.2 (released 2014-02-03)

New features:

  • add support for adding/removing probes API request.

Changes:

  • use AtlasCreateRequest instead of AtlasRequest for creating a new measurement.

0.1 (released 2014-01-21)

  • Initial release.

Release files for ripe.atlas.cousteau 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ripe.atlas.cousteau 2.3.0
File Size Uploaded
ripe_atlas_cousteau-2.3.0.tar.gz 48.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ripe.atlas.cousteau 2.3.0
File Interpreter ABI Platform
ripe_atlas_cousteau-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 84.3 kB

Release files / ripe_atlas_cousteau-2.3.0.tar.gz

Download URL ripe_atlas_cousteau-2.3.0.tar.gz
Size 48.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ef36059d2df7bcb303e6c34273cfac232f2d0bf682b59a8f523e74264edbdac
BLAKE2b-256 checksum
How to use checksums
992485ef6e3ed6830609eaba1c397cc29c1923bdda830f3755b3c3cdcbec84d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / ripe_atlas_cousteau-2.3.0-py3-none-any.whl

Download URL ripe_atlas_cousteau-2.3.0-py3-none-any.whl
Size 36.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54344b22145735a2e572c535f86e419b892b9949881e1285163dc0b2fa42a0e9
BLAKE2b-256 checksum
How to use checksums
84bbc4555113d8f8f57b39ad9d44df9aec25fec33ee5f7b9eb01cf24b2ffab90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.5.1

1 release file

1.5.0

1 release file

1.4.2

2 release files

1.4.1

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

0.10.1

1 release file

0.10

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page