Skip to main content

AISExplorer

PyPI PyPI - Downloads

AISExplorer is a tool for locating vessels or scraping vessel data in a specific area. However, due to recent updates, the use of free proxies, previously scraped from sources like sslproxies, has been discontinued due to errors such as 403 Forbidden responses.

Next Steps

  • Explore additional sources for proxy lists.
  • Implement a method to customize the number of retries.
  • Introduce functionality to reset filters.

Changelog

2023-11-10

  • Due to Captcha implementation, login functionality is broken.
  • Sending requests through proxies now leads to a 403 error; proxy support has been removed.

2023-1-21

  • Integrated login functions for additional features.

2021-12-10

  • Implemented fallback if a proxy fails.
  • Introduced the ability to retrieve data directly via URL.
  • Added checks for Cloudflare's filtering mechanisms.

2021-12-5

  • Early stages of filter implementation.
  • Retry options were added for resilience.
  • New exceptions were introduced for better error handling.

2021-11-27

  • Proxy support was added (discontinued as of 2023-11-10).

Installation

pip install aisexplorer

Usage

Find vessel by MMIS

Retrieve the current location of a vessel using its MMSI identifier.

from aisexplorer.AIS import AIS

AIS().get_location(211281610)

Find vessels in Area

Retrieve data for up to 500 vessels within a designated area.

maximum 500 vessels

from aisexplorer.AIS import AIS

AIS(return_df= True).get_area_data("EMED")

The output is limited to 500 rows. Area codes can be referenced from the MarineTraffic help section. Areas can be found here

Get Table via URL

Directly access table data using a MarineTraffic URL.

from aisexplorer.AIS import AIS

AIS(return_df = True).get_data_by_url("https://www.marinetraffic.com/en/data/?asset_type=vessels&columns=time_of_latest_position:desc,flag,shipname,photo,recognized_next_port,reported_eta,reported_destination,current_port,imo,ship_type,show_on_live_map,area,lat_of_latest_position,lon_of_latest_position,speed,length,width&area_in|in|West%20Mediterranean,East%20Mediterranean|area_in=WMED,EMED&time_of_latest_position_between|gte|time_of_latest_position_between=60,NaN")

Use Proxies

Previously, AISExplorer allowed fetching data using proxies for anonymization. This feature is no longer supported due to compatibility issues with the data source.

Get Data for user created fleets

No longer available as it required user login, which is now deprecated due to captcha implementation.

Metadata

Release files for AISExplorer 0.2.2

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

Source distribution (sdist)

Source distribution for AISExplorer 0.2.2
File Size Uploaded Provenance Actions
aisexplorer-0.2.2.tar.gz 14.1 kB Without provenance Details for aisexplorer-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for AISExplorer 0.2.2
File Interpreter ABI Platform Actions
aisexplorer-0.2.2-py3-none-any.whl Python 3 none any Details for aisexplorer-0.2.2-py3-none-any.whl

Total release size: 29.0 kB

Release files / aisexplorer-0.2.2.tar.gz

Download URL aisexplorer-0.2.2.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
572fd64c74bc2c491bb3e253337c50a5a63a264cfe38f6391a2d4eded55898d2
BLAKE2b-256 checksum
How to use checksums
36c07b305442dc42b85eea2247156eb7fa72dd5bacb2ff887c79084ca91a5e28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.6 Linux/6.2.0-1018-azure

Release files / aisexplorer-0.2.2-py3-none-any.whl

Download URL aisexplorer-0.2.2-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1eacad74e97cb49f2becaab0161a1dab1ed617d230b750d8f3075c14e1893ca
BLAKE2b-256 checksum
How to use checksums
ab62de35a395f4992ee5a17199849b01a9ebaf86f6fa22ad1784baf934ac0508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.6 Linux/6.2.0-1018-azure

Security for AISExplorer 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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