Skip to main content

A library for analyzing user mobility patterns

Project description

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())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mobipy-1.0.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

mobipy-1.0.0-py2-none-any.whl (9.0 kB view details)

Uploaded Python 2

File details

Details for the file mobipy-1.0.0.tar.gz.

File metadata

  • Download URL: mobipy-1.0.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mobipy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6da676994111332bd67ec4387d45138342ad0c4bc7d1519839e66140ab3a70f2
MD5 bdc61ce22da99d8365d3f36f7b7b3e93
BLAKE2b-256 dadc4fa41ec41c25a78ad65d3095188c4051c8b9a8ee7db8d12a683632fb04eb

See more details on using hashes here.

File details

Details for the file mobipy-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: mobipy-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for mobipy-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 667073ed4a897169393affa12753f04cab34d1d73254ab56e7e668bb92cc2b2b
MD5 7ee2001221c09bed6e75199a6bca5de9
BLAKE2b-256 86f537d560192a09a0c42a608d5fb6f0f7ed990a77099f7375b8c3b9aa209afc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page