Skip to main content

Guarding OSM from invalid or suspicious edits!

Project description

https://img.shields.io/pypi/v/gabbar.svg

EXPERIMENTAL: UNDER DEVELOPMENT

Guarding OSM from invalid or suspicious edits, Gabbar is an alpha package of a pre-trained binary problematic/not problematic classifier that was trained on manually labelled changesets from OpenStreetMap.

https://cloud.githubusercontent.com/assets/2899501/22643796/0a4a7878-ec86-11e6-9a97-fc63db1caab7.jpg

https://en.wikipedia.org/wiki/Gabbar_Singh_(character)

Install

pip install gabbar

Setup

# Setup a virtual environment with Python 3.
mkvirtualenv --python=$(which python3) gabbar_py3

# Install in locally editable (``-e``) mode.
pip install -e .[test]

# Install node dependencies.
npm install

Get a prediction

# Get a prediction for a changeset.
$ gabbar 47734592
{"prediction": "good", "timestamp": "2017-04-26 01:05:00.441977", "version": "0.2.4"}

Run tests

# Run tests.
npm run test

Performance

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

gabbar-0.4.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

gabbar-0.4-py2.py3-none-any.whl (180.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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