mobipy is a Python 3 library for analyzing user movement patterns from geolocated data.
mobipy brings together metrics and functions frequently used to calculate user mobility patterns. It was developed with a focus on usability and compatibility with multiple data sets, facilitating the tasks of research and data analysis.
Mobipy is tested against Python 3.6 and 3.7.
Installation
Install using pip with:
pip install mobipy
Or, download a wheel or source archive from PyPI.
Available metrics
- Radius of gyration;
- Home detection;
- User displacement distance;
- Group by closeness;
- Activity centers;
Using mobipy metrics
dataIdentifier = Identifier("latitude", "longitude", "local_time", "start_time", "end_time", "item_id")
path = "data.csv"
dataframe = pd.read_csv(path)
result = metrics.radius_of_gyration(dataframe=dataframe, ##use keyword parameters
dataIdentifier=dataIdentifier,
selector= Selector())
Release files for mobipy 1.0.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 | |
|---|---|---|---|
| mobipy-1.0.0.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mobipy-1.0.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 15.4 kB
Release files / mobipy-1.0.0.tar.gz
| Download URL | mobipy-1.0.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6da676994111332bd67ec4387d45138342ad0c4bc7d1519839e66140ab3a70f2
|
|
BLAKE2b-256 checksum How to use checksums |
dadc4fa41ec41c25a78ad65d3095188c4051c8b9a8ee7db8d12a683632fb04eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16
|
Release files / mobipy-1.0.0-py2-none-any.whl
| Download URL | mobipy-1.0.0-py2-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
667073ed4a897169393affa12753f04cab34d1d73254ab56e7e668bb92cc2b2b
|
|
BLAKE2b-256 checksum How to use checksums |
86f537d560192a09a0c42a608d5fb6f0f7ed990a77099f7375b8c3b9aa209afc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16
|