PTRAIL: A Parallel TRajectory dAta preprocessIng Library
Introduction
PTRAIL is a state-of-the art Mobility Data Preprocessing Library that mainly deals with filtering data, generating features and interpolation of Trajectory Data.
The main features of PTRAIL are:
- PTRAIL uses primarily parallel computation based on python Pandas and numpy which makes it very fast as compared to other libraries available.
- PTRAIL harnesses the full power of the machine that it is running on by using all the cores available in the computer.
- PTRAIL uses a customized DataFrame built on top of python pandas for representation and storage of Trajectory Data.
- PTRAIL also provides several Temporal and spatial features which are calculated mostly using parallel computation for very fast and accurate calculations.
- Moreover, PTRAIL also provides several filteration and outlier detection methods for cleaning and noise reduction of the Trajectory Data.
- Apart from the features mentioned above, four different kinds of Trajectory Interpolation techniques are offered by PTRAIL which is a first in the community.
Documentation
Installation
- Create Virtual Environment:
- Using Pip:
python3 -m venv ptrsource ptr/bin/activatepip install PTRAIL
- Using Conda:
conda create -c conda-forge ptr python=3.10 rtreeconda activate ptrpip install PTRAIL
Examples
Miscellaneous
Citation
To cite PTRAIL in your academic work, please use the following citation:
@article{haidri2022ptrail,
title={PTRAIL—A python package for parallel trajectory data preprocessing},
author={Haidri, Salman and Haranwala, Yaksh J and Bogorny, Vania and Renso, Chiara and da Fonseca, Vinicius Prado and Soares, Amilcar},
journal={SoftwareX},
volume={19},
pages={101176},
year={2022},
publisher={Elsevier}
}
Metadata
Release files for ptrail 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ptrail-1.0.tar.gz | 64.6 kB | Without provenance | Details for ptrail-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ptrail-1.0-py3-none-any.whl | Python 3 | none | any | Details for ptrail-1.0-py3-none-any.whl |
Total release size: 141.7 kB
Release files / ptrail-1.0.tar.gz
| Download URL | ptrail-1.0.tar.gz |
|---|---|
| Size | 64.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d723e1a0331dc494474374f729a9e8ed1bcc567766df5fa5f1733eb65e4fe40a
|
|
BLAKE2b-256 checksum How to use checksums |
6d5f3ce05ac16ea7778d878e144264a0d57614c1fe5acd6b7035f783af9eb4f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.6
|
Release files / ptrail-1.0-py3-none-any.whl
| Download URL | ptrail-1.0-py3-none-any.whl |
|---|---|
| Size | 77.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5845dc2d49e13f633c444c447187e1997e17d6c6b9604bef4bd1e8d92dee2ce
|
|
BLAKE2b-256 checksum How to use checksums |
7713ee7f088379f3ec2ed3c432169853f10f9e3cdd472c3f7070c5492df076c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.6
|
Security for ptrail 1.0
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.